Hi,
For a cylinder along the x axis, the equation is :
function { y*y + z*z - R }
Ok, but how to make an isosurface cylinder like povray cylinder from two
points?
I thought to :
- compute distance from p2 to p1.
- compute the two angles from p1 to p2
- make x axis isosurface cylinder
- rotate the isosurface of the two angles
- translate to p1
Do you see a simpler solution ?
---
kurtz le pirate
compagnie de la banquise
Post a reply to this message
|