Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

3 Dimensional Chat / Trouble making light in DBO map

Author
Message
Demon Knight
20
Years of Service
User Offline
Joined: 8th Feb 2006
Location:
Posted: 9th Feb 2006 04:49
Hello. I am new to using the DBO format for my levels. It seems like the MAKE LIGHT command is just ignored in the code. I was wondering if this was just something that happens with DBO maps, as I have not had the problem when I use BSP. I'm trying to programatically create some of my lights so that they can actually move or animate instead of just the ones in the lightmap, so that I can have a flickering light affect for fire.
Does anyone have a solution to this?
Thanx
Van B
Moderator
23
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 9th Feb 2006 16:57
You'd have to make sure that lighting is actually enabled in the first place. Like with Lightmaps, often it's best to disable lighting, like let the light map take care of it all. This increases performance as DX is quicker at displaying unlit objects, this means though that for dynamic lighting, you have to re-enable lighting on your meshes.

If you can get at the object numbers used, try just giving each a:

SET OBJECT LIGHT obj,1

This should enable lighting on that object, not sure how it will be at handling whole world scenes though.


Van-B

Put away, those fiery biscuits!
Demon Knight
20
Years of Service
User Offline
Joined: 8th Feb 2006
Location:
Posted: 10th Feb 2006 02:28
I tried SET OBJECT LIGHT on my DBO object. I still don't get any light except for the lightmapped ones. But I might be doing it wrong...when you said if i can get at the object numbers used, did you mean objects that make up the map or just the map itself?
I created the map in DeleD and exported to DBO as one object.
When you say whole world scenes did you mean you were not sure on how the light would work on the walls and floors etc.. that make up my DBO map? Making the light in these places is what I'm trying to do.
I would prefer to animate the lights in the lightmap itself, but im not sure on how this works in DeleD.

Sorry about all the ?'s. I'm just new to using lightmaps and such.

Anyway, I will keep researching this issue. Thanks for your help so far.

Login to post a reply

Server time is: 2026-07-26 11:48:47
Your offset time is: 2026-07-26 11:48:47