[vtkusers] Sphere sections/zones?

Andrea Gavana andrea.gavana at gmail.com
Mon Apr 21 11:43:06 EDT 2008


Hi All,

    I am working on a project in which I'd like to represent a sphere
with 3 different colours. More precisely, let's suppose that I have
these values:

green = 40
red = 35
blue = 25

What I would like to do, is to create 3 sphere "sections" (or zones or
lunes, I am not sure about the exact wording in english) in a single
sphere, in which the top section (40% of the volume) will be coloured
in green, the central section (35% of the volume) coloured in red and
the bottom section (25% of the volume) in blue.
I have searched back and forth on the net, but either my google-fu is
particularly bad or I am not able to correctly formulate my question
in few words. Is there anything I could try with VTK in order to
achieve what I am looking for?

Thank you very much for your suggestions.

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/



More information about the vtkusers mailing list