-multitexture on one plane/or model (a model than a blood effect on the model maybe)
-basic model shadows on a plane, or on a cube
-texture animation (simple slide in/out, top in/out, with tiled texture) /like a cloud swim effect/
-maybe a faster picking
Hi Dennis, thanks for your job!!!
I’m using your libs for my thesis. One question…. i need to load a very large object from a .obj file. It’s made with thousand meshes… more than 32000 …. so short integers inside parse method aren’t good for me
i’m editing your sources to change short into integer… Is there a good reason not to do it? Maybe i will introduce some bugs….
suggestions are appreciated
I suggest you just give it a try and see if it affects performance or if you get memory issues. 3200 meshes is quite a lot
If any questions or issues are, just give me a shout or open an issue on Github.
Sorry… the objects (meshes) are less than 100, but the lines that begin with “f” are thousands…. perhaps by dividing the file with many files with only one object inside, anyway it could be an Object with too “f” lines.
About memory issues, i’m developing with Android 3.1, so i can use large heap.
I am trying to change car from your sample code.I modified camora.jpg color from red to yellow and trying to apply that texture to car from Scene.I am not getting any change.Can you please help me where am doing wrong.
b = Utils.makeBitmapFromResourceId(R.drawable.camora_yellow);
Shared.textureManager().addTextureId(b, “yellow”, false);
I am using your wallpaper template project and i’m having problem when importing custom .obj models created in blender. I also tried to modify your .blend models from your project and then to export it with suggested options, but shows me an error when run project. When i used your .obj file, e.g. arrow, it works great, but with my file it throws errors. I am using Blender 2.63a. Can you tell me what i’m doing wrong?
first, let me thank you for your great work. This framework is very neat and eases my development. I’d like to know whether it’s possible to load a scene (generated as a .obj file) made of multiple objects.
What I mean is :
@ Veldan – Thanks for the information, it helped me find what I believe to be the proper export options from Maya to work perfectly with Rajawali.
I thought I would share what I have found so far while using Maya to produce OBJ and MTL files. I believe the the lines in the OBJ that have an “s” refer to a group of verts (and their properties) a.k.a “surface”. If your model has multiple surfaces it will not parse properly in Rajawali, unless you change the default OBJ export settings when exporting from Maya.
Th OBJ export settings setting should be:
Point groups: Off
Make sure you triangulate your mesh since quads aren’t supported, and I recommend doing that before you create UVs. The shader you select is irrelevant, as you will want to apply a material using Rajawali for good control, but add one because it enables you to attach your texture.
Make sure you name your OBJ export exactly as you want to reference it in your code. If you change the name of the OBJ make sure you open it and the MTL file in a text editor and update the naming there too. You will still have to rename the files in the Eclipse IDE as mentioned in Dennis’ tutorials, but that won’t impact the linkages within.
This process has resulted in a rather pain-free workflow from Maya to Android for me.
Out of topic question, rajawali obj parser is working good, the .obj and texture is render nice however can i display it again over a live camera feed? (In short , 3d object with camera preview background)
hello i am new to this.. when i export the obj with the material and load it in my program i only get the materials color but not my shader options (diffuse specular transparency..) it always looks verry glossy and shiny is this like this or am i doing somthing wrong… and how can i get my shader options imported from blender too… same with bumpmap it loads always the bumpmap texture as a texture and not a bumpmap.. or do i have to program my own material.. thank you..
Very impressive job.
I tried the other parsers and they don’t work (FBXParser, Max3DSParser)
For the ObjParser, it loads the object correctly, but the materials don’t work. the objects are always white color. when i apply custom Material it does work for the specific color (I use 3ds Studio max to create the objects) and change the names of the files (.obj and .mtl to _obj _mtl).
Hello my friend, I’m using your framework on android and i have a problem, when I try to load an .obj very big amm it could be around 400,000 vertex and 41 textures, the program doesn’t show the textures only show the object but no textures, my apologize for my bad english