Thanks Bate!
However, I already have access to the clipboard and the data formatted (it's a CF_DIB)
What I need to know it's what you're saying about copying the data to the texture using lock()/unlock()
Have any example or could point me out to one?
Thank you!
Search found 19 matches
- Wed Oct 27, 2010 12:50 pm
- Forum: Beginners Help
- Topic: Importing image from Clipboard to Texture
- Replies: 2
- Views: 308
- Fri Oct 22, 2010 1:24 pm
- Forum: Beginners Help
- Topic: Importing image from Clipboard to Texture
- Replies: 2
- Views: 308
Importing image from Clipboard to Texture
Hey Everyone! How are the projects going? Straight to the point: I have certain data in memory and formatted as a Device Independent Bitmap (DIB), specifically said data is on the clipboard memory. What I need to achieve is a way to use that data as a texture and apply it to a previosly displayed sc...
- Tue Oct 05, 2010 10:01 am
- Forum: Beginners Help
- Topic: Screenshot without background
- Replies: 9
- Views: 1350
- Thu Sep 30, 2010 1:56 pm
- Forum: Off-topic
- Topic: Funny programming pictures, jokes & quotes
- Replies: 436
- Views: 173154
- Tue Sep 21, 2010 11:02 am
- Forum: Beginners Help
- Topic: Screenshot without background
- Replies: 9
- Views: 1350
@Hybrid Actually I was looking for that method (renderTargetToTexture) since I've seen some people mencioning it on the forum, but couldn't find a code snippet where it shows usage, and I've tried and failed epicly by my own. However, I do need the image outside Irrlicht in two ways: 1. An image fil...
- Tue Sep 21, 2010 10:44 am
- Forum: Beginners Help
- Topic: Screenshot without background
- Replies: 9
- Views: 1350
- Tue Sep 21, 2010 10:28 am
- Forum: Beginners Help
- Topic: Screenshot without background
- Replies: 9
- Views: 1350
- Tue Sep 21, 2010 9:11 am
- Forum: Beginners Help
- Topic: Screenshot without background
- Replies: 9
- Views: 1350
Screenshot without background or GUI
Here's the screenshot produced by the createScreenShot method on the IVideoDriver.
Notice how the screenshot captures the buttons and all gui elements, plus the background?
Is there a way to ONLY GET the model?
Notice how the screenshot captures the buttons and all gui elements, plus the background?
Is there a way to ONLY GET the model?
- Tue Sep 21, 2010 9:05 am
- Forum: Beginners Help
- Topic: Screenshot without background
- Replies: 9
- Views: 1350
Screenshot without background
Hey Everyone! I have a big question regardings screenshots and I can't seem to be able to find any related post in here (if there is one, then by all means please point it to me). The situation that I have is the next: I have a rendered scene on screen (just a bunch of models loaded onto a parent mo...
- Tue Aug 24, 2010 1:18 pm
- Forum: Advanced Help
- Topic: set derived Window modal
- Replies: 9
- Views: 870
- Tue Aug 24, 2010 12:27 pm
- Forum: Advanced Help
- Topic: set derived Window modal
- Replies: 9
- Views: 870
Ok, I'm gonna try explaining myself (story of my life :P) I have an event receiver that I use to handle ALL gui events, that's the one I set to the Device. My derived gui elements have as a parent the rootGuiElement so the eventreceiver can get all of those inputs. If, by making the derived gui moda...
- Tue Aug 24, 2010 9:07 am
- Forum: Advanced Help
- Topic: set derived Window modal
- Replies: 9
- Views: 870
Worked, but...
Hey Cute Alien, thanks for answering so fast :D Anyway, I did what you said and it worked perfectly!!! The elements now behave like modal windows, but now I have another problem: I was handling the events of those GUI elements in another gui element that I used to set as parent, but now that the par...
- Mon Aug 23, 2010 3:25 pm
- Forum: Advanced Help
- Topic: set derived Window modal
- Replies: 9
- Views: 870
Derived Modal GUI Element
Hey everyone! I don't want to create another thread for the same problem so I'm posting in here: Can somebody explain to me how to make my derived GUI element modal? I've been reading through the source and I can't seem to find a method or anythin; I also saw that Niko said that it's just a matter o...
- Thu Jul 29, 2010 10:41 am
- Forum: Code Snippets
- Topic: Scale node to desired Size
- Replies: 1
- Views: 2388
Scale Node
Hey everyone, This is a revised version of my last code to scale a Node. On the previous code, the scaled node won't keep the proportions and thus would look like crap! So, here's a new version that DOES keeps the proportions of the mesh. void scaleNode(scene::ISceneNode* mesh, f32 desiredX) { core:...
- Thu Jul 22, 2010 9:08 am
- Forum: Code Snippets
- Topic: GuiPictureFlow for Irr (Update)
- Replies: 11
- Views: 3903
Amazing!
Hey man, Amazing stuff! I have a question for you: void ask_for_code() { if (code==updated_version) std::cout<<"Thanks dude!!"<<std::endl; else { std::cout<<"Can you post the updated version? \n it would be of much help to me! \n Thanks!!"<<std::endl; } } Hahahaha :D