<!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.2900.2627" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face="Courier New" size=2>re : OpenGlPolyDataPointSpriteMapper 
</FONT></DIV>
<DIV><FONT face="Courier New" size=2>There have been lots of changes in cvs over 
the last month or so and the tarball may not compile with the current head (but 
it should). The GLEW code which handles open gl extensions can now be replaced 
by the opengl extension manager stuff that has gone in. This'll make the code 
easier to maintain. I'm waiting for a publically accessible cvs server to be set 
up here and then I'll keep the code sync'ed with the vtk cvs head.</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New" size=2>you should be able to update vtk from cvs, 
go to </FONT><A href="http://www.vtk.org"><FONT face="Courier New" 
size=2>www.vtk.org</FONT></A><FONT face="Courier New" size=2> and follow 
instructions, then the vtkopengl.h file ought to be there. I'm up to my ears 
preparing for our Open day on May 7th. If you can wait until after then I'll 
sort out a new tarball and get everything synchronized with cvs 
again.</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New" size=2>It should work though. One caveat. For 
Molecule visualization, I need to add a new array for size sorting of spheres. 
you can't do a glPointsize inside a glBegin/glEnd block so I need to sort 
spheres by size and then loop over them. However, I have a better plan to create 
a new Mapper using programmable GPU stuff anyway which'll make this sort of 
thing much easier.</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New" size=2>ttfn</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New" size=2>JB</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New" size=2>-- <BR>John 
Biddiscombe,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
email:biddisco @ cscs.ch<BR></FONT><A 
href="http://www.cscs.ch/about/BJohn.php"><FONT face="Courier New" 
size=2>http://www.cscs.ch/about/BJohn.php</FONT></A><BR><FONT face="Courier New" 
size=2>CSCS, Swiss National Supercomputing Centre&nbsp; | Tel:&nbsp; +41 (91) 
610.82.07<BR>Via Cantonale, 6928 Manno, 
Switzerland&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | Fax:&nbsp; +41 (91) 
610.82.82</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New" size=2></FONT><FONT face="Courier New" 
size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New" size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New" size=2>----- Original Message ----- </FONT>
<DIV><FONT face="Courier New" size=2>From: "Julien Alizier (free.fr)" 
&lt;</FONT><A href="mailto:julien.alizier@free.fr"><FONT face="Courier New" 
size=2>julien.alizier@free.fr</FONT></A><FONT face="Courier New" 
size=2>&gt;</FONT></DIV>
<DIV><FONT face="Courier New" size=2>To: "PETROV Alexey" &lt;</FONT><A 
href="mailto:alexey.petrov@opencascade.com"><FONT face="Courier New" 
size=2>alexey.petrov@opencascade.com</FONT></A><FONT face="Courier New" 
size=2>&gt;</FONT></DIV>
<DIV><FONT face="Courier New" size=2>Cc: &lt;</FONT><A 
href="mailto:vtkusers@vtk.org"><FONT face="Courier New" 
size=2>vtkusers@vtk.org</FONT></A><FONT face="Courier New" 
size=2>&gt;</FONT></DIV>
<DIV><FONT face="Courier New" size=2>Sent: Thursday, April 28, 2005 1:29 
PM</FONT></DIV>
<DIV><FONT face="Courier New" size=2>Subject: Re: [vtkusers] Molecule 
structure</FONT></DIV></DIV>
<DIV><FONT face="Courier New"><BR><FONT size=2></FONT></FONT></DIV><FONT 
face="Courier New" size=2>&gt; replying to myself...<BR>&gt; <BR>&gt; Just 
googled and I saw the file vtkOpenGL.h is present in viewcvs :<BR>&gt; </FONT><A 
href="http://vtk.org/cgi-bin/viewcvs.cgi/Rendering/"><FONT face="Courier New" 
size=2>http://vtk.org/cgi-bin/viewcvs.cgi/Rendering/</FONT></A><BR><FONT 
face="Courier New" size=2>&gt; <BR>&gt; but I can't access the server.<BR>&gt; 
<BR>&gt; -- Julien<BR>&gt; <BR>&gt; <BR>&gt; ----- Original Message ----- 
<BR>&gt; From: "PETROV Alexey" &lt;</FONT><A 
href="mailto:alexey.petrov@opencascade.com"><FONT face="Courier New" 
size=2>alexey.petrov@opencascade.com</FONT></A><FONT face="Courier New" 
size=2>&gt;<BR>&gt; To: "Julien Alizier (free.fr)" &lt;</FONT><A 
href="mailto:julien.alizier@free.fr"><FONT face="Courier New" 
size=2>julien.alizier@free.fr</FONT></A><FONT face="Courier New" 
size=2>&gt;<BR>&gt; Sent: Thursday, April 28, 2005 12:42 PM<BR>&gt; Subject: Re: 
[vtkusers] Molecule structure<BR>&gt; <BR>&gt; <BR>&gt;&gt; Hello 
Julien,<BR>&gt;&gt;<BR>&gt;&gt; Julien Alizier (free.fr) 
wrote:<BR>&gt;&gt;<BR>&gt;&gt;&gt; Hi José,<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt; You 
may improve rendering speed using tricks in OpenGL.<BR>&gt;&gt;&gt; The 
extensions GL_ARB_POINT_SPRITE and GL_NV_POINT_SPRITE may be very 
<BR>&gt;&gt;&gt; efficient.<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt; See this previous 
post :<BR>&gt;&gt;&gt; </FONT><A 
href="http://public.kitware.com/pipermail/vtkusers/2005-March/079009.html"><FONT 
face="Courier New" 
size=2>http://public.kitware.com/pipermail/vtkusers/2005-March/079009.html</FONT></A><BR><FONT 
face="Courier New" size=2>&gt;&gt;<BR>&gt;&gt; Your proposition is 
wonderful.<BR>&gt;&gt; However I can not check it.<BR>&gt;&gt; There is follow 
compiler error:<BR>&gt;&gt;<BR>&gt;&gt; Compiling...<BR>&gt;&gt; 
vtkOpenGLPolyDataPointSpriteMapper.cpp<BR>&gt;&gt; 
D:\apo\CSCS\CSCSCommon\vtkCSCSBase\vtkOpenGLPolyDataPointSpriteMapper.h(28) 
<BR>&gt;&gt; : fatal error C1083: Cannot open include file: 'vtkOpenGL.h': No 
such file <BR>&gt;&gt; or directory<BR>&gt;&gt; Error executing 
cl.exe.<BR>&gt;&gt;<BR>&gt;&gt; Could you check the 
problem?<BR>&gt;&gt;<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt; and this document 
:<BR>&gt;&gt;&gt; </FONT><A 
href="http://www.irisa.fr/orap/Forums/Forum17/Jean.Favre.ORAP.pdf"><FONT 
face="Courier New" 
size=2>http://www.irisa.fr/orap/Forums/Forum17/Jean.Favre.ORAP.pdf</FONT></A><BR><FONT 
face="Courier New" size=2>&gt;&gt;&gt;<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt; 
HTH<BR>&gt;&gt;&gt; -- 
Julien<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt; ----- 
Original Message ----- From: "Paul Cochrane" <BR>&gt;&gt;&gt; &lt;</FONT><A 
href="mailto:cochrane@esscc.uq.edu.au"><FONT face="Courier New" 
size=2>cochrane@esscc.uq.edu.au</FONT></A><FONT face="Courier New" 
size=2>&gt;<BR>&gt;&gt;&gt; To: "José Alonso Romero Matías" &lt;</FONT><A 
href="mailto:jarommat@gmail.com"><FONT face="Courier New" 
size=2>jarommat@gmail.com</FONT></A><FONT face="Courier New" 
size=2>&gt;<BR>&gt;&gt;&gt; Cc: &lt;</FONT><A 
href="mailto:vtkusers@vtk.org"><FONT face="Courier New" 
size=2>vtkusers@vtk.org</FONT></A><FONT face="Courier New" 
size=2>&gt;<BR>&gt;&gt;&gt; Sent: Thursday, April 28, 2005 6:30 
AM<BR>&gt;&gt;&gt; Subject: Re: [vtkusers] Molecule 
structure<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt; 
Jose,<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt; I've had similar problems with 
viewing 300,000 spheres in space.&nbsp; The<BR>&gt;&gt;&gt;&gt; solution to the 
speed of the rendering was to use a vtkStripper filter <BR>&gt;&gt;&gt;&gt; 
just<BR>&gt;&gt;&gt;&gt; before the 
vtkPolyDataMapper.<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt; Assuming you're 
generating a grid with spheres at the node points, the<BR>&gt;&gt;&gt;&gt; 
process is something like this:<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt; 
SphereSource -&gt; Glyph3D -&gt; Stripper -&gt; PolyDataMapper -&gt; Actor -&gt; 
Render<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt; Hope that 
helps!<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt; 
Paul<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt; * José Alonso Romero Matías 
(</FONT><A href="mailto:jarommat@gmail.com"><FONT face="Courier New" 
size=2>jarommat@gmail.com</FONT></A><FONT face="Courier New" size=2>) [050428 
02:41]:<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;&gt; 
Hello,<BR>&gt;&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;&gt; I am newby in VTK and 
Visualization, and I am searching tips for make a<BR>&gt;&gt;&gt;&gt;&gt; 
molecule structure...<BR>&gt;&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;&gt; I have a 
array of actors, one by an atom in my 
molecule...<BR>&gt;&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;&gt; It functions well, 
but when the molecule has more than 100,000 atoms, <BR>&gt;&gt;&gt;&gt;&gt; 
the<BR>&gt;&gt;&gt;&gt;&gt; renderization is very 
slow.<BR>&gt;&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;&gt; Can you help 
me?<BR>&gt;&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;&gt; 
Thanks<BR>&gt;&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;&gt; -- 
<BR>&gt;&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;&gt; José Alonso Romero 
Matías<BR>&gt;&gt;&gt;&gt;&gt; Prik 
Tehuacán<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;&gt; 
_______________________________________________<BR>&gt;&gt;&gt;&gt;&gt; This is 
the private VTK discussion list.<BR>&gt;&gt;&gt;&gt;&gt; Please keep messages 
on-topic. Check the FAQ at: <BR>&gt;&gt;&gt;&gt;&gt; </FONT><A 
href="http://www.vtk.org/Wiki/VTK_FAQ"><FONT face="Courier New" 
size=2>http://www.vtk.org/Wiki/VTK_FAQ</FONT></A><BR><FONT face="Courier New" 
size=2>&gt;&gt;&gt;&gt;&gt; Follow this link to 
subscribe/unsubscribe:<BR>&gt;&gt;&gt;&gt;&gt; </FONT><A 
href="http://www.vtk.org/mailman/listinfo/vtkusers"><FONT face="Courier New" 
size=2>http://www.vtk.org/mailman/listinfo/vtkusers</FONT></A><BR><FONT 
face="Courier New" 
size=2>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt; 
-- <BR>&gt;&gt;&gt;&gt; Paul Cochrane<BR>&gt;&gt;&gt;&gt; Computational 
Scientist/Software Developer<BR>&gt;&gt;&gt;&gt; Earth Systems Science 
Computational Centre<BR>&gt;&gt;&gt;&gt; Rm 703, SMI 
Building<BR>&gt;&gt;&gt;&gt; University of Queensland<BR>&gt;&gt;&gt;&gt; 
Brisbane<BR>&gt;&gt;&gt;&gt; Queensland 4072<BR>&gt;&gt;&gt;&gt; 
Australia<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt; 
_______________________________________________<BR>&gt;&gt;&gt;&gt; This is the 
private VTK discussion list.<BR>&gt;&gt;&gt;&gt; Please keep messages on-topic. 
Check the FAQ at: <BR>&gt;&gt;&gt;&gt; </FONT><A 
href="http://www.vtk.org/Wiki/VTK_FAQ"><FONT face="Courier New" 
size=2>http://www.vtk.org/Wiki/VTK_FAQ</FONT></A><BR><FONT face="Courier New" 
size=2>&gt;&gt;&gt;&gt; Follow this link to 
subscribe/unsubscribe:<BR>&gt;&gt;&gt;&gt; </FONT><A 
href="http://www.vtk.org/mailman/listinfo/vtkusers"><FONT face="Courier New" 
size=2>http://www.vtk.org/mailman/listinfo/vtkusers</FONT></A><BR><FONT 
face="Courier New" 
size=2>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt; 
_______________________________________________<BR>&gt;&gt;&gt; This is the 
private VTK discussion list. Please keep messages on-topic. <BR>&gt;&gt;&gt; 
Check the FAQ at: </FONT><A href="http://www.vtk.org/Wiki/VTK_FAQ"><FONT 
face="Courier New" size=2>http://www.vtk.org/Wiki/VTK_FAQ</FONT></A><BR><FONT 
face="Courier New" size=2>&gt;&gt;&gt; Follow this link to 
subscribe/unsubscribe:<BR>&gt;&gt;&gt; </FONT><A 
href="http://www.vtk.org/mailman/listinfo/vtkusers"><FONT face="Courier New" 
size=2>http://www.vtk.org/mailman/listinfo/vtkusers</FONT></A><BR><FONT 
face="Courier New" size=2>&gt;&gt;&gt;<BR>&gt;&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt; 
<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; 
_______________________________________________<BR>&gt; This is the private VTK 
discussion list. <BR>&gt; Please keep messages on-topic. Check the FAQ at: 
</FONT><A href="http://www.vtk.org/Wiki/VTK_FAQ"><FONT face="Courier New" 
size=2>http://www.vtk.org/Wiki/VTK_FAQ</FONT></A><BR><FONT face="Courier New" 
size=2>&gt; Follow this link to subscribe/unsubscribe:<BR>&gt; </FONT><A 
href="http://www.vtk.org/mailman/listinfo/vtkusers"><FONT face="Courier New" 
size=2>http://www.vtk.org/mailman/listinfo/vtkusers</FONT></A><BR><FONT 
face="Courier New" size=2>&gt;</FONT></BODY></HTML>