Ok having played with Doc's Oo-Hauler and added lights to it and altered the cockpit "glass" a bit two thoughts struck me:
1) The lights don't actually illuminate - they glow but a white panel next to a red light still looks white - there is no reflected light tones from the light source
2) Everybody's flying around in shiny metal ships with shiny cockpit windows but there are no reflections of one object in another
Now, I know from what little experience I've had with OpenGL (1.3 using GLUT many years ago) - OpenGL is quite capable of these things and many quite old games that use OpenGL manage it too (Unreal Tourney, Quake 3 - to name the two I own). So I'm presuming Giles didn't think this was needed - having just noticed myself, he was probably right - but now I have noticed it's kind of quirky!
What does everybody else think? Is it needed? Can it be implemented? Any clever programmers out there able to make the mods?
Join us at the Oolite Anniversary Party -- London, 7th July 2024, 1pm
More details in this thread.
More details in this thread.
Lights and reflections?
Moderators: winston, another_commander
- DaddyHoggy
- Intergalactic Spam Assassin
- Posts: 8512
- Joined: Tue Dec 05, 2006 9:43 pm
- Location: Newbury, UK
- Contact:
Lights and reflections?
Oolite Life is now revealed hereSelezen wrote:Apparently I was having a DaddyHoggy moment.
- LittleBear
- ---- E L I T E ----
- Posts: 2868
- Joined: Tue Apr 04, 2006 7:02 pm
- Location: On a survey mission for GalCop. Ship: Cobra Corvette: Hidden Dragon Rated: Deadly.
A "Headlight" as a buyable item?
Would be cool, but think needs a charge to the exe!
Would be cool, but think needs a charge to the exe!
OXPS : The Assassins Guild, Asteroid Storm, The Bank of the Black Monks, Random Hits, The Galactic Almanac, Renegade Pirates can be downloaded from the Elite Wiki here.
-
- Quite Grand Sub-Admiral
- Posts: 364
- Joined: Tue Aug 17, 2004 7:05 am
- Location: Orange, NSW, Australia
Giles and Ahruman had a few conversations in the theads about this that went over everyone else's heads.
I think the shader work was meant to do some of this stuff. But shaders can only be guaranteed on the Mac - for instance I have no hardware capable of running Giles shader code.
There might be other ways to do it, like define the materials for the models to use specular lighting or something, but my knowledge of graphics coding isn't up to that stuff. I just leave all the OpenGL code as-is.
I think the shader work was meant to do some of this stuff. But shaders can only be guaranteed on the Mac - for instance I have no hardware capable of running Giles shader code.
There might be other ways to do it, like define the materials for the models to use specular lighting or something, but my knowledge of graphics coding isn't up to that stuff. I just leave all the OpenGL code as-is.
Regards,
David Taylor.
David Taylor.
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Real reflection mapping is a big project. It requires rendering six views of the universe for each object that’s intended to be shiny.
E-mail: [email protected]
- DaddyHoggy
- Intergalactic Spam Assassin
- Posts: 8512
- Joined: Tue Dec 05, 2006 9:43 pm
- Location: Newbury, UK
- Contact:
@Ahruman - six renderings? Jeez - at that point a lot of people's hardware is going to fall over (possibly mine included - although I call play UnR T and Q3A so possibly not) - and a lot of coding too - how about real lighting then i.e. a game light casts light of the correct colour of objects within a certain range? Any easier?
BTW, you've made the Cap'n very happy - the boy's got Cabin Fever I'm sure of it!
BTW, you've made the Cap'n very happy - the boy's got Cabin Fever I'm sure of it!
Oolite Life is now revealed hereSelezen wrote:Apparently I was having a DaddyHoggy moment.
- Captain Hesperus
- Grand High Clock-Tower Poobah
- Posts: 2310
- Joined: Tue Sep 19, 2006 1:10 pm
- Location: Anywhere I can sell Trumbles.....
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Probably, but I for one ain’t doing it any time soon.DaddyHoggy wrote:how about real lighting then i.e. a game light casts light of the correct colour of objects within a certain range? Any easier?
E-mail: [email protected]