Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Hi everyone, We're using Irrlicht for our university game project, all is well so far. The issue right now is how to light a scene for the game. For collision we need to import the level model as an Octree. Is it impossible to light a mesh as an Octree in Irredit? If so, what's the best way to get light maps into a max mesh for Irrlicht? |
||||
|
currently, occtrees cannot be lighted, sorry. |
||||
|
Ok, thanks! |
||||
|
Hi. You could light the mesh AS a mesh, then convert it after that as an octree. Let me explain more: You do the work in 2 pass: - First pass, you build your scene and all objects are loaded as MESH. You setup your light and create your level - Second pass, you take in note the position of the meshes that you need as octree, delete them. You reload them as octrees, put them at the same position, then apply the calculated lightmap over them. With the new version and the ability to save as IRRmesh. There also offer other possibilities |
||||
|
|