Hello guys,
I have multiple questions regarding m3g:
is there a way to load 2 m3g files as objects and not as a world and then add them to an existing world?
is there a way to smoothen an object's lightning normals?
is there a way to get all of the world's objects without knowing their ID, without using find?
yes i managed to set the shading to smooth.
it is posible to get the world's object without using find, u get the children count of the world, and get eatch child as mesh.
the doc contain such things, at least that is the conclusion i managed to get when reading it.
as for examples, http://www.claushoefele.com/m3g/examples.html there you go, but there are no sources, u can decompile then tho, there's a free java decompiler somewhere , that's what i did
oh another thing that i 4got, i tried to texture a mesh but with no luck the mesh is looking pretty strange. do you know of a standard texturize function or something like that??
Forum posts: 56
hi there
double check my answsers because last time I've done m3g programming was a couple of years ago
Q1/
yes it is you have to manage the scene graph, load files access to the the 1st group id and merge it in a new world node
Q2/
look at material properties maybe
Q3/
i am afraid not
While we are talking about m3g do you know where this API is going?
I am looking for some opensource m3g midlets
can you suggests some ?
--
http://rzr.online.fr/java.htm
http://www.newlc.com/en/user/www-rzr-online-fr/track : current
http://www.newlc.com/en/looking-linux-android-maemo-project : yes i am
http://www.newlc.com/en/forum/gnulinux-devices-list : please add yours
Forum posts: 2
yes i managed to set the shading to smooth.
, that's what i did 
it is posible to get the world's object without using find, u get the children count of the world, and get eatch child as mesh.
the doc contain such things, at least that is the conclusion i managed to get when reading it.
as for examples, http://www.claushoefele.com/m3g/examples.html there you go, but there are no sources, u can decompile then tho, there's a free java decompiler somewhere
oh another thing that i 4got, i tried to texture a mesh but with no luck the mesh is looking pretty strange. do you know of a standard texturize function or something like that??