Results 1 to 4 of 4

Thread: Rendering to Form or Panel

  1. #1

    Rendering to Form or Panel

    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

  2. #2

    Rendering to Form or Panel

    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

  3. #3

    Rendering to Form or Panel

    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

  4. #4

    Rendering to Form or Panel

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •