Original Post
🔒 Locked
Draw A Circle?
Advertisement
I don''t mean to be pedantic but do you mean a circle or a sphere? Either way, if you want to manipulate it and do different things with it (transformations and texturing etc.) you would probably have to calculate all the vertices.
If it''s just for show you could probably get away with a bitmap?
It all depends on what you are doing with it.
If it''s just for show you could probably get away with a bitmap?
It all depends on what you are doing with it.
if you can, use a texture. if you wanted a sphere D3DXCreateSphere, if you want a circle, just make a trinagle fan with the origin at the center and the rest of the vertices:
That is a unit circle of course. You need to apply any necessary transforms.
Edited by - invective on November 15, 2001 7:10:23 AM
|
That is a unit circle of course. You need to apply any necessary transforms.
Edited by - invective on November 15, 2001 7:10:23 AM
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement