how to create 3d picture from 2d picture by Opengl on delphi
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.
Um
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?
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?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement