Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


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


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
4 replies to this topic

#1 nipon   Members   -  Reputation: 122

Like
Likes
Like

Posted 10 September 2001 - 03:34 AM

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.

Sponsor:

#2 Pav3   Members   -  Reputation: 122

Like
Likes
Like

Posted 10 September 2001 - 11:35 PM

what exactly do u mean 3d picture? a 3d bitmap? what?

#3 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

Likes

Posted 11 September 2001 - 06:44 PM

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



#4 nipon   Members   -  Reputation: 122

Like
Likes
Like

Posted 11 September 2001 - 06:44 PM

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



#5 Pav3   Members   -  Reputation: 122

Like
Likes
Like

Posted 17 September 2001 - 09:31 AM

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




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS