<div dir="ltr"><div><div><div><div><div><div><div>i see it's not easy :-)<br><br></div>because i want to get object's wireframe  at the end.<br><br></div><div>(from the viewpoint perspective , not as 3d)<br></div><div>svg export more than obj<br></div><div><br></div>and more or less real time<br></div>i mean in a fast way <br><br></div>if it'not work for gem,<br></div>do you know any other tools exporting a 3d scene to (flat )vectors?<br><br></div>Thanks for your help!<br><br><br></div>py<br><div><div><br><br><br><div><div><br><br><div><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">2016-02-03 23:36 GMT+01:00 Jack <span dir="ltr"><<a href="mailto:jack@rybn.org" target="_blank">jack@rybn.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I think, a loop like this should be doable (not sure, expert on shader<br>
can help) ? :<br>
Your coord vertices -> convert to RGB colors on fragment -> frame buffer<br>
 as texture -> get your new color on vertices from texture (with shader).<br>
You will need to grab back texture on each frame if you want to get<br>
'real' value from texture.<br>
But as Cyrille explain, it will not easy to get the geometry of the "3D<br>
object" which need to know how to draw from your vertices (maybe doable<br>
with an other texture :).<br>
++<br>
<br>
Jack<br>
<span class=""><br>
<br>
<br>
Le 03/02/2016 23:18, Jack a écrit :<br>
> Le 03/02/2016 17:48, cyrille henry a écrit :<br>
>> hello,<br>
>><br>
>> There are exemple on how to export an obj file made of simple primitive.<br>
>> (in Gem exemple directory 11.obj_exporter). But it will not work with<br>
>> shaders.<br>
>><br>
>><br>
>> since shader are computed in the graphic card, it's not easy to import a<br>
>> geometry back to the CPU.<br>
>><br>
>> but you can use your algorythm to draw an image that represent the 3D<br>
>> vector (XYZ as RGB), and get the image back.<br>
>> Then you can convert the image in a obj file.<br>
><br>
> I was thinking about this point with texture.<br>
> ++<br>
><br>
> Jack<br>
><br>
><br>
>><br>
>> cheers<br>
>> c<br>
>><br>
>><br>
>> Le 03/02/2016 17:33, Py Fave a écrit :<br>
>>> Hello list,<br>
</span>>>>D<br>
<div class="HOEnZb"><div class="h5">>>><br>
>>> is it possible to export the result of a gem window as vectors?<br>
>>><br>
>>> i am doing the classical plane 3d extrusion (via a shader)<br>
>>> but need vectors as output<br>
>>><br>
>>> 2d vector(prefered ) or 3d model<br>
>>> what would work ?<br>
>>> any hint welcome!<br>
>>><br>
>>><br>
>>> i saw it was already asked a long time ago.<br>
>>> any news in this area.?<br>
>>><br>
>>><br>
>>> Do you know other programs to do that ?<br>
>>><br>
>>> Thanks by advance<br>
>>><br>
>>> Have fun !<br>
>>><br>
>>> Pierre-Yves<br>
>>><br>
>>><br>
>>><br>
>>><br>
>>> _______________________________________________<br>
>>> <a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
>>> UNSUBSCRIBE and account-management -><br>
>>> <a href="http://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
>>><br>
>><br>
>> _______________________________________________<br>
>> <a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
>> UNSUBSCRIBE and account-management -><br>
>> <a href="http://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
><br>
><br>
> _______________________________________________<br>
> <a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
> UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
><br>
<br>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</div></div></blockquote></div><br></div></div></div></div></div></div></div></div></div></div>