[vtkusers] Texture Mapping to a Cone source
Hareem Nisar
hareem.nisar94 at gmail.com
Mon Aug 13 14:04:48 EDT 2018
Hello,
I have:
- A cone source (3D object)
- A square image with concentric circles drawn on it (texture)
How can I texture map the image to the cone source? given that the center
of the image (also the center of all concentric circles) should be mapped
to the apex of the cone.
Just as an example: image/texture looks like this
<http://www.artnet.com/WebServices/images/ll622111llgyNkCfDrCWvaHBOAD/peter-kalkhof-colour-concentric-circles.jpg>
and cone source object like this.
<http://www.bu.edu/tech/files/images/cone.jpg>
P.S. I am new to VTK. I have tried TextureMapToPlane and TextureMapToSphere.
Thank you
--
Regards,
Hareem
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20180813/73b05997/attachment.html>
More information about the vtkusers
mailing list