A Description of the Improved Lighting and Materials System

General discussion for players of Oolite.

Moderators: winston, another_commander

User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: A Description of the Improved Lighting and Materials System

Post by Cody »

What's this, Griff - you got a top hat now? Very snazzy!
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
Griff
Oolite 2 Art Director
Oolite 2 Art Director
Posts: 2484
Joined: Fri Jul 14, 2006 12:29 pm
Location: Probably hugging his Air Fryer

Re: A Description of the Improved Lighting and Materials System

Post by Griff »

i changed my hat for a santa one for Christmas, then found this one when i was looking for my usual hat go to back, thought i'd try it out for a bit :)
User avatar
Redspear
---- E L I T E ----
---- E L I T E ----
Posts: 2694
Joined: Thu Jun 20, 2013 10:22 pm
Location: On the moon Thought, orbiting the planet Ignorance.

Re: A Description of the Improved Lighting and Materials System

Post by Redspear »

Griff wrote: Sun Jan 16, 2022 5:43 pm

Image
As it looks like no one else has said it yet... That's a(nother) great looking model Griff.

The Sidewinder was always one of my favourites and your tribute to the original distinctive shape combined with fine yet distinctive detailing works really well. Kudos.

As for the colour scheme, what were you thinking? :shock: (just kidding :P )
User avatar
Cholmondely
Archivist
Archivist
Posts: 5381
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: A Description of the Improved Lighting and Materials System

Post by Cholmondely »

Griff wrote: Mon Jan 17, 2022 12:29 pm
i changed my hat for a santa one for Christmas, then found this one when i was looking for my usual hat go to back, thought i'd try it out for a bit :)
Ummm... silk or felt?
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
User avatar
Griff
Oolite 2 Art Director
Oolite 2 Art Director
Posts: 2484
Joined: Fri Jul 14, 2006 12:29 pm
Location: Probably hugging his Air Fryer

Re: A Description of the Improved Lighting and Materials System

Post by Griff »

thanks for the kind words Redspear, i've been picking away at it for ages, it's the first model that i've successfully 'baked' some of the highpoly details from into a normal map, i tried earlier with a cobraIII model and it was a distaster, but it seemed to work OK with this one. Plan with this is to get it looking great with Oolite's Materials then try for shader version just for the engine glows and decals and stuff

@Cholmondely
It's more like a tube of crepe paper shaped into a hat i think :D
User avatar
Cholmondely
Archivist
Archivist
Posts: 5381
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: A Description of the Improved Lighting and Materials System

Post by Cholmondely »

Issues brought here from elsewhere

Metallic Material with a non-Black diffuse map
cbr wrote: Mon Jun 27, 2022 6:36 pm
wonder question...

gloss = 0
Image
Image
gloss = 1
Image
gloss = 1 and partial color overlay diffuse map
Image

The original grayscale diffuse map
Added
monocolor ( yellow fill ) spec map with
grayscale gloss in alpha

Why do I see blue areas? :shock: :?:
another_commander wrote: Mon Jun 27, 2022 6:56 pm
cbr wrote: Mon Jun 27, 2022 6:36 pm
Why do I see blue areas? :shock: :?:
Because you have created an impossible material and because Oolite's lighting model complies with light energy conservation.

Only metals can have colored specular in nature and, as we know already, if you have a metallic material then you need to provide a black diffuse map. You are providing a non-black diffuse, therefore you are creating a material that cannot exist in nature.

Still, Oolite tries to apply physically based lighting that conforms to light energy conservation to that impossible material. In doing so, it creates a specular reflection with the inverse of the color you have provided in the spec map. If you are providing a yellow specular, that inverse color will be blue.

Solution: Avoid invalid materials.
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
User avatar
cbr
---- E L I T E ----
---- E L I T E ----
Posts: 1425
Joined: Thu Aug 27, 2015 4:24 pm

Re: A Description of the Improved Lighting and Materials System

Post by cbr »

When using the new materials system does / should

"smooth" = no;

Still work for light and shadow(s)?
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6696
Joined: Wed Feb 28, 2007 7:54 am

Re: A Description of the Improved Lighting and Materials System

Post by another_commander »

cbr wrote: Tue Oct 25, 2022 8:09 pm
When using the new materials system does / should

"smooth" = no;

Still work for light and shadow(s)?
I don't see why it shouldn't. Lighting does not depend on the mesh it is applied on.
User avatar
cbr
---- E L I T E ----
---- E L I T E ----
Posts: 1425
Joined: Thu Aug 27, 2015 4:24 pm

Re: A Description of the Improved Lighting and Materials System

Post by cbr »

Image

Well the shadows do make the model look better, perhaps I expected the shadows 'harsher' pronounced...
User avatar
cbr
---- E L I T E ----
---- E L I T E ----
Posts: 1425
Joined: Thu Aug 27, 2015 4:24 pm

Re: A Description of the Improved Lighting and Materials System

Post by cbr »

Any chance of a decal function for the new and improved materials system?

Image

:!: :?:
User avatar
cbr
---- E L I T E ----
---- E L I T E ----
Posts: 1425
Joined: Thu Aug 27, 2015 4:24 pm

Re: A Description of the Improved Lighting and Materials System

Post by cbr »

Image

The original gsagostinho textures had that nice lacquer paint look,
is it possible to recreate that with the improved lighting and materials system?
Switeck
---- E L I T E ----
---- E L I T E ----
Posts: 2411
Joined: Mon May 31, 2010 11:11 pm

Re: A Description of the Improved Lighting and Materials System

Post by Switeck »

cbr wrote: Wed Oct 26, 2022 10:57 pm
Image

Well the shadows do make the model look better, perhaps I expected the shadows 'harsher' pronounced...
I'm still looking for what OXP/OXZ that station can be found in...
User avatar
Cholmondely
Archivist
Archivist
Posts: 5381
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: A Description of the Improved Lighting and Materials System

Post by Cholmondely »

Switeck wrote: Sun Sep 24, 2023 12:55 am
cbr wrote: Wed Oct 26, 2022 10:57 pm
Image

Well the shadows do make the model look better, perhaps I expected the shadows 'harsher' pronounced...
I'm still looking for what OXP/OXZ that station can be found in...
cbr was good enough to create an oblong version for Xeptatl's Sword as an updated version of the monitor station. But we were looking for something which was less obvious and disguisable as an asteroid or some such (fitting in with Smiv's original concept), and are thus stuck with the shrunken Jaguar Company station with the too-tight docking tunnel... :oops:
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
Post Reply