Forums > Jitter

create the procedural mesh or grid in jitter

Feb 19 2010 | 3:04 pm

Hi, I want to create a mesh or grid with Jitter. the size may be 8×8, 16×16, 64×64.

for example, with the size 16×16.
the beginning vertex values are :
x=0 y=0 z=0
x=0 y=0 z=1
x=0 y=0 z=2
x=0 y=0 z=3
x=0 y=1 z=0
x=0 y=1 z=1
x=0 y=1 z=2
x=0 y=1 z=3
x=0 y=2 z=0

at the end we have :
x=7 y=6 z=1
x=7 y=6 z=2
x=7 y=6 z=3
x=7 y=7 z=0
x=7 y=7 z=1
x=7 y=7 z=2
x=7 y=7 z=3

The vertex value is very important, and I don’t mind face index.

I already try to export the mesh with blender. but, once loaded by jitter, vertex positions changent(I remplaced vertex positions once the .obj mesh was exported).

thanks for all


Feb 20 2010 | 7:07 pm

not really sure what you are asking.
you can use jit.expr to generate procedural geometries for use with

please elaborate on your question.

Feb 23 2010 | 9:09 am

I resolve the problem. I created the simple grid in blender with the vertex value and face index by default. I export to OBJ format object. I use java to generate my own vertex value and face index. I replace their value in the OBJ format object file.

Thank for your answer.


Viewing 3 posts - 1 through 3 (of 3 total)

Forums > Jitter