mimicing 3d cylinders help
Posted: Mon Nov 13, 2006 10:49 pm
I was attempting to mimic 3d cylinders. I had a rectangle shape set to face camera. Above it and below it were circles (one made to look like a top and another to be the bottom of the cylinder) rotated to 90 degrees so that at any angle it looked like a cylinder.
This effect is pretty cool except when your camera goes below the object. Instead of the rectangle shape hiding the top face the top face shows and looks like some bizarro Picasso perspective.
I was playing around with masks but then realized the masks would have to be "smart" to know when the cylinder top was above or below camera/eye level to hide it.
Anybody got any ideas how to achieve this?
This effect is pretty cool except when your camera goes below the object. Instead of the rectangle shape hiding the top face the top face shows and looks like some bizarro Picasso perspective.
I was playing around with masks but then realized the masks would have to be "smart" to know when the cylinder top was above or below camera/eye level to hide it.
Anybody got any ideas how to achieve this?