it will only affect the 'radius' measured along an axis perpendicular to the rotation axis..to calculate those values you can just take two points, one on each opposited edge of the circle, calculate where they are in 3d space then project them onto your viewing plane..

but are you also concerned about perspective?

are you trying to draw a circle rotating in 3d space without going into 3d transformations?

or something else?

martin


I am trying to calculate the max radius a circle can be and have it
still fit in a bounding box.

The difficult part of the question is that the circle is really a 3D
object ie it can be rotate about the x or y axis.

Ie imagine  a plain circle drawn on the screen, now imagine your could
"push" the top of it down till its was edge on, then the max radius
would be half the width of the box. If pushed in on the left till it was
edge on it woulde be half the height of the box.

But how about all the other angles in between.

So you have width/height of box, and x rotation and a y rotation, so
what is the max radius..

Thanks
Rob


_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


--
want to know what i think? probably not

http://relivethefuture.com/choronzon
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to