Alan Commike (commike@huh)
Fri, 1 Oct 1999 11:28:02 -0700 (PDT)
This is analogous to OpenGL, where the graphics language allows you to
describe any 3D object as long as you are able to decompose that
object into triangles.
In both cases, one difficulty is coming up with the geometric
representation using only the underlying primitives. So some simple
pseudo code would be:
generated a TetraSet that describes the geometry
polygonize the tetras ( voGeometryActions::polygonize() )
render as usual as defined in the example code
Take a look at some computational geometry books to help you decide
on how to generate your representations.
...alan
Riccardo Grassi - Gandolfo Luca writes:
> hi,
> I read the paragraph of the Programming Guide titled "Arbitraly Shaped
> Volumes of Interest" . I want render a Volume minus a cone (or a
> cylinder). How can I do it ? Can someone send me a pseudo code ?
>
> Gandolfo Luca
>
-- Alan Commike commike@sgi.com / 650.933.1637
This archive was generated by hypermail 2.0b2 on Mon Oct 04 1999 - 15:16:55 PDT