ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > irrEdit
forum topic indicator Octree lighting
person icon
Lorka
Registered User
Quote
2007-12-03 20:41:04

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?

person icon
niko
Moderator
Quote
2007-12-13 08:47:07

currently, occtrees cannot be lighted, sorry.

person icon
Lorka
Registered User
Quote
2007-12-14 16:12:38

Ok, thanks!

person icon
Christian Clavet
Registered User
Quote
2007-12-20 02:58:56

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


Create reply:










 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






Copyright© Ambiera e.U. all rights reserved.
Contact | Imprint | Products | Privacy Policy | Terms and Conditions |