|
-
April 7th, 2004, 11:35 AM
#1
How can i put my image to a cylinder?
I just do sth like panorama,
now I want to paste it to a cylinder so it would be more third dimensional feel,
How can I achieve this in vc?
did I need to learn the complex openGL?
-
April 8th, 2004, 08:33 AM
#2
Use gluCylinder() to draw the cylinder, then apply the picture as a texture. If you want a full cylinder use gluDisk() to draw the disks on the ends.
http://cgm.cs.mcgill.ca/~msuder/cour.../tutorial.html
That link should be a good starting point...
-
April 8th, 2004, 08:44 AM
#3
thanks, buddy~
I will check it and do sth for a test~
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|