<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:10pt"><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">Yes, but you have to tessellate the polygons properly... there's some filter that I can use to obtain this?<br><br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">Da:</span></b> David E DeMarle <dave.demarle@kitware.com><br><b><span style="font-weight: bold;">A:</span></b> AGPX <agpxnet@yahoo.it><br><b><span style="font-weight: bold;">Cc:</span></b> Jérôme <jerome.velut@gmail.com>; vtk vtk <vtkusers@vtk.org><br><b><span style="font-weight: bold;">Inviato:</span></b> Dom 14 marzo 2010, 12:50:41<br><b><span style="font-weight: bold;">Oggetto:</span></b> Re: [vtkusers] How to show a 3D scalar dataset on a
polygon?<br></font><br>I think you want to use vtkProbeFilter to sample the field onto the<br>vertices of the polydata. Then render the output of that filter.<br><br>David E DeMarle<br>Kitware, Inc.<br>R&D Engineer<br>28 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-371-3971 x109<br><br><br><br>On Sun, Mar 14, 2010 at 6:21 AM, AGPX <<a ymailto="mailto:agpxnet@yahoo.it" href="mailto:agpxnet@yahoo.it">agpxnet@yahoo.it</a>> wrote:<br>> Hi,<br>><br>> thanks for reply. What I need is to show the scalar field using colors<br>> (through a lookup table) on a polygonal surface. If I'm not wrong with<br>> vtkGlyph3D you cannot achieve this, am I right? Somebody have tried to<br>> extend vtkOpenGLTexture class to support 3D texture? Any hints on how I can<br>> do it? Alternatively I can render this polygonal surfaces using OpenGL<br>> directly.... I can mix vtk rendering with direct OpenGL commands?<br>><br>>
Thanks,<br>><br>> - AGPX<br>><br>> ________________________________<br>> Da: Jérôme <<a ymailto="mailto:jerome.velut@gmail.com" href="mailto:jerome.velut@gmail.com">jerome.velut@gmail.com</a>><br>> A: AGPX <<a ymailto="mailto:agpxnet@yahoo.it" href="mailto:agpxnet@yahoo.it">agpxnet@yahoo.it</a>><br>> Cc: vtk vtk <<a ymailto="mailto:vtkusers@vtk.org" href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>><br>> Inviato: Dom 14 marzo 2010, 10:55:36<br>> Oggetto: Re: [vtkusers] How to show a 3D scalar dataset on a polygon?<br>><br>> Hi,<br>> My understanding is that you have a 3D vector defined at each point of your<br>> volume. If I am not wrong, you may want to use vtkGlyph3D.<br>><br>> HTH<br>> Jerome<br>><br>> 2010/3/14 AGPX <<a ymailto="mailto:agpxnet@yahoo.it" href="mailto:agpxnet@yahoo.it">agpxnet@yahoo.it</a>><br>>><br>>> Hi,<br>>><br>>> I have a
volume dataset of scalars that represent an electromagnetic<br>>> field. I need show this field on a set of polygon. This could be solved<br>>> easily IF vtk support 3D texture, but very sadly 3D textures aren't<br>>> supported. There's another way to show the field on the polygons?<br>>><br>>> Please help, I'm stucked! Thanks.<br>>><br>>> - AGPX<br>>><br>>><br>>> _______________________________________________<br><span>>> Powered by <a target="_blank" href="http://www.kitware.com">www.kitware.com</a></span><br>>><br>>> Visit other Kitware open-source projects at<br>>> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>>><br>>> Please keep messages on-topic and check the VTK FAQ at:<br>>> <a href="http://www.vtk.org/Wiki/VTK_FAQ"
target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>>><br>>> Follow this link to subscribe/unsubscribe:<br>>> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>>><br>><br>><br>><br>> _______________________________________________<br><span>> Powered by <a target="_blank" href="http://www.kitware.com">www.kitware.com</a></span><br>><br>> Visit other Kitware open-source projects at<br>> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>><br>> Please keep messages on-topic and check the VTK FAQ at:<br>> <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>><br>> Follow this link to subscribe/unsubscribe:<br>> <a href="http://www.vtk.org/mailman/listinfo/vtkusers"
target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>><br>><br></div></div>
</div><br>
</body></html>