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.
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