Hi
Can you tell me how to render OpenGL scene to form or panel (ot any VCL component). Some code will be helpfull
Thank you
Hi
Can you tell me how to render OpenGL scene to form or panel (ot any VCL component). Some code will be helpfull
Thank you
http://www.kaldata.net
You might want to have a look at CGLib over at Delphi3D. I've not used it myself, but I think it should do the job. There's an example OpenGL thing that renders to a TPanel over here - the Galaxy Generator program. You also need some texture unit from Sulaco IIRC.
"All paid jobs absorb and degrade the mind."
<br />-- Aristotle
I asked the same question a long time ago before I started to learn OpenGL and after I saw Jan Horns demo's over at sulaco. I asked him how to do things like that and he send me a very nice demo. I'll upload the demo to my website and post the link here (I'll have to use a script otherwise Tripod doesn't allow you to download from my website!).
http://members.lycos.co.uk/lionprod/...s%20VCL%20Demo
More information on Jan Horns tutorials can be found on:
http://www.sulaco.co.za/
Do it by the book, but be the author!
<br />
<br />Visit the Lion Productions website at:
<br />http://lionprod.f2o.org
Even if we are a german opengl community... have a look at our site, take in the menu "filez" and then the "templates". You will find a VCL template for OpenGL 1.2 . If any problems encounters, feel free to ask here or email me.
Ceyas
Delphi & OpenGL? A contradiction? Not at all...
<br />www.delphigl.com - German OpenGL Community
Bookmarks