[vtkusers] Texture mapping a GeoTransformed object

Aashish Chaudhary aashish.chaudhary at kitware.com
Fri May 12 11:42:58 EDT 2017


you can use gdalwrap to reproject your image for the target transformation:

http://www.gdal.org/gdalwarp.html

As for texture coordinate generation, you can do that prior to geotransform
but you will also need to reproject your image.

- aashish

On Fri, May 12, 2017 at 11:11 AM zmurphy <zmurphy1125 at gmail.com> wrote:

> I've created a dataset which I've then run through a GeoTransform and
> TransformFilter to get it into the map projection that I need. How can I do
> the same to a texture so that it too has the projection? I've tried using
> both TextureMapToSphere and TextureMapToPlane, but either I did not use
> them
> correctly or they didn't do what I thought they would.
>
>
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/Texture-mapping-a-GeoTransformed-object-tp5743201.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170512/a96791d1/attachment.html>


More information about the vtkusers mailing list