Search found 8 matches

by monsterguden
Tue Apr 08, 2008 1:53 pm
Forum: Beginners Help
Topic: Light in BSP maps
Replies: 10
Views: 737

I had a discussion with rogerborg ages ago. Go and read our discussion regarding his light manager. For example, your lights will bleed through walls unless you only draw the N faces visible to light L and facing it. A bsp tree may be helpful... Ok, that sounds very advanced and i dont think thats ...
by monsterguden
Wed Jan 30, 2008 11:03 am
Forum: Beginners Help
Topic: Light in BSP maps
Replies: 10
Views: 737

And here it is, a simple tutorial over how me and my team got it working... its ugly but it works, OK!? :twisted:

http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=26006
by monsterguden
Wed Jan 30, 2008 11:00 am
Forum: FAQs, Tutorials, Howtos, and external tool lists
Topic: Dynamic Lights in .bsp map
Replies: 1
Views: 2598

Dynamic Lights in .bsp map

Hi everyone! I just want to make a simple tutorial over how to use dynamic lights in a .bsp map instead of the pre-rendered lightmaps that is included in bsp. I know this code aint pretty, but its the only way i managed to get it working correctly! First of all, you need to set the ambient light in ...
by monsterguden
Wed Jan 30, 2008 10:52 am
Forum: Beginners Help
Topic: Light in BSP maps
Replies: 10
Views: 737

thx for all help, its up and running now. i will make a post containing our solution to the problem later in another thread so no one else has to go throu the process we just had to. like 8 hours of trial an error to get a simple light to work with a .bsp map...
by monsterguden
Wed Jan 30, 2008 8:41 am
Forum: Beginners Help
Topic: Light in BSP maps
Replies: 10
Views: 737

When using EMT_LIGHTMAP_LIGHTING instead of solid, all light dissapears. Back to black...

levelNode->setMaterialType(video::EMT_LIGHTMAP_LIGHTING);
instead of
levelNode->setMaterialType(video::EMT_SOLID);
by monsterguden
Tue Jan 29, 2008 2:27 pm
Forum: Beginners Help
Topic: Light in BSP maps
Replies: 10
Views: 737

and here we go again...

when using emt_solid i got light, ambient light.
as usual the other stuff on the map is affected by diffuse and specular bot no effect at all to the map...

plx help.
by monsterguden
Tue Jan 29, 2008 12:31 pm
Forum: Beginners Help
Topic: Light in BSP maps
Replies: 10
Views: 737

i got it! ;)

like 5 mins later, sorry for bad post.

the fix, the howto

levelNode->setMaterialType(video::EMT_SOLID);
by monsterguden
Tue Jan 29, 2008 12:23 pm
Forum: Beginners Help
Topic: Light in BSP maps
Replies: 10
Views: 737

Light in BSP maps

Im trying to use dynamic lights in bsp map instead of the pre-rendered. The light im using works on everything in the world except the map. Code for loading of map: mMap = (IQ3LevelMesh*)mSmgr->getMesh( levelOptions.meshName.c_str() ); // setup scene node for the level mesh levelNode = NULL; levelNo...