Search found 19 matches

by raveneyex
Wed Oct 27, 2010 12:50 pm
Forum: Beginners Help
Topic: Importing image from Clipboard to Texture
Replies: 2
Views: 308

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!
:D
by raveneyex
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...
by raveneyex
Tue Oct 05, 2010 10:01 am
Forum: Beginners Help
Topic: Screenshot without background
Replies: 9
Views: 1350

Just for the sake of completion for this thread. I haven't managed to find a way to create the Screenshot without the background, so I turned it white wich is more "image-like" and suits my needs better. As for copying said screenshot to the clipboard, here's a link to the sources I used f...
by raveneyex
Thu Sep 30, 2010 1:56 pm
Forum: Off-topic
Topic: Funny programming pictures, jokes & quotes
Replies: 436
Views: 173154

aek wrote:COBOL is the greatest language in this world.
.NET and rest are just only funny toys in comparison with COBOL.
WTF? COBOL?
That's a kid's toy!!
Nothing like good assembler :D

Mmmm... hardware level programming :E
by raveneyex
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...
by raveneyex
Tue Sep 21, 2010 10:44 am
Forum: Beginners Help
Topic: Screenshot without background
Replies: 9
Views: 1350

YES!!! THANK YOU!!

You're the best!
It worked :D :D

As for the background I changed it to white and I think it better suits my needs for now...

THANKS AGAIN!!!!
by raveneyex
Tue Sep 21, 2010 10:28 am
Forum: Beginners Help
Topic: Screenshot without background
Replies: 9
Views: 1350

Hey greenya!

Thanks for your help, but I didn't quite understand what you told me.

You're telling me that I have to create one run of the render loop where I don't display the GUI and then take the screenshot?

Thanks :D
by raveneyex
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.

Image

Notice how the screenshot captures the buttons and all gui elements, plus the background?
Is there a way to ONLY GET the model?
by raveneyex
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...
by raveneyex
Tue Aug 24, 2010 1:18 pm
Forum: Advanced Help
Topic: set derived Window modal
Replies: 9
Views: 870

Yeah...

I found out what's wrong and just as I thought, it was a nasty programming error.
My bad :oops:

Anyway, thanks again!
:D
by raveneyex
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...
by raveneyex
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...
by raveneyex
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...
by raveneyex
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:...
by raveneyex
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