[vtkusers] vtkTexturedSphereSource / Origin point
Bill Lorensen
bill.lorensen at gmail.com
Mon May 14 11:01:20 EDT 2012
You can use the filter:
// .NAME vtkTransformTextureCoords - transform (scale, rotate,
translate) texture coordinates
// .SECTION Description
// vtkTransformTextureCoords is a filter that operates on texture
// coordinates. It ingests any type of dataset, and outputs a dataset of the
// same type. The filter lets you scale, translate, and rotate texture
// coordinates. For example, by using the the Scale ivar, you can shift
// texture coordinates that range from (0->1) to range from (0->10) (useful
// for repeated patterns).
//
On Mon, May 14, 2012 at 10:01 AM, Joey Mukherjee <joeymu at gmail.com> wrote:
> Hello all,
>
> I use the vtkTexturedSphereSource to wrap a picture of the Earth
> around a sphere and that works great.
>
> However, if I want to translate the origin from longitude 0 to say
> starting 60 degrees E, how could I do that and still have it wrap
> correctly?
>
> Thank you,
> Joey
> _______________________________________________
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
--
Unpaid intern in BillsBasement at noware dot com
More information about the vtkusers
mailing list