[vtkusers] Texture Mapping to a Cone

vidyadhar vidyadhar at lucidindia.net
Wed Sep 28 01:17:25 EDT 2005


Hi,
How about using vtkTextureMapToPlane class. The plane could be centered at
tip of cone and parallel to the base of cone or normal to axis of cone.
HTH
Vidyadhar
----- Original Message -----
From: "Mischa Thesberg" <mejthesb at swri.ca>
To: <vtkusers at vtk.org>
Sent: Wednesday, September 28, 2005 12:02 AM
Subject: [vtkusers] Texture Mapping to a Cone


> I am wondering what is the best way to map a texture to a cone?  Let's
> say the texture is a series of concentric circle based around the origin
> at the center of the jpg that I want to form the texture.  what
> classes/code/tricks should I use to map said jpg onto a cone so that the
> origin is at the tip of the cone and the rest is mapped to the cone with
> little to no overlap (I don't care what the bottom of the cone looks
> like).  Thank you for any help you can give me.
>
>




More information about the vtkusers mailing list