[vtkusers] Re : WebGL 3D Viewer Demo

Sathish Kumar kingvsk at aol.com
Tue Jan 24 02:50:09 EST 2012


Hi James,

Sorry for the late response. actually I created the JSON file using the 
points extracted from VTK dicom data.
Please find the attached files for the Java method I used and required 
Json_simple-1.1.jar file.

I hope this will be easy and helpful for you.

Regards,
Sathish


On Tuesday 17 January 2012 07:28 PM, Malsoaz James wrote:
> All these works are really interesting and promising.
>
>
> Thank you to report this here.
>
> On my side, I'm working with VTK and recently I was trying WebGL. 
> Despite compatibility issues, WebGL works great.
>
> I have been able to load and render STL files.
>
> I'm going to look at xTK which seems really promising.
>
> By the way, is there any simple way to create JSON files from VTK or 
> STL files ?
>
>
> Best
>
> James
>
> ------------------------------------------------------------------------
> *De :* Sathish Kumar <kingvsk at aol.com>
> *À :* vtkusers at vtk.org
> *Envoyé le :* Vendredi 13 Janvier 2012 14h29
> *Objet :* Re: [vtkusers] WebGL 3D Viewer Demo
>
> Hi
>
> Thats nice...
>
> Regards,
> Sathish
>
> On Friday 13 January 2012 11:42 AM, Daniel Haehn wrote:
> > Hi guys,
> >
> > this is all very exciting and looks great!
> >
> > Also, checkout XTK: http://goXTK.com
> >
> > For example, with XTK it is possible to display a (ascii) .vtk file
> > with the following javascript snippet:
> >
> > ...
> > // create a new renderer
> > var r = new X.renderer('r');
> > r.init();
> >
> > // load a .vtk file
> > var skull = new X.object();
> > skull.load('skull.vtk');
> >
> > // add the object
> > r.add(skull);
> >
> > // .. and render it
> > r.render();
> > ...
> >
> > Cheers,
> > Daniel
> >
> > 2012/1/11 Sébastien Valette<sebastien.valette at creatis.insa-lyon.fr 
> <mailto:sebastien.valette at creatis.insa-lyon.fr>>:
> >> Hi Sathish,
> >>
> >> Le 10/01/2012 09:06, Sathish Kumar a écrit :
> >>
> >> Hi Sebastien,
> >>
> >> Nice work. I am very much interested to get some feedback about your
> >> experience.
> >>
> >> Are you splitting the 3D data into multiple files?
> >>
> >> In our case, the data is just 3 .vtk files parsed by the JavaScript 
> client.
> >> One file for the skin, one for the bones and one for the lung.
> >>
> >>
> >> What is the size of 3D data file?
> >>
> >> quite small in that case : about 200kB
> >>
> >>
> >> Is the 3D constructed at runtime?
> >>
> >>
> >> the 3D scene is constructed by the client, there is no work on the
> >> server-side, apart from serving the files. This is the simplest 
> case of use
> >> for us.
> >>
> >> I did not know ParaviewWeb had webGL abilities, but at the moment, 
> it seems
> >> rather complex to install and to use. Maybe future releases will 
> improve
> >> that?
> >>
> >>
> >> Sebastien
> >>
> >>
> >>
> >>
> >> Thanks,
> >> Sathish
> >>
> >>
> >> On Monday 09 January 2012 07:11 PM, Sébastien Valette wrote:
> >>
> >> Hi Sathish,
> >>
> >> interesting webpage! It's good to finally see webGL stuff reaching 
> the VTK
> >> ecosystem! We also have developed something in our lab, see:
> >>
> >> http://www.creatis.insa-lyon.fr/~valette/epaule/ 
> <http://www.creatis.insa-lyon.fr/%7Evalette/epaule/>
> >>
> >> it is a primitive simultaneous visualization of IRM slices and 
> extracted
> >> parts of bones and lung. We've been doing this ourselves as there 
> was no
> >> practical library to do that at that time.
> >>
> >> Greetings,
> >>
> >> Sebastien
> >>
> >>
> >> Le 06/01/2012 05:49, Sathish Kumar a écrit :
> >>
> >> One of the features planned for Oviyam-5 is to view 3D images from 
> a DICOM
> >> series and without a plugin using WebGL. We've just taken the first 
> steps
> >> towards reaching that goal.
> >>
> >> A technology preview with pre-rendered images is available at this 
> link. Be
> >> patient while loading the 3D models, it may take few minutes to load.
> >>
> >> Technologies used: VTK, HTML5, WebGL, JSON, Javascript, JS-Unzip...
> >>
> >> Features:
> >> 1. Plugin-Free Design.
> >> 2. Supports all major modern browsers like Chrome, Firefox, Safari and
> >> Opera.(Use the latest versions available.The best performance is 
> with Chrome
> >> and Firefox.
> >> 3. Supports IPhone, IPad and Android devices. However, due to the 
> lack of
> >> memory, only the cube demo works at present
> >> 4. Load upto 36 MB of JSON 3D Data (Supports nearly 150 
> instances/slices).
> >> 5. Zoom In/Out Option.
> >> 6. Pan Option.
> >> 7. One click Axial, Coronal, Sagittal Views.
> >> 8. 2D Rotation.
> >> 9. 3D Rotation.
> >>
> >> Upcoming features:
> >> 1. Data Compression(Zip/Unzip) support for faster data transfer.
> >> 2. Support for Handheld devices.
> >> 3. Look-Up Table to get colour.
> >> 4. Support for user-defined models.
> >>
> >> Source:
> >> 
> http://forums.dcm4che.org/jiveforums/thread.jspa?threadID=4233&tstart=0 <http://forums.dcm4che.org/jiveforums/thread.jspa?threadID=4233&tstart=0>
> >>
> >> Regards,
> >> Sathish
> >>
> >>
> >> _______________________________________________
> >> 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
> >>
> >> Follow this link to subscribe/unsubscribe:
> >> http://www.vtk.org/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
> >>
> >> Follow this link to subscribe/unsubscribe:
> >> http://www.vtk.org/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
> >>
> >> Follow this link to subscribe/unsubscribe:
> >> http://www.vtk.org/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
> >>
> >> Follow this link to subscribe/unsubscribe:
> >> http://www.vtk.org/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
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.vtk.org/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
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120124/bab8309c/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SurfaceRendering.java
Type: text/x-java
Size: 3781 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120124/bab8309c/attachment.java>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: json_simple-1.1.jar
Type: application/x-java-archive
Size: 16046 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120124/bab8309c/attachment.bin>


More information about the vtkusers mailing list