[vtkusers] Per triangle texturing. Please help!!

Godofredo godofredoiii at gmail.com
Mon Sep 3 07:28:27 EDT 2007


Sorry for replying myself but I'm frustrated. Another question I have: Is it
possible to change Polydata point values in a vtkTextureMapToPlane? I've
tried doing:
 vtkTextureMapToPlane *planeMap = vtkTextureMapToPlane::New();
planeMap->GetPolyDataOutput()->SetPoints(vPoints);
Where vPoints is the new array of point values.

But this doesn't seem to work at all.


Godofredo wrote:
> 
> Hi. I'm trying to add texture to a region of a 3d polydata. The texture is
> a .jpeg file and the polydata is a triangulated point cloud. I would like
> to know if it's possible to manually assign a region of the .jpeg image to
> each triangle. I don't know if this can be done with the tcoords field.
> Any guidance will be apreciated as I'm a bit stuck. Many thanks in
> andvance
> 

-- 
View this message in context: http://www.nabble.com/Per-triangle-texturing.-Please-help%21%21-tf4371233.html#a12460175
Sent from the VTK - Users mailing list archive at Nabble.com.




More information about the vtkusers mailing list