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 03-29-2017, 08:40 PM   #4321
SolarLiner
It's necessary, TARS.
 
SolarLiner's Avatar
Default

Quote:
Originally Posted by Marg View Post
 I think sun flare gets to its full intensity too late, when its already a few degrees above horizon, I have a feeling that it should happen earlier, Especially in orbit situations, when orbital sunrise happens, and sun is almost "clear" of atmosphere and still flare is small.
That particular code is taken from the lighting code - and I noticed that too when I was putting it together.
SolarLiner is offline   Reply With Quote
Old 03-29-2017, 09:07 PM   #4322
DaveS
Addon Developer
 
DaveS's Avatar


Default

Speaking of the sunrise/sunset atmosphere effect. The area illuminated is a bit too small, when you compare it to this nice photo from STS-125/HST SM4. Note how the redness extends quite a bit beyond the immediate solar illumination. Not being able to see the full extent of the atmosphere, I would guess that it extends to the full limb. Here's another one from STS-130: https://spaceflight.nasa.gov/gallery...022e062672.jpg

Last edited by DaveS; 03-29-2017 at 09:13 PM.
DaveS is offline   Reply With Quote
Thanked by:
Old 03-29-2017, 10:00 PM   #4323
kuddel
Donator
Default

Quote:
Originally Posted by jarmonik View Post
 I found this code from the client:
PHP Code:
// This mesh group must be skipped by user orders
if ((Grp[g].UsrFlag&0x2) && (Grp[g].MFDScreenId==0)) continue;        
bool bHUD Grp[g].MFDScreenId == 0x100
so, it looks like the flag 0x2 is ignored on purpose if the group is MFD or HUD render surface. I don't recall why it is there but obviously to prevent a malicious behavior in some add-on.

I'll remove it and we see if bug reports are filed regarding a non-functioning MFDs or HUD.
According to "SVN-Blame" and "SVN-Log" the line was introduced to fix some needs for Shuttle fleet MFD, I suspect:
Code:
Revision: 540
Author: jarmonik
Date: Sunday, 20 March 2016 01:34:47
Message:
- Minor code cleanups
- Shuttle fleet MFD fix applied
- Null texture fixed
----
Modified : /trunk/D3D9Client.cfg
Modified : /trunk/Orbitersdk/D3D9Client/AABBUtil.h
Modified : /trunk/Orbitersdk/D3D9Client/AtmoControls.h
Modified : /trunk/Orbitersdk/D3D9Client/D3D9Effect.cpp
Modified : /trunk/Orbitersdk/D3D9Client/D3D9Effect.h
Modified : /trunk/Orbitersdk/D3D9Client/D3D9Frame.h
Modified : /trunk/Orbitersdk/D3D9Client/D3D9Pad.h
Modified : /trunk/Orbitersdk/D3D9Client/D3D9Surface.h
Modified : /trunk/Orbitersdk/D3D9Client/D3D9Util.h
Modified : /trunk/Orbitersdk/D3D9Client/Mesh.cpp
Modified : /trunk/Orbitersdk/D3D9Client/Mesh.h
Modified : /trunk/Orbitersdk/D3D9Client/VBase.h
Modified : /trunk/Orbitersdk/D3D9Client/VVessel.cpp
Modified : /trunk/Orbitersdk/D3D9Client/VVessel.h
Modified : /trunk/Textures/Null.dds
Attached Thumbnails
blame.jpg  
kuddel is offline   Reply With Quote
Thanked by:
Old 03-29-2017, 11:39 PM   #4324
jarmonik
Beta Tester

Default

Thanks, Kuddel.

The line appears to be related to this post: http://www.orbiter-forum.com/showthr...postcount=3592

But that is related to Orbiter2010-P1 build and I can't reproduce the issue with Orbiter 2016. So maybe something else has changed after that.

I guess this is a good example of typical trouble, trying to find solutions that keep things running.

---------- Post added at 02:39 ---------- Previous post was at 02:38 ----------

Quote:
Originally Posted by SolarLiner View Post
 That particular code is taken from the lighting code - and I noticed that too when I was putting it together.
This has been fixed.
jarmonik is offline   Reply With Quote
Thanked by:
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 04:41 AM.

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 - 2017, Jelsoft Enterprises Ltd.
Copyright 2007 - 2012, Orbiter-Forum.com. All rights reserved.