Jump to content
  • Advertisement

Archived

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

nipon

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

This topic is 6214 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
Advertisement
Guest Anonymous Poster
Suppose that

i have square picture in image control on form1

i would like to show this picture on form2

in form2 , i use opengl to show this picture in 3d
i may define z value for this picture such as z=1 for this picture

Share this post


Link to post
Share on other sites
Suppose that

i have square picture in image control on form1

i would like to show this picture on form2

in form2 , i use opengl to show this picture in 3d
i may define z value for this picture such as z=1 for this picture

Share this post


Link to post
Share on other sites
very easy..i do not know how to use the opengl functions in VB, but make a quad, load a texture, bind the texture, use the texture on the quad...(use the image data that in form1 for the texture)
should work

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!