ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > irrEdit
forum topic indicator Difference in lighting
person icon
zeroth
Registered User
Quote
2009-06-16 14:43:25

Hello,

I'm having a problem with lighting when switching from IrrEdit to my Irrlicht-based application. In IrrEdit I have a simple rectangular mesh (.obj), which when lit looks like this:

embedded external image
🔎︎


As you can see, the light is nicely interpolated across the surface. However, when I load the scene in my application the mesh is lit very differently:

embedded external image
🔎︎


(the light that I placed in irrEdit is located directly above the character model)

The mesh only becomes lit at all when the light nears one of the mesh's vertices:

embedded external image
🔎︎


Would anybody be able to explain why this is happening? Thank you for reading.

person icon
niko
Moderator
Quote
2009-06-16 16:54:17

Are you using the an irrEdit version compatible to your irrlicht version? There have been made several changes to the lighting system, maybe this is the cause of the problem.

person icon
zeroth
Registered User
Quote
2009-06-16 17:28:55

I'm using irrEdit and Irrlicht SDK 1.5.

EDIT: I have also noticed that when I try to load the scene in irrEdit, the mesh is lit as it is in my application (only vertices lit). It seems that the mesh is only lit as I desire (first screenshot) when it is initially imported into the scene.


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 |