3D Arcs?
Hi,
Can anyone help me with drawing a 3D arc (a bent cylinder)?
Is there a library providing such function?
Thanks!
Why no try extruding a cricle along a 2D curve? You store all the points in the curve in an array and center a circle around each point joining up the poinst to make polygons (quads would be easiest).
Is this reliable?
I mean, that is a huge number of polygons just to draw one arc.
what do you think?
Thanks
I mean, that is a huge number of polygons just to draw one arc.
what do you think?
Thanks
hmm.. i have code for a dome that could be modified to function as an arc. ill work on it, then post the code lol
quote:Original post by FreakyMisfit
A 3d curved surface, a 3d line is actually a cylinder!
A line can move though a 3d area, I was wondering if you were looking a line that curves though 3d space.
As for a curved surface it''s not too hard to create a function that will draw it, where params can be size, detail(how many segments make up the surface), etc.
oh, so ur talking about an arc, i was thinging something else.
the dome code wouldnt be as easy to modify as i thought then...
my suggestion would be to go to math.com and look up sin and cos. these will be very valuable to u and everyone must know how to use them. it would be better if u try to ficure out those, becuase with them, u can just create a loop for ur vertex arrays lol... im still modifying the dome code though lol
the dome code wouldnt be as easy to modify as i thought then...
my suggestion would be to go to math.com and look up sin and cos. these will be very valuable to u and everyone must know how to use them. it would be better if u try to ficure out those, becuase with them, u can just create a loop for ur vertex arrays lol... im still modifying the dome code though lol
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement