[GEM-dev] [ pd-gem-Bugs-3054193 ] open obj file with negative index crash pd

cyrille henry ch at chnry.net
Fri Aug 27 14:11:34 CEST 2010


hello,

i was disconnected twice when replying to this comment (bad connection here).
so i now reply to the mailling list...

usually .obj file are made with vertex and faces :
v 0 0 0
v 1 0 0
v 0 1 0
v 0 0 1
v 1 1 1
f 2 3 4

the 1st vertex is on 0 0 0 etc
the 1st triangle connect vectex 2, 3 and 4
but you could to the same :
v 0 0 0
v 1 0 0
v 0 1 0
v 0 0 1
v 1 1 1
f -4 -3 -2
so that you don't have to count the current vertex position.
negative index count backward from curent position.

i could easilly change the curent obj_exporter to use the 1st way, but i use the 2nd way for years with no problem.
But Phylippe just made me realize that a obj made like this does not work with Gem.

cyrille

Le 27/08/2010 11:29, SourceForge.net a écrit :
> Bugs item #3054193, was opened at 2010-08-27 11:22
> Message generated for change (Comment added) made by zmoelnig
> You can respond by visiting:
> https://sourceforge.net/tracker/?func=detail&atid=507079&aid=3054193&group_id=64325
>
> Please note that this message will contain a full copy of the comment thread,
> including the initial issue submission, for this request,
> not just the latest update.
> Category: None
> Group: None
> Status: Open
> Resolution: None
> Priority: 5
> Private: No
> Submitted By: Cyrille Henry (nusmuk)
> Assigned to: Nobody/Anonymous (nobody)
> Summary: open obj file with negative index crash pd
>
> Initial Comment:
> the obj file in attachement can't be load with the model object : pd crash.
> it's not very commun to have a obj file with negative index , but it is really usfull to create.
> blender open this file with no problem.
>
>
> ----------------------------------------------------------------------
>
>> Comment By: IOhannes m zmlnig (zmoelnig)
> Date: 2010-08-27 11:29
>
> Message:
> without having the .obj specs in mind: what are negative indices for?
>
> ----------------------------------------------------------------------
>
> You can respond by visiting:
> https://sourceforge.net/tracker/?func=detail&atid=507079&aid=3054193&group_id=64325
>
> _______________________________________________
> GEM-dev mailing list
> GEM-dev at iem.at
> http://lists.puredata.info/listinfo/gem-dev
>



More information about the GEM-dev mailing list