[vtkusers] Re: Volume Splatting: vtkCSCSPointSprites and GLU linking problems

John Biddiscombe biddisco at cscs.ch
Tue Jun 26 06:15:19 EDT 2007


Jordi


>      1. Solving minor issues about vtkPointSpritesMapper
>              1. Cleaning: you said, you had planned to clean it. So, I
>                 could wait the "code cleaning" before continue working
>                 on it.
>   

I'll let you know when it is clean. Won't take long to do, but I have 
other things to finish first.

>              2. Resource dir: I left the resource dir setting in blank,
>                 because even if I set it to the correct path, I obtain
>                 an "vtkXMLShader (0x806cd58): Failed to locate file
>                 *.glsl". It seems it founds correctly the *.xml, but
>                 afterwards I need to be in the resources directory to
>                 let it find the *.glsl
>   
NB. The resource dir is used by the sprite render to fetch the textuer, 
but when in GLSL mode, you have to pick up the shaders. Look at the 
tests and see that at the start they set an environment var which is 
then picked up in vtkXMLShader or somewhere - this makes sure the xml 
code gets the correct resource dir. I should have documented the 
difference. - but now I've done it :)
>      2. Adapting the current vtkPointSpritesMapper to some kind of
>         vtkVolumeSplattingMapper
>              1. Splatting "sets of voxels": could be done with the
>                 current PolyData container, but
>                      1. Use color/opacity transfer functions instead of
>                         Elevation
>              2. Splatting "image data": think about the mapper
>                 adaptation.
>   

No comment on this for now

>      3. Creating a Paraview plugin
>              1. I'm just entering into Paraview arquitecture (I left my
>                 notes in the tutorial I mentioned before); but I would
>                 be interested in helping to create the Paraview plugin.
>
> So, if it is possible to join some efforts with other "Volume Splatting
> interested people", it would be great.
>   

I have the mapper running in ParaView CVS head. I will have a think 
about how to make a plug-in - or at least a distribution that is 
reasonably self contained..
I welcome help....The learning curve for PV internals is quite steep - 
you will want to invest some time in it.

JB


-- 
John Biddiscombe,                            email:biddisco @ cscs.ch
http://www.cscs.ch/about/BJohn.php
CSCS, Swiss National Supercomputing Centre  | Tel:  +41 (91) 610.82.07
Via Cantonale, 6928 Manno, Switzerland      | Fax:  +41 (91) 610.82.82




More information about the vtkusers mailing list