<!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> </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> </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> </DIV>
<DIV><FONT face="Courier New" size=2>ttfn</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2>JB</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2>-- <BR>John
Biddiscombe,
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 | Tel: +41 (91)
610.82.07<BR>Via Cantonale, 6928 Manno,
Switzerland | Fax: +41 (91)
610.82.82</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2></FONT><FONT face="Courier New"
size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2>----- Original Message ----- </FONT>
<DIV><FONT face="Courier New" size=2>From: "Julien Alizier (free.fr)"
<</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>></FONT></DIV>
<DIV><FONT face="Courier New" size=2>To: "PETROV Alexey" <</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>></FONT></DIV>
<DIV><FONT face="Courier New" size=2>Cc: <</FONT><A
href="mailto:vtkusers@vtk.org"><FONT face="Courier New"
size=2>vtkusers@vtk.org</FONT></A><FONT face="Courier New"
size=2>></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>> replying to myself...<BR>> <BR>> Just
googled and I saw the file vtkOpenGL.h is present in viewcvs :<BR>> </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>> <BR>> but I can't access the server.<BR>>
<BR>> -- Julien<BR>> <BR>> <BR>> ----- Original Message -----
<BR>> From: "PETROV Alexey" <</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>><BR>> To: "Julien Alizier (free.fr)" <</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>><BR>> Sent: Thursday, April 28, 2005 12:42 PM<BR>> Subject: Re:
[vtkusers] Molecule structure<BR>> <BR>> <BR>>> Hello
Julien,<BR>>><BR>>> Julien Alizier (free.fr)
wrote:<BR>>><BR>>>> Hi José,<BR>>>><BR>>>> You
may improve rendering speed using tricks in OpenGL.<BR>>>> The
extensions GL_ARB_POINT_SPRITE and GL_NV_POINT_SPRITE may be very
<BR>>>> efficient.<BR>>>><BR>>>> See this previous
post :<BR>>>> </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>>><BR>>> Your proposition is
wonderful.<BR>>> However I can not check it.<BR>>> There is follow
compiler error:<BR>>><BR>>> Compiling...<BR>>>
vtkOpenGLPolyDataPointSpriteMapper.cpp<BR>>>
D:\apo\CSCS\CSCSCommon\vtkCSCSBase\vtkOpenGLPolyDataPointSpriteMapper.h(28)
<BR>>> : fatal error C1083: Cannot open include file: 'vtkOpenGL.h': No
such file <BR>>> or directory<BR>>> Error executing
cl.exe.<BR>>><BR>>> Could you check the
problem?<BR>>><BR>>>><BR>>>> and this document
:<BR>>>> </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>>>><BR>>>><BR>>>>
HTH<BR>>>> --
Julien<BR>>>><BR>>>><BR>>>><BR>>>> -----
Original Message ----- From: "Paul Cochrane" <BR>>>> <</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>><BR>>>> To: "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>><BR>>>> Cc: <</FONT><A
href="mailto:vtkusers@vtk.org"><FONT face="Courier New"
size=2>vtkusers@vtk.org</FONT></A><FONT face="Courier New"
size=2>><BR>>>> Sent: Thursday, April 28, 2005 6:30
AM<BR>>>> Subject: Re: [vtkusers] Molecule
structure<BR>>>><BR>>>><BR>>>>>
Jose,<BR>>>>><BR>>>>> I've had similar problems with
viewing 300,000 spheres in space. The<BR>>>>> solution to the
speed of the rendering was to use a vtkStripper filter <BR>>>>>
just<BR>>>>> before the
vtkPolyDataMapper.<BR>>>>><BR>>>>> Assuming you're
generating a grid with spheres at the node points, the<BR>>>>>
process is something like this:<BR>>>>><BR>>>>>
SphereSource -> Glyph3D -> Stripper -> PolyDataMapper -> Actor ->
Render<BR>>>>><BR>>>>> Hope that
helps!<BR>>>>><BR>>>>>
Paul<BR>>>>><BR>>>>> * 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>>>>><BR>>>>>>
Hello,<BR>>>>>><BR>>>>>> I am newby in VTK and
Visualization, and I am searching tips for make a<BR>>>>>>
molecule structure...<BR>>>>>><BR>>>>>> I have a
array of actors, one by an atom in my
molecule...<BR>>>>>><BR>>>>>> It functions well,
but when the molecule has more than 100,000 atoms, <BR>>>>>>
the<BR>>>>>> renderization is very
slow.<BR>>>>>><BR>>>>>> Can you help
me?<BR>>>>>><BR>>>>>>
Thanks<BR>>>>>><BR>>>>>> --
<BR>>>>>><BR>>>>>> José Alonso Romero
Matías<BR>>>>>> Prik
Tehuacán<BR>>>>><BR>>>>><BR>>>>>>
_______________________________________________<BR>>>>>> This is
the private VTK discussion list.<BR>>>>>> Please keep messages
on-topic. Check the FAQ at: <BR>>>>>> </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>>>>>> Follow this link to
subscribe/unsubscribe:<BR>>>>>> </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>>>>><BR>>>>><BR>>>>><BR>>>>>
-- <BR>>>>> Paul Cochrane<BR>>>>> Computational
Scientist/Software Developer<BR>>>>> Earth Systems Science
Computational Centre<BR>>>>> Rm 703, SMI
Building<BR>>>>> University of Queensland<BR>>>>>
Brisbane<BR>>>>> Queensland 4072<BR>>>>>
Australia<BR>>>>><BR>>>>>
_______________________________________________<BR>>>>> This is the
private VTK discussion list.<BR>>>>> Please keep messages on-topic.
Check the FAQ at: <BR>>>>> </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>>>>> Follow this link to
subscribe/unsubscribe:<BR>>>>> </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>>>>><BR>>>><BR>>>><BR>>>><BR>>>>
_______________________________________________<BR>>>> This is the
private VTK discussion list. Please keep messages on-topic. <BR>>>>
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>>>> Follow this link to
subscribe/unsubscribe:<BR>>>> </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>>>><BR>>>><BR>>><BR>>>
<BR>> <BR>> <BR>> <BR>>
_______________________________________________<BR>> This is the private VTK
discussion list. <BR>> 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>> Follow this link to subscribe/unsubscribe:<BR>> </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>></FONT></BODY></HTML>