<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi David</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I was just about to post this ...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>To do what you want using existing vtkGlyph3D I 
think you'll have to create dummy vectors from one of your arrays - there is no 
provision at the moment to scale and color from different scalar arrays (I'd be 
happy to be proved wrong). The other easy alternative is to use 
vtkProgrammableGlyphFilter (have a look first at progGlyphs.tcl and 
progGlyphsBySource.tcl in graphics/tests/tcl and at the source code of 
vtkGlyph3D to see how glyphing is implemented).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>HTH</FONT></DIV>
<DIV><FONT face=Arial size=2>Malcolm</FONT></DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=davidmichell@rediffmail.com 
  href="mailto:davidmichell@rediffmail.com">david michell</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=malcolm@geovision.co.za 
  href="mailto:malcolm@geovision.co.za">malcolm@geovision.co.za</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, February 25, 2004 5:43 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Please help me out on this 
  one</DIV>
  <DIV><BR></DIV>
  <P>Sir,<BR>I was looking through the archives for some help on Glyph3D and I 
  came across your message.<BR>I have an unstructuredgrid of points, and I want 
  to represent each point as a glyph(sphere).<BR>I have to arrays associated 
  with the points, I want to use one array to scale the glyph and the other 
  array to colour the glyph.<BR>How do I do that?<BR>Please help me 
  out.<BR>Thanking you,<BR>David Michell <BR><BR><BR><BR></P><BR><BR><A 
  href="http://clients.rediff.com/signature/track_sig.asp" target=_blank><IMG 
  height=74 hspace=0 
  src="http://ads.rediff.com/RealMedia/ads/adstream_nx.cgi/www.rediffmail.com/inbox.htm@Bottom" 
  width=496 border=0></A> </BLOCKQUOTE></BODY></HTML>