The second link behaves awkward . If I set the following combination<br>unsigned char r[3] = {1,255,1};<br> unsigned char g[3] = {1,255,1};<br> unsigned char b[3] = {1,1,255};<br> colors->InsertNextTupleValue(r);<br>
colors->InsertNextTupleValue(g);<br> colors->InsertNextTupleValue(b);<br><br>This will work properly . <br><br>Any time I put a value other than 1 in r[0], g[0] and b[0] I get wrong results. ie a 0 will make the cube not visible . A higher value makes only one cube .. Maybe a bug in implementation? <br>
<br>I even tried rgba instead of rgb .. No luck <br><br><div class="gmail_quote">On Mon, Feb 22, 2010 at 5:18 PM, David Doria <span dir="ltr"><<a href="mailto:daviddoria%2Bvtk@gmail.com">daviddoria+vtk@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="gmail_quote">Here is an example of scaling glyphs:</div><div class="gmail_quote">
<a href="http://www.vtk.org/Wiki/VTK/Examples/Visualization/ScaleGlyphs" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Visualization/ScaleGlyphs</a></div>
<div class="gmail_quote"><br></div><div class="gmail_quote">Here is an example of coloring glyphs - it currently only displays one cube, so something is wrong:</div><div class="gmail_quote"><a href="http://www.vtk.org/Wiki/VTK/Examples/Visualization/ColorGlyphs" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Visualization/ColorGlyphs</a></div>
<div class="gmail_quote"><br clear="all">Thanks,<br><font color="#888888"><br>David</font></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br>