XML Feeds

.

[maxmsp] [jitter] from .OBJ to matrixout >!<

DO_Ray ceo at diurnal.net
Sun Sep 9 08:37:56 MDT 2007


Nope it is not the answer to the question, it is rather important  
because i can't find the documented answer for myself.

The question is:
howcome jit.model @matrixoutput 1 delivers 12 coordinates while you  
can suffice with 8 ?
Normalize 0 or 1 does not differ .

On 8 Sep 2007, at 19:27, vade wrote:

> jit.gl.model @normalize 0
>
>
>
> On Sep 8, 2007, at 12:59 PM, D wrote:
>
>> Hi all
>>
>> I am still focussing on jit.mesh and discovered this:
>>
>> when importing an roof.obj file:
>>
>> # WaveFront *.obj file
>> # safe as roof.obj
>>
>> g Extrude_NURBS
>> v 100 35.755325 0
>> v 0 85.755325 0
>> v -100 35.755325 0
>> v 100 35.755325 -20
>> v 0 85.755325 -20
>> v -100 35.755325 -20
>>
>> vt 0 1 0
>> vt 0.5 1 0
>> vt 1 1 0
>> vt 0 0 0
>> vt 0.5 0 0
>> vt 1 0 0
>>
>> f 1/1 2/2 5/5 4/4
>> f 2/2 3/3 6/6 5/5
>>
>>
>> in jit.model (with matrixoutput 1 ) you'll get a matrix of 8  
>> planes with dimensions 12 X 1
>> Focussing just on the vertices (first three planes) they are:
>>
>> 1. -0.25 0.1
>> 0. 0.25 0.1
>> 0. 0.25 -0.1
>> 1. -0.25 0.1 <forward and back to the same vertex >
>> 0. 0.25 -0.1
>> 1. -0.25 -0.1
>> 0. 0.25 0.1
>> -1. -0.25 0.1
>> -1. -0.25 -0.1
>> 0. 0.25 0.1 <forward and back to the same vertex >
>> -1. -0.25 -0.1
>> 0. 0.25 -0.1
>>
>>
>> Why does jit.model not make it like this ?:
>>
>>
>> 1. -0.25 0.1
>> 0. 0.25 0.1
>> 0. 0.25 -0.1
>> 1. -0.25 -0.1
>> 0. 0.25 0.1
>> -1. -0.25 0.1
>> -1. -0.25 -0.1
>> 0. 0.25 -0.1
>>
>>
>> These give with drawmode quads exact the roof as declared in roof.obj
>> Regards
>> DO_Ray
>>
>> PS still wondering how a connection matrix looks like
>> _______________________________________________
>> maxmsp mailing list
>> maxmsp at cycling74.com
>> http://www.cycling74.com/mailman/listinfo/maxmsp
>
> v a d e //
>
> www.vade.info
> abstrakt.vade.info
>
>
>
> _______________________________________________
> maxmsp mailing list
> maxmsp at cycling74.com
> http://www.cycling74.com/mailman/listinfo/maxmsp



More information about the maxmsp mailing list