Delgine 3D Tools & Content DeleD Community Edition
Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

imposible to make a daytime indoor/outdoor map?

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    DeleD Community Edition Forum Index -> DeleD Community Edition
View previous topic :: View next topic  
Author Message
eonblue
Member


Joined: 02 Dec 2005
Posts: 44
Location: Edmonton

PostPosted: Sun Sep 24, 2006 8:08 pm    Post subject: imposible to make a daytime indoor/outdoor map? Reply with quote

after a year break im back Smile

but what troubled me last year was i was trying to make a daytime map but i could only get the indoors of the map as dark as the outdoor shadows. the only way i was able to acomplish rooms inside with no lights was having the shadows outside pitch dark? is this fixed or am i just doing somthing wrong?.

edit: hey why dont people come chill on irc?
_________________
eonblue.org
Back to top
View user's profile Send private message Visit poster's website
jwatte
DeleD PRO user


Joined: 26 Apr 2006
Posts: 513

PostPosted: Sun Sep 24, 2006 9:48 pm    Post subject: Reply with quote

As a work-around, you can have two sets of textures: one set for indoors, and one set for outdoors. Make the indoors texture significantly darker than the outdoor textures.

The general problem is that the DeleD lightmapper doesn't do any kind of global illumination solution, so you won't get shadows based on exposure to other lit surfaces. Not even general radiosity would necessarily fix this -- however, a "sky dome" light might help. A Sky Dome light is a light which has the same intensity from each direction, and each point casts some number of rays out to infinity (on the order of 15-40) to figure out how much of the point is illuminated by the sky.

A hackier work-around (again, it requires updates to the light mapper) is to support "zones" within the level, where different zones can have different ambient brightness levels. The only reason I mention this, is because zones with user-settable properties are a generally good thing for maps in many engines :-)
Back to top
View user's profile Send private message
Paul-Jan
Site Admin


Joined: 08 Aug 2004
Posts: 3066
Location: Lage Zwaluwe

PostPosted: Wed Sep 27, 2006 7:40 pm    Post subject: Reply with quote

In addition to what JWatte said above:

The lightmapper doesn't have the concepts of 'indoors' and 'outdoors', it just knows about faces blocking light. Which is kinda how nature works, except for nature having fancy additional concepts of transfering light / energy through and in between surfaces Laughing

On a serious note, do you have a suggestion yourself on how you would like to address this issue? Do you have previous experience with other lightmappers that allow you to mark indoor/outdoor zones and set separate properties, or are you looking for Global Illumination / Radiosity like behaviour?

As for a workaround, I would personally suggest you try
1. setting shadow opacity to full (this will be your indoor darkness level) and
2. using an extra directional 'fill light' (orthogonal to your key light source) to make the shadows outdoors less harsh.
Back to top
View user's profile Send private message Visit poster's website
Daaark
DeleD PRO user


Joined: 01 Sep 2004
Posts: 2696
Location: Ottawa, Canada

PostPosted: Wed Sep 27, 2006 7:58 pm    Post subject: Reply with quote

LIGHTMAP SELECTION would help. Just light your outdoors one way, and light the rest with the other settings.
_________________
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Vijchti
Member


Joined: 16 Aug 2006
Posts: 250

PostPosted: Thu Sep 28, 2006 1:59 am    Post subject: Reply with quote

An interesting way to solve this problem would be to do so in the code of your game -- have it dynamically change the brightness of the screen based on whether you're indoors or out, the way your eye adjusts naturally. I don't know if you're working on a game right now, but that'd be damn cool.
_________________

"Psst, Here's a secret...Your last mortal thought will be,
'Why did I take so many days - just like today - for granted?'"
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    DeleD Community Edition Forum Index -> DeleD Community Edition All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum