[vtkusers] [Java] VTK volume rendering

Sebastien Jourdain sebastien.jourdain at kitware.com
Wed Feb 17 10:22:53 EST 2016


Hi Marco,

nothing special happened in that version, but as I recall, on OS X, the
rendering was not properly working due to some native change in the JVM
(can't remember exactly) hence we add a new renderer a while back using
Jogl to create a OpenGL context for us and make it friendly for the Java
UI.

VTK 7, brings new GL calls that are more modern and align with todays
graphic cards, hence I was wondering if something broke/change in regard to
that GL update.

Seb

On Wed, Feb 17, 2016 at 7:33 AM, Marco Sambin <m.sambin at gmail.com> wrote:

> Hi all.
>
> Reading this post, a related but slightly off-topic question came to my
> mind:
>
> Has something changed in the latest VTK versions, as far as VTK's
> capability to directly render through JAWT with Oracle's JRE version 7+ on
> Mac OS X is concerned?
>
> For instance Andy, how are you rendering from Java + VTK on Mac? Which JRE
> are you using? Are you using JOGL or not?
>
> Thanks in advance for your input.
> Best regards,
>
> Marco
>
>
> On Mon, Feb 15, 2016 at 9:07 PM, Aashish Chaudhary <
> aashish.chaudhary at kitware.com> wrote:
>
>> vtkProjectedTetrahedraMapper is the class that meant for UnstructedGrid.
>> Are you using OpenGL2 backend or OpenGL1? Also, any information on your
>> system (os, graphics card), data type and size would be nice to know. The
>> other thing you can do is sample your grid into vtkImageData and then you
>> can use GPU Mapper.
>>
>> Thanks,
>>
>>
>> On Sun, Feb 14, 2016 at 2:58 PM, atc1992vtk <atc1992vtk at gmail.com> wrote:
>>
>>> Hi guys,
>>> I am working on an application using VTK with Java on Mac.
>>> Currently I am working on the volume rending function, the file I am
>>> working
>>> with is *UnstructedGrid*.
>>> I got some trouble in displaying the file, I tried to use different
>>> mapper
>>> and filter, only "*vtkProjectedTetrahedraMapper*" is working but the
>>> result
>>> was so laggy that i even couldn't move the object. So of the other Mapper
>>> (e.g. vtkUnstructuredGridVolumeMapper) I got a "*Invalid memory access of
>>> location*" error.
>>>
>>> Can anyone give me an up-to-date example or some hints on the correct
>>> class
>>> should be used in the pipeline??
>>>
>>> Andy
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://vtk.1045678.n5.nabble.com/Java-VTK-volume-rendering-tp5736567.html
>>> Sent from the VTK - Users mailing list archive at Nabble.com.
>>> _______________________________________________
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>>
>>> Please keep messages on-topic and check the VTK FAQ at:
>>> http://www.vtk.org/Wiki/VTK_FAQ
>>>
>>> Search the list archives at: http://markmail.org/search/?q=vtkusers
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://public.kitware.com/mailman/listinfo/vtkusers
>>>
>>
>>
>>
>> --
>>
>>
>>
>> *| Aashish Chaudhary | Technical Leader         | Kitware Inc.
>> *
>> *| http://www.kitware.com/company/team/chaudhary.html
>> <http://www.kitware.com/company/team/chaudhary.html>*
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Search the list archives at: http://markmail.org/search/?q=vtkusers
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/vtkusers
>>
>>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160217/aa0d60bf/attachment.html>


More information about the vtkusers mailing list