Position of a 3d Object

benoit-1842's icon

I am loading a .obj in a patch with the jit.gl.model object but my 3d object is always loading at the top-left of my screen.... Can we have a control on that object if for example I want it in the right of my screen for example. Thanx a lot..

ben

Wetterberg's icon

[position x y z] to jit.gl.model ought to do this, right?

Rob Ramirez's icon

by default jit.gl.model has @normalize 1, which will try and center your model at the origin, and scale it so it fits in a unit sphere. however if your model has nodes applying weird transformations, sometimes this will not properly center.

you can disable normalize, and the model will load in the exact position and scale it was exported.
if it's still not centered, you should go back to your modeler and reexport at the origin.