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
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 mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
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)
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?
Thanks cyrille!
Cheers,
py
2016-02-03 17:48 GMT+01:00 cyrille henry 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 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
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
Le 03/02/2016 17:48, cyrille henry a écrit :
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.
I was thinking about this point with texture. ++
Jack
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 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
I think, a loop like this should be doable (not sure, expert on shader can help) ? : Your coord vertices -> convert to RGB colors on fragment -> frame buffer as texture -> get your new color on vertices from texture (with shader). You will need to grab back texture on each frame if you want to get 'real' value from texture. But as Cyrille explain, it will not easy to get the geometry of the "3D object" which need to know how to draw from your vertices (maybe doable with an other texture :). ++
Jack
Le 03/02/2016 23:18, Jack a écrit :
Le 03/02/2016 17:48, cyrille henry a écrit :
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.
I was thinking about this point with texture. ++
Jack
cheers c
Le 03/02/2016 17:33, Py Fave a écrit :
Hello list, D
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 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
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
i see it's not easy :-)
because i want to get object's wireframe at the end.
(from the viewpoint perspective , not as 3d) svg export more than obj
and more or less real time i mean in a fast way
if it'not work for gem, do you know any other tools exporting a 3d scene to (flat )vectors?
Thanks for your help!
py
2016-02-03 23:36 GMT+01:00 Jack jack@rybn.org:
I think, a loop like this should be doable (not sure, expert on shader can help) ? : Your coord vertices -> convert to RGB colors on fragment -> frame buffer as texture -> get your new color on vertices from texture (with shader). You will need to grab back texture on each frame if you want to get 'real' value from texture. But as Cyrille explain, it will not easy to get the geometry of the "3D object" which need to know how to draw from your vertices (maybe doable with an other texture :). ++
Jack
Le 03/02/2016 23:18, Jack a écrit :
Le 03/02/2016 17:48, cyrille henry a écrit :
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.
I was thinking about this point with texture. ++
Jack
cheers c
Le 03/02/2016 17:33, Py Fave a écrit :
Hello list, D
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 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
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
i'm getting a bit off topic, but can blender do this kind of thing?
-video input >> shader >>distortion of wireframe >>perspective>>svg file ?
2016-02-04 9:19 GMT+01:00 Py Fave pyfave@gmail.com:
i see it's not easy :-)
because i want to get object's wireframe at the end.
(from the viewpoint perspective , not as 3d) svg export more than obj
and more or less real time i mean in a fast way
if it'not work for gem, do you know any other tools exporting a 3d scene to (flat )vectors?
Thanks for your help!
py
2016-02-03 23:36 GMT+01:00 Jack jack@rybn.org:
I think, a loop like this should be doable (not sure, expert on shader can help) ? : Your coord vertices -> convert to RGB colors on fragment -> frame buffer as texture -> get your new color on vertices from texture (with shader). You will need to grab back texture on each frame if you want to get 'real' value from texture. But as Cyrille explain, it will not easy to get the geometry of the "3D object" which need to know how to draw from your vertices (maybe doable with an other texture :). ++
Jack
Le 03/02/2016 23:18, Jack a écrit :
Le 03/02/2016 17:48, cyrille henry a écrit :
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.
I was thinking about this point with texture. ++
Jack
cheers c
Le 03/02/2016 17:33, Py Fave a écrit :
Hello list, D
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 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
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
Hello,
Putting XYZ coord in RGB texture could be a way to achieve what you want (in a shader) ? Things should be automatically compute between vertex and fragment (to get texture). ++
Jack
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 mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list