3D scene: Lighting modes

Involved development of the OpenMW construction set.
User avatar
Zini
Posts: 5134
Joined: 06 Aug 2011, 15:16

3D scene: Lighting modes

Post by Zini » 10 Nov 2013, 12:32

Since we have OGRE integration in master now (still needs some fixing), its time to start discussing lighting modes.

We will have a single button that shows the currently selected lighting mode and when clicked on, will pop up a horizontal list of buttons that represent all lighting modes (widget already implemented).

I am currently considering these modes:

- no additional lighting (only light from light objects)
- some ambient lighting
- a single spot light (above the camera, simulating the sun)
- spot light and ambient lighting

Comments?

btw. we should try to keep this one simple, i.e. no additional settings for the lighting modes; the user should just chose one and be done with it. For a more detailed examination he can always view the scene in OpenMW (we will also get a button for that eventually).

Tarius
Posts: 574
Joined: 24 Oct 2011, 19:29

Re: 3D scene: Lighting modes

Post by Tarius » 10 Nov 2013, 20:27

Something that allows for full bright. In alot of cases(but not all of course), it doesnt matter what the lighting looks like when you are placing objects because you just wanna see the object and those around it. This is likely just an extension of ambient cranked up all the way.
I am a bigger fan of tons of control rather than taking the "user-friendly" approach.
-Okulo

User avatar
Rhys
Posts: 113
Joined: 06 Aug 2011, 01:51
Location: Australia

Re: 3D scene: Lighting modes

Post by Rhys » 11 Nov 2013, 03:29

Zini wrote: - no additional lighting (only light from light objects)
- some ambient lighting
- a single spot light (above the camera, simulating the sun)
- spot light and ambient lighting
Not sure if you included this already but it definitely IMO needs daytime ( sun and no light objects ) and night ( moon and all light objects ) view.
Perhaps there might be seperate lighting options for interior and exterior cells

Exterior:
- day ( sun + no light objects unless interior )
- night ( moon + all light objects )
- ambient ( even lighting + no light objects )
- ambient boost ( brighter ambient lighting )
- ambient + lights ( even lighting + light objects on )
- virtual lights ( object is lit from a 3 set lights from various directions depending on mesh normal to view ) This is like a 3D program lighting, the light on the faces change as you move the viewport.

Interior:
- normal lighting (only light from light objects + cell natural ambience)
- ambient ( even white lighting + no light objects )
- ambient boost ( brighter white ambient lighting )
- ambient + lights ( even lighting + light objects on )
- virtual lights ( object is lit from a 3 set lights from various directions depending on mesh normal to view ) This is like a 3D program lighting, the light on the faces change as you move the viewport.

Chris
Posts: 1297
Joined: 04 Sep 2011, 08:33

Re: 3D scene: Lighting modes

Post by Chris » 11 Nov 2013, 04:25

Having a 'time of day' slider (and probably a weather selection) would make a lot of sense, to see how the place would look in various weather conditions at various times. This could be important for interiors too, since I imagine we'll eventually have the ability to place light sources inside that simulate the light from outside (e.g. lights streaming in from windows or cave entrances that change in brightness and color dependeing on the outside weather and time of day).

User avatar
Zini
Posts: 5134
Joined: 06 Aug 2011, 15:16

Re: 3D scene: Lighting modes

Post by Zini » 11 Nov 2013, 09:14

Let's try to keep this simple. A few modes are okay. A few more modes, too. But additional configuration for these modes is overkill (and can also become very annoying very fast). You can always launch OpenMW to have a quick peek on how it looks in-game.

@Rhys: Why would you exclude light objects? They are always present (unless disabled by a script), so I do not see the point of having a lighting mode that excludes them.

User avatar
Rhys
Posts: 113
Joined: 06 Aug 2011, 01:51
Location: Australia

Re: 3D scene: Lighting modes

Post by Rhys » 11 Nov 2013, 10:39

Zini wrote:@Rhys: Why would you exclude light objects? They are always present (unless disabled by a script), so I do not see the point of having a lighting mode that excludes them.
I haven't played Morrowind for years but is it that lights don't run in the daytime?

I guess as you say there is no reason to have lights off with ambient lighting mode but if there is a daytime lighting mode then lights should render as they would in-game.

User avatar
Zini
Posts: 5134
Joined: 06 Aug 2011, 15:16

Re: 3D scene: Lighting modes

Post by Zini » 11 Nov 2013, 15:41

I am fairly sure that light objects are not switched off during daytime.

User avatar
Zini
Posts: 5134
Joined: 06 Aug 2011, 15:16

Re: 3D scene: Lighting modes

Post by Zini » 27 Mar 2014, 14:53

The first iteration of the lighting modes is now in master. As with the navigation feature, this is subject to change. Even more so, I suspect, since only once we have a proper scene to light, we can say for sure if those lighting modes are any good.

Lighting modes can be selected via a new button in the render subview toolbar (2nd button in the view subview, 1st button in the preview subview). Icons are only placeholders at this time.

Available modes:

Day: Ambient as per cell data (interior) or medium ambient light (exterior), plus a medium directional light pointing vertically down (simulating sunlight)
Night: Ambient as per cell data (interior) or low ambient light (exterior), plus a weak directional light pointing vertically down (simulating moon/starlight)
Bright: Max ambient light (ignoring cell data), plus a strong directional light pointing vertically down.

seneca37
Posts: 11
Joined: 11 Apr 2014, 16:30

Re: 3D scene: Lighting modes

Post by seneca37 » 11 Apr 2014, 16:48

As an Interior Modeler and Reviewer for TR I have a few suggestions
1) I never use CS without turning on the bright light. The default setting is unrealistic - its way too dark. If you could make the default light setting match the in-game view, that would be nice.
2) One general ambient bright light - similar to the bright light in the CS is good.
3) When checking item placement, I sometimes need to bring in an additional white light. It would be nice to have a spot light directly where the camera is - pointing forward. This would be useful for placing dark items against dark walls.

User avatar
sirherrbatka
Posts: 2121
Joined: 07 Aug 2011, 17:21

Re: 3D scene: Lighting modes

Post by sirherrbatka » 13 Apr 2014, 12:03

Welcome on our boards and thank you for your sugestions!

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests