[vtk-developers] vtk-glTF

Steve Pieper pieper at isomics.com
Fri Nov 30 07:57:13 EST 2018


Hi -

I'd love to see a glTF 2.0 exporter native in VTK.  I wrote a glTF 1.0
version in python a while back if you want to look at that for reference
[1].

On request: please include a WriteToMemory option like in the
vtkImageWriter classes so it can be used easily without the file system
(e.g. like in the web server mode I was doing).

Good luck,
Steve

[1]
https://github.com/pieper/SlicerWeb/blob/master/WebServer/WebServer.py#L37-L457

On Thu, Nov 29, 2018 at 10:32 PM Ken Martin via vtk-developers <
vtk-developers at public.kitware.com> wrote:

> FWIW I'm working on a simple very basic starting point for gltf ala
>
>
> https://gitlab.kitware.com/ken-martin/vtk/commit/656f7e231e9434431e234f701c7101006e2be40a
>
> if you want to work off that. I'll probably try merging it soon .
>
> - Ken
>
>
> On Thu, Nov 29, 2018 at 9:11 PM Sal Choueib <sal.choueib at queensu.ca>
> wrote:
>
>> Hello All,
>>
>>
>>
>>    We are currently in the process of developing an exporter to glTF 2.0.
>> Does anyone have experience working with gltf? Or perhaps knows of any
>> resources that might be useful?
>>
>>
>>    Furthermore, we are utilizing tiny-gltf, a header only glTF library,
>> to serialize data and write the gltf file (
>> https://github.com/syoyo/tinygltf
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fsyoyo%2Ftinygltf&data=02%7C01%7C%7Cb483f966d3e64e639c5f08d653be573f%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636788474294213389&sdata=W7iwlPE31LC0XVeJoEos9iVdcZCWmR%2BCwZe%2Bp%2FIP4EE%3D&reserved=0>).
>> We are hoping someone could comment on our choice of library. Is this
>> library good? Any potential risks or cons to using this library? Does
>> anyone have suggestions for a better library to use?
>>
>>
>>
>>
>>
>>
>>   Thank you for your help,
>>
>> Sal
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Search the list archives at: http://markmail.org/search/?q=vtk-developers
>>
>> Follow this link to subscribe/unsubscribe:
>> https://public.kitware.com/mailman/listinfo/vtk-developers
>>
>>
>
> --
> Ken Martin PhD
> Distinguished Engineer
> Kitware Inc.
> 101 East Weaver Street
> Carrboro, North Carolina
> 27510 USA
>
> This communication, including all attachments, contains confidential and
> legally privileged information, and it is intended only for the use of the
> addressee.  Access to this email by anyone else is unauthorized. If you are
> not the intended recipient, any disclosure, copying, distribution or any
> action taken in reliance on it is prohibited and may be unlawful. If you
> received this communication in error please notify us immediately and
> destroy the original message.  Thank you.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Search the list archives at: http://markmail.org/search/?q=vtk-developers
>
> Follow this link to subscribe/unsubscribe:
> https://public.kitware.com/mailman/listinfo/vtk-developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/vtk-developers/attachments/20181130/d0961c85/attachment.html>


More information about the vtk-developers mailing list