[vtkusers] Texture Mapping--Helppppppppppp

Aashish Chaudhary aashish.chaudhary at kitware.com
Thu Jan 6 10:17:23 EST 2011


quickly looking..

I am not sure if this is correct:

tuple[0] =0.0;tuple[1] = (float)y/dims[1]; tuple[2] =(float)x/dims[0];

it should have been

tuple[0] =(float)x/dims[0];
tuple[2] =0.0

Unless I miss something (I didn't read the entire thread).


On Thu, Jan 6, 2011 at 9:23 AM, Rachel <aracha2010 at gmail.com> wrote:
>
> does any one see where is the mistake ?
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/Texture-Mapping-tp3327802p3330459.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
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>



-- 
| Aashish Chaudhary
| R&D Engineer
| Kitware Inc.
| www.kitware.com



More information about the vtkusers mailing list