• Advertisement
Sign in to follow this  

Drawing a cylinder using Directx 8 and VB6

This topic is 4008 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
Advertisement
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
Thanks for the information. I wish there was no reason. But i guess the clients think they gotta reason to use vb6 & DX8. I couldnt find out if D3DXCreateCylinder is available in DX8.

Share this post


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

  • Advertisement