Sign in to follow this  

Drawing a cylinder using Directx 8 and VB6

This topic is 3931 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 want to draw a cylinder at origin. I know the radius and height of the cylinder. Is there any function in directx to draw the cylinder directly or should I create the triangles for the cylinder for rendering the cylinder?

Share this post


Link to post
Share on other sites
In DX9, you can use the D3DXCreateCylinder function. It's likely to be present in DX8 as well.

On that note, why on earth are you using technology that was released a decade ago and obsoleted almost 4 years ago? There's no reason whatsoever to use either VB6 or DX8 in this day and age.

Share this post


Link to post
Share on other sites

This topic is 3931 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this