<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19394"></HEAD>
<BODY>
<DIV><SPAN class=819265110-22022013><FONT size=2 face=Arial>Hello
vtkusers,</FONT></SPAN></DIV>
<DIV><SPAN class=819265110-22022013><FONT size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=819265110-22022013><FONT size=2 face=Arial>I am looking for
documentation on how I can access a polydata's float arrays from a shader
material.</FONT></SPAN></DIV>
<DIV><SPAN class=819265110-22022013><FONT size=2 face=Arial>Is there an example
that demonstrates this? </FONT></SPAN></DIV>
<DIV><SPAN class=819265110-22022013><FONT size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=819265110-22022013><FONT size=2 face=Arial>I did a test with a
polydata and points float array that I mapped the "normal" way as colours per
point. Then I changed to a material phong shader and wonder, how I can get the
colours from the array back (applicationuniforms ?). Now, I only see the
geometry with the specified "diffusecolor" of the property.</FONT></SPAN></DIV>
<DIV><SPAN class=819265110-22022013><FONT size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=819265110-22022013><FONT size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=819265110-22022013><FONT size=2 face=Arial>Thanks for any
hints,</FONT></SPAN></DIV>
<DIV><SPAN class=819265110-22022013><FONT size=2
face=Arial>Martin</FONT></SPAN></DIV></BODY></HTML>