[PD] exporting opengl as vector

cyrille henry ch at chnry.net
Wed Feb 3 17:48:15 CET 2016


hello,

There are exemple on how to export an obj file made of simple primitive. (in Gem exemple directory 11.obj_exporter). But it will not work with shaders.


since shader are computed in the graphic card, it's not easy to import a geometry back to the CPU.

but you can use your algorythm to draw an image that represent the 3D vector (XYZ as RGB), and get the image back.
Then you can convert the image in a obj file.

cheers
c


Le 03/02/2016 17:33, Py Fave a écrit :
> Hello list,
>
>
> is it possible to export the result of a gem window as vectors?
>
> i am doing the classical plane 3d extrusion (via a shader)
> but need vectors as output
>
> 2d vector(prefered ) or 3d model
> what would work ?
> any hint welcome!
>
>
> i saw it was already asked a long time ago.
> any news in this area.?
>
>
> Do you know other programs to do that ?
>
> Thanks by advance
>
> Have fun !
>
> Pierre-Yves
>
>
>
>
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>



More information about the Pd-list mailing list