XML Feeds

.

[jitter] jit.gl.model how to get the dimensions, size

nesa i_i at gmx.net
Tue Jul 3 11:24:20 MDT 2007


Hello,

here are two ways to do it:

1. Obj file is just a text file, you could read it in javascript,  
look for the vertex tags(V x y z) and look for the minimum and  
maximum values there;
2. Turn on matrixoutput mode for jit.gl.model, and put it through jit. 
3m: you'll get min/max coords(one matrix per drawgroup if I remember  
correctly).

you should also take scale into account.

hth,
nesa

On Jul 1, 2007, at 1:58 PM, secco wrote:

>
> hi all,
>
> is there a way to get the dimensions of an imported jit.gl.model?
>


More information about the jitter mailing list