Go Back   Knife Edge > RealFlight - Designer's Corner > RealFlight 8 - Designer's Corner
Use of this site is subject to our Terms of Use. | Technical Support is available from Great Planes Software Support.

Reply
 
Thread Tools Rate Thread Display Modes
  #16  
Old 11-30-2017, 12:13 PM
BrokeDad's Avatar
BrokeDad BrokeDad is online now
Registered User
 
Join Date: Dec 2014
Posts: 920
There is a line in the rfvehicle files that says this. I don't know if it could be relevant.

EnableDaytimeLights=BOOL:No

If I change it to Yes the lights come on like the ones on the propeller.

Last edited by BrokeDad; 11-30-2017 at 12:18 PM.
Reply With Quote
  #17  
Old 11-30-2017, 02:16 PM
legoman's Avatar
legoman legoman is online now
Registered User
 
Join Date: Feb 2011
Location: SW, Florida
Posts: 875
Quote:
Originally Posted by technoid View Post
OPPs I had shadows turned off and there are some problems when I turn them on, they cast ugly shadows on the dashboard frame and the instruments. Is there a way to turn off the shadows in RF-8 per Object? I tried turning the shadows off in the 3ds properties dialog box that that didn't have any effect. What I want to do is turn off shadows for the dashboard frame and the dashboard itself. I also tried making the dashboard frame BLACK in the SPEC MAP RGB and ALPHA layers but the UGLY shadows were still there. Anyway any help would be appreciatied.
A picture is worth a thousand words.
__________________
Even pigs and bricks will fly with enough thrust.
Reply With Quote
  #18  
Old 11-30-2017, 02:45 PM
adrenoline 60 adrenoline 60 is offline
Registered User
 
Join Date: Jan 2014
Location: Wisconsin
Posts: 479
Well you could try this
Attached Images
File Type: jpg V lazy.jpg (92.2 KB, 17 views)
Reply With Quote
  #19  
Old 11-30-2017, 02:56 PM
technoid's Avatar
technoid technoid is offline
Registered User
 
Join Date: Oct 2014
Location: North Texas
Posts: 3,466
Quote:
Originally Posted by legoman View Post
A picture is worth a thousand words.
Actually a picture of the problem doesn't do justice to it because the discolored areas on the dash frame and gauges move and flash in and out as the shadows move and go in and out, but here's two pictures for you. The first is with shadows and you can see some discolored areas on the left side of the dash frame and also discolored areas on the gauges. The second picture is without shadows and what I want it to look like, and if I could disable shadows on objects I could get it to look that way.
Attached Images
File Type: jpg Lazy Eight Mk II 08.jpg (250.0 KB, 13 views)
File Type: jpg Lazy Eight Mk II 09.jpg (255.1 KB, 13 views)
Reply With Quote
  #20  
Old 11-30-2017, 03:00 PM
technoid's Avatar
technoid technoid is offline
Registered User
 
Join Date: Oct 2014
Location: North Texas
Posts: 3,466
Quote:
Originally Posted by adrenoline 60 View Post
Well you could try this
Don't laugh I actually thought about making the canopy very short so the sun couldn't shine in the sides, but that would look kinda dumb I think.
Reply With Quote
  #21  
Old 11-30-2017, 03:25 PM
Ryan Douglas's Avatar
Ryan Douglas Ryan Douglas is offline
Administrator
 
Join Date: Mar 2002
Location: Corvallis, OR
Posts: 2,617
About lights

The RF8 engine is much more limited than RF-X when it comes to lighting.

Historically, lights have only "turned on" (been rendered) when the sun angle drops below 10 degrees. Certain rendering tricks are applied to give them the appearance of a light source, but the reality is they are not. They are not emissive, meaning they do not cast light.

RealFlight Drone presented a new problem. A lot of the multirotors being modeled had LEDs that are always on and which are an important part of the design, both aesthetically and functionally. We needed them to show up during the day as well as at night. We added an "Enable Daytime Lights" property in the editor (which we brought over to RF8 from RFDrone) which forces them to be rendered during the day. It is a vehicle-level property appearing in the Vehicle pane in the editor, and it maps to the .ini entry BrokeDad referenced. So no need to edit the .ini directly.

Due to limitations of the RF8 engine, daytime lights only get some of the nighttime treatment. That means they don't look as good or as bright during the day. Also, it's all or nothing; when on, all glow frames on the vehicle will light up, including any on the propeller/rotor blades. The props being used on drones typically don't have lights so that's not much of an issue. It will be more of a problem for planes & helis.

In case anyone's memory needs refreshing: Geometry tagged as ~CS_GLOW only appears when lights are on (at night, or when forced on). It completely disappears when lights are off. On the other hand, ~CS_BULB frames are visible at all times, but whether or not the light portion is on.
Reply With Quote
  #22  
Old 11-30-2017, 03:27 PM
Ryan Douglas's Avatar
Ryan Douglas Ryan Douglas is offline
Administrator
 
Join Date: Mar 2002
Location: Corvallis, OR
Posts: 2,617
Oh, and you asked whether it's possible to turn off shadows per object. Setting Shadow Quality to Low turns them off for airport objects, but no, there is no way to more selectively enable/disable them for a vehicle or its parts.

I don't know if toggling Soft Shadows would help with your situation at all. It might be worth trying.
Reply With Quote
  #23  
Old 11-30-2017, 03:59 PM
technoid's Avatar
technoid technoid is offline
Registered User
 
Join Date: Oct 2014
Location: North Texas
Posts: 3,466
Quote:
Originally Posted by Ryan Douglas View Post
Oh, and you asked whether it's possible to turn off shadows per object. Setting Shadow Quality to Low turns them off for airport objects, but no, there is no way to more selectively enable/disable them for a vehicle or its parts.

I don't know if toggling Soft Shadows would help with your situation at all. It might be worth trying.
Thanks Ryan for chiming in on this. I've already tried soft shadows on and off and I didn't see any difference, and didn't expect to. I also didn't expect the ability of turning shadows off per object either but I wanted to make sure my assumption was correct.
Reply With Quote
  #24  
Old 11-30-2017, 08:51 PM
legoman's Avatar
legoman legoman is online now
Registered User
 
Join Date: Feb 2011
Location: SW, Florida
Posts: 875
Quote:
Originally Posted by technoid View Post
Actually a picture of the problem doesn't do justice to it because the discolored areas on the dash frame and gauges move and flash in and out as the shadows move and go in and out, but here's two pictures for you. The first is with shadows and you can see some discolored areas on the left side of the dash frame and also discolored areas on the gauges. The second picture is without shadows and what I want it to look like, and if I could disable shadows on objects I could get it to look that way.
The first pics looks like bad/incomplete smoothing groups, the second looks like good smoothing goups. at least with the frame. I could not get big verisons of the pics I could not see much of the instruments but i am assuming it is the same problem.
__________________
Even pigs and bricks will fly with enough thrust.
Reply With Quote
  #25  
Old 11-30-2017, 09:10 PM
technoid's Avatar
technoid technoid is offline
Registered User
 
Join Date: Oct 2014
Location: North Texas
Posts: 3,466
Quote:
Originally Posted by legoman View Post
The first pics looks like bad/incomplete smoothing groups, the second looks like good smoothing goups. at least with the frame. I could not get big verisons of the pics I could not see much of the instruments but i am assuming it is the same problem.
The pictures are the exact same plane at the same time, the only thing different between them is I turned the shadows OFF in the RF menu for the second picture.
Reply With Quote
  #26  
Old 11-30-2017, 09:22 PM
abaser's Avatar
abaser abaser is online now
Registered User
 
Join Date: Jun 2010
Location: stuttgart, AR
Posts: 4,289
The problem with shadows is there's really nothing you can do about them. That goes for RF and the real world. I say let em do their thing. I've looked at your pics closely and I see nothing really that looks "bad". Just something to be expected.
Reply With Quote
  #27  
Old 11-30-2017, 09:22 PM
legoman's Avatar
legoman legoman is online now
Registered User
 
Join Date: Feb 2011
Location: SW, Florida
Posts: 875
Quote:
Originally Posted by technoid View Post
The pictures are the exact same plane at the same time, the only thing different between them is I turned the shadows OFF in the RF menu for the second picture.
I know that was me not saying check the smoothing groups.
__________________
Even pigs and bricks will fly with enough thrust.
Reply With Quote
  #28  
Old 11-30-2017, 09:28 PM
abaser's Avatar
abaser abaser is online now
Registered User
 
Join Date: Jun 2010
Location: stuttgart, AR
Posts: 4,289
Quote:
Originally Posted by legoman View Post
I know that was me not saying check the smoothing groups.
The edges look too crisp to be SG's to me but I could be wrong.
Reply With Quote
  #29  
Old 11-30-2017, 10:00 PM
legoman's Avatar
legoman legoman is online now
Registered User
 
Join Date: Feb 2011
Location: SW, Florida
Posts: 875
Quote:
Originally Posted by abaser View Post
The edges look too crisp to be SG's to me but I could be wrong.
If the vertices share a smoothing group across a corner they will still act up.
__________________
Even pigs and bricks will fly with enough thrust.
Reply With Quote
  #30  
Old 11-30-2017, 11:45 PM
technoid's Avatar
technoid technoid is offline
Registered User
 
Join Date: Oct 2014
Location: North Texas
Posts: 3,466
Quote:
Originally Posted by abaser View Post
The problem with shadows is there's really nothing you can do about them. That goes for RF and the real world. I say let em do their thing. I've looked at your pics closely and I see nothing really that looks "bad". Just something to be expected.
I understand there's nothing that can be done, but we're different.. I think they make the pilot view look bad and would like to be able to fix it. I can't fix it and I'll live with it.. but I don't have to like it. Sorry about that it's just my personal opinion. Also when you're flying they're always moving so it's eye catching and undesirable.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:41 PM.