|
|
Hi,
if I want to distribute railing posts around the edge of a regular
CYLINDER (scale 1.0) it is easy: I would use something like
object
{
RailingPost
translate < MyCylinderRadius, 0.0, 0.0 >
rotate < 0.0, MyAngle, 0.0 >
}
But what would be the formula for distribution, if the cylinder has been
scaled unevenly, like this:
cylinder { < 0.0, 0.0, 0.0 > < 0.0, 1.0, 0.0 > scale < 0.5, 1.0, 1.0 > }
I need two algorithms:
- one for placing each post by myself
- one to place all posts with a WHILE loop
Thanks a lot.
---
Diese E-Mail wurde von AVG auf Viren geprüft.
http://www.avg.com
Post a reply to this message
|
|