[vtkusers] Need point position on texture

John Biddiscombe jbiddiscombe at skippingmouse.co.uk
Mon May 17 06:49:25 EDT 2004


Why not pass the points through TextureMapToPlane? Points->Plane
definition->Tex coords output.

JB

----- Original Message ----- 
From: "de Boer Ingo" <I.deBoer at polytec.de>
To: <vtkusers at vtk.org>
Sent: Monday, May 17, 2004 9:42 AM
Subject: [vtkusers] Need point position on texture


Hi,

I have written some piece of code to draw lines on
a texture which works good (see picture).
Okay, actually I am not drawing ON the texture, I draw
IN FRONT OF the texture.
But the problem is, that I need the texture coordinates of
the points.
I can switch between world and display coordinates but how
to I get the corresponding point of/in the texture ?

Any hints are welcome...

greets
  Ingo

---
Dr.-Ing. Ingo H. de Boer

Polytec GmbH
Polytec-Platz 1-7, 76337 Waldbronn, Germany
phone: ++49 7243 604 106
fax  : ++49 7243 604 255





More information about the vtkusers mailing list