[vtkusers] Enabling / Disabling Texture (Probably easy!)

Malcolm Drummond malcolm at geovision.co.za
Thu Jan 30 11:03:10 EST 2003


Enabling / Disabling Texture (Probably easy!)Hi Erik

Try Setting the Texture to NULL. I've been doing the following under Tcl and it works OK ...

Actor SetTexture ""

Malcolm
  ----- Original Message ----- 
  From: Karlsson Erik 
  To: 'vtkusers at public.kitware.com' 
  Sent: Thursday, January 30, 2003 2:29 PM
  Subject: [vtkusers] Enabling / Disabling Texture (Probably easy!)


  Hi vtk users! 
  I have a short question about textures. At the time I have a triangle mesh with a texture and everything works fine. 
  The thing is that I want to be able to disable and enable the texture from my GUI. Is there any way to do this? I Couldn't seem to find any suitable functions in either vtkTexture or vtkActor. Am I looking at the wrong place?

  Any suggestions would be highly appreciated! 

  Regards, 
  Erik Karlsson 
  ###########################################

  This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
  For more information, connect to http://www.F-Secure.com/ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20030130/589f334d/attachment.htm>


More information about the vtkusers mailing list