Evak
23-07-2007 00:51:32
Hi, I was wondering if the static geometry settings could be explained. I'm currently getting unpredictable results. Here's the steps I tried:
1) I set a group name for similar terrain meshes that share the same materials. This is in the Ofusion Object settings menu.
2) I check the export static geometry groups in the export dialogues.
3)make sure all the items in my scene I want to export are checked, and press the export button.
The problem is that on loading the scene in my app, all the static geometry meshes have disappeared. I have kept the default region dimensions, and tried ranges of 0, 500, 1000
If I hide all of my scene other than a light and a mesh, and assign the single mesh to a static geometry group, sometimes it does seem to draw in my app. Multiple meshes in the scene usualy result in the staticgeometried not working.
The docs are very brief and do not explain what the settings are and how they work with one another. So at the moment I'm uncertain whether I am doing static geometry incorrectly, or whether static geometry is broken.
The Ofusion Help file contains the following information:
My understanding is that with static geometry, static meshes in your scenery that are put in the same static geometry group are split into batches that share the same material, and all triangles sharing the same material are grouped together into one batch to increase efficiency.
I'm uncertain what the distance range is for, and think that maybe the region size determines the largest area of the scene that the batches can be split into.
My main concern at the moment is that the meshes are not displaying in my app when the export static geometry groups is checked. I would like to know what the correct function of the other settings too.
I'm not sure if this is a PRO only feature, but since the docs do not cover the subject well, I think this post would be a usefull resource for others too.
Thanks
1) I set a group name for similar terrain meshes that share the same materials. This is in the Ofusion Object settings menu.
2) I check the export static geometry groups in the export dialogues.
3)make sure all the items in my scene I want to export are checked, and press the export button.
The problem is that on loading the scene in my app, all the static geometry meshes have disappeared. I have kept the default region dimensions, and tried ranges of 0, 500, 1000
If I hide all of my scene other than a light and a mesh, and assign the single mesh to a static geometry group, sometimes it does seem to draw in my app. Multiple meshes in the scene usualy result in the staticgeometried not working.
The docs are very brief and do not explain what the settings are and how they work with one another. So at the moment I'm uncertain whether I am doing static geometry incorrectly, or whether static geometry is broken.
The Ofusion Help file contains the following information:
Static Geometry
Export Static Geom Groups
If active, objects that are part of Static Geometry groups will be exported as Static Geometry.
Rendering Distance
Cast Shadows
If active, Static Geometry will cast shadows on the scene.
Region Dimensions
Defines the size of each Static Geometry region, values will depend on the type of scene and objects that are part of the Static Geometry groups
My understanding is that with static geometry, static meshes in your scenery that are put in the same static geometry group are split into batches that share the same material, and all triangles sharing the same material are grouped together into one batch to increase efficiency.
I'm uncertain what the distance range is for, and think that maybe the region size determines the largest area of the scene that the batches can be split into.
My main concern at the moment is that the meshes are not displaying in my app when the export static geometry groups is checked. I would like to know what the correct function of the other settings too.
I'm not sure if this is a PRO only feature, but since the docs do not cover the subject well, I think this post would be a usefull resource for others too.
Thanks