Jump to content
  • Advertisement
Sign in to follow this  
sunrisefe

how to put polygon onto cylinder?

This topic is 3302 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 create one tree with main trunk and two-level branch realtime, every branch of the tree is drawed with cylinder. NOw I want to put leaves on to the branch, leaf is denoted by two triangle(four-side polygon). Will you give me some suggestin how to put four-side polygon onto 2-level branch? My sketch tree is as follows:

Share this post


Link to post
Share on other sites
Advertisement
"You looked at using Cylinder coordinates?"

I draw tree's branch with D3DXCreateCylinder and the upper radius is different with the lower radius. Now I want to use four-side polygon to denote leaf, but I dont know how to put polygon onto the cylinder. Any advice is greatly appreaciated.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!