<html>
<body>
Hi Mario,<br><br>
For your first problem: I am unaware of this. Can you cause it on one of
the VTK data sets? If so, can you send me the code that causes it so I
can try it?<br><br>
On the second issue - yes, the vtkFixedPointVolumeRayCastMapper does use
its own code for generating gradients since the gradient estimator is not
able to process multicomponent data. Originally, the
vtkFixedPointVolumeRayCastMapper relied on a specific gradient encoding
since it used to interpolate normals (Phong-style shading) but that
turned out to be too unstable so it interpolates shaded value (just like
the standard ray cast mapper). So - it should be possible to expand the
gradient estimator to handle multi component data, switch the
vtkFixedPointVolumeRayCastMapper over to using this, and then everything
will run faster on a multiprocessor system (although keep in mind that
the code in the fixed point mapper tries harder to get a gradient in
homogeneous regions - looking out at larger distances until it finds one
with a sufficient magnitude - now that we are not interpolating gradients
perhaps this is not necessary....). <br><br>
Lisa<br><br>
<br>
At 08:53 AM 9/28/2005, Mario Medved wrote:<br>
<blockquote type=cite class=cite cite="">
<font face="Times New Roman, Times">Hi,<br><br>
I was experimenting with vtkFixedPointVolumeRayCastMapper which is great,
<br>
but I noticed 2 problems/features:<br><br>
1. MIP blend mode causes black spots over some images. I think this is
due <br>
space leaping, since vtkVolumeRayCastMapper does not have these
problems.<br><br>
2. When the shading is turned on, the gradient estimator works slower
then <br>
in vtkVolumeRayCastMapper. On larger volumes this can be very lengthy
<br>
operation. I checked the source code and there is just block of code for
<br>
calculating gradient values directly without any multiprocessor support.
<br>
vtkVolumeRayCastMapper uses gradient estimator object which does all
<br>
calculations with miltiproc support, but I am not sure why this code is
not <br>
used in vtkFixedPointVolumeRayCastMapper.<br><br>
If anyone solved these problems, please let mo know, so I do not
rediscover <br>
hot water.<br><br>
Thanks,<br>
Mario </font><font face="arial" size=2><br>
</font>_______________________________________________<br>
This is the private VTK discussion list. <br>
Please keep messages on-topic. Check the FAQ at:
<a href="http://www.vtk.org/Wiki/VTK_FAQ" eudora="autourl">
http://www.vtk.org/Wiki/VTK_FAQ</a><br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" eudora="autourl">
http://www.vtk.org/mailman/listinfo/vtkusers</a></blockquote></body>
</html>