Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


how to create 3d picture from 2d picture by Opengl on delphi

This topic is 6266 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

i have a 2d picture on image control in form1 then, i would like to draw 3d picture on form2. i don''t know how to transform viewport from 2d picture on form1 to form2. In form2, i use opengl to plot 3d. viewport boundary not equal. boundary of 2d picture is image control bondary. how can i do? please help me. thanks you.

Share this post

Link to post
Share on other sites
Can you repost your question... it''s not written very clearly. I''ll try to guess what you were trying to say though:

The fact that you''re doing it in Delphi is irrelevant. The technique will still be the same.

Are you trying to take a 2D image, like a photo or a renderd image, and extrapolate the 3D data from it?
This is /very/ difficult. Almost impossible, basically.

What you need to do is download Mike Lischke''s OpenGL 1.2 headers. They have functions and demos for how to render to a form.

Apart from that... can you post again clearly saying what you''re trying to do?

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!