Orbiter-Forum  

Go Back   Orbiter-Forum > Orbiter Space Flight Simulator > Orbiter Visualization Project
Register Blogs Orbinauts List Social Groups FAQ Projects Mark Forums Read

Orbiter Visualization Project Orbiter external graphics development.

Reply
 
Thread Tools
Old 04-19-2018, 09:40 PM   #4486
kuddel
Donator
Default

Hi Jarmo,
nice you found some time

I've checked to see what differences there are and found some (minor) issue.

The local light is not "brighter than the sun", so your vessel still casts a shadow into the lit area.
That looked strange when hovering with the sun in the back...(see attachment)
Maybe a different render order would already fix that.

Not a big issue, but since you are there, you might have an easy solution at hand.
Attached Thumbnails
Local lights and sun shadow.jpg  

Last edited by kuddel; 04-19-2018 at 10:40 PM.
kuddel is offline   Reply With Quote
Old 04-20-2018, 08:14 AM   #4487
4throck
Enthusiast !
 
4throck's Avatar
Default

It works! Thank you for adding it.


But the effect is too sharp.
The inline client has a more natural light dropoff on the edges.

Here's what I get with downward facing Altair landing lights on:



Not complaining, just thinking about for consistency.
I know these things take time to get right!

Last edited by 4throck; 04-20-2018 at 11:44 AM.
4throck is offline   Reply With Quote
Old 04-20-2018, 01:39 PM   #4488
jarmonik
Beta Tester

Default

Quote:
Originally Posted by 4throck View Post
 But the effect is too sharp.
The inline client has a more natural light dropoff on the edges.
I double checked the math and couldn't find anything wrong.

What values of Penumbra and Umbra are used in your code for the spotlight ?

---------- Post added at 16:39 ---------- Previous post was at 16:36 ----------

Quote:
Originally Posted by kuddel View Post
 I've checked to see what differences there are and found some (minor) issue.
Sadly it isn't a rendering order issue so it gets a bit more complicated but I'll look into it.
jarmonik is offline   Reply With Quote
Thanked by:
Old 04-20-2018, 05:41 PM   #4489
kuddel
Donator
Default

Quote:
Originally Posted by jarmonik View Post
 Sadly it isn't a rendering order issue so it gets a bit more complicated but I'll look into it.
...no pressure
kuddel is offline   Reply With Quote
Reply

  Orbiter-Forum > Orbiter Space Flight Simulator > Orbiter Visualization Project

Tags
d3d9client, graphicsclient


Thread Tools

Posting Rules
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


All times are GMT. The time now is 08:57 PM.

Quick Links Need Help?


About Us | Rules & Guidelines | TOS Policy | Privacy Policy

Orbiter-Forum is hosted at Orbithangar.com
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright 2007 - 2017, Orbiter-Forum.com. All rights reserved.