Le 03/02/2016 21:20, Py Fave a écrit :
that's what i was thinking too...
i remember a long time ago :-) there was a "fake driver" for graphics cards made for ripping 3d game graphics.(on directx windows IIRC)
yes, it was coppying the information send from the CPU to the GPU. but since you use shader to generate the geometry, the real geometry exist only in the GPU. The easiest way back is using texture.
does software emulator for GPU exists?debugger? on linux or windows?
or a (not too hard) way to access the GPU's memory and dump it?? and collect/reuse this data?
it's not that hard to modify the shader to output an image that contain all informations you need.
cheers c
Thanks cyrille!
Cheers,
py
2016-02-03 17:48 GMT+01:00 cyrille henry <ch@chnry.net mailto:ch@chnry.net>:
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@lists.iem.at <mailto:Pd-list@lists.iem.at> mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list _______________________________________________ Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at> mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list