Comments on: Let Your Eyes Adjust https:/2010/07/let-your-eyes-adjust/ Developer resources for the X-Plane flight simulator Tue, 01 Feb 2011 19:01:07 +0000 hourly 1 https://wordpress.org/?v=6.6.1 By: Benjamin Supnik https:/2010/07/let-your-eyes-adjust/#comment-323 Mon, 09 Aug 2010 10:55:19 +0000 http://www.x-plane.com/dev_blog/?p=58#comment-323 Yes – the scaling applies to scenery too.

]]>
By: sgabriel https:/2010/07/let-your-eyes-adjust/#comment-324 Mon, 09 Aug 2010 10:05:06 +0000 http://www.x-plane.com/dev_blog/?p=58#comment-324 This looks to be a feature that will enhance the "feel" of the simulator a great deal. Wonderful stuff. Will the principal also apply to the outside world in v10?

IMO, it would be a big step up in both the feel and the utility of X-Plane if the environment reflected (no pun intended) the same visual effects. Improved daytime vibrancy and a greater range of light qualities depending on atmospheric conditions would be great. But night lighting effects! Currently there's no discernible moon illumination, which is unfortunate. It would be neat/useful/realistic if a full moon night seemed almost as bright as day, in that wonderful way it does in the real world.

Thanks for the great work and the great (articulate, engaging) blog.

]]>
By: Benjamin Supnik https:/2010/07/let-your-eyes-adjust/#comment-325 Fri, 30 Jul 2010 17:21:59 +0000 http://www.x-plane.com/dev_blog/?p=58#comment-325 "Anonymous"? Really?

Ugh.

🙂

productized = tech demo + all the details for backward compatibility, bug fixes, etc.

]]>
By: Anonymous https:/2010/07/let-your-eyes-adjust/#comment-326 Fri, 30 Jul 2010 12:27:59 +0000 http://www.x-plane.com/dev_blog/?p=58#comment-326 I think in the productized version of this feature, authors will have two options for anything lit:

"Productized"? Really?

Ugh.

]]>
By: vonhinx https:/2010/07/let-your-eyes-adjust/#comment-327 Mon, 26 Jul 2010 09:50:31 +0000 http://www.x-plane.com/dev_blog/?p=58#comment-327 Thanks for that, I'll be digesting that for a while. Best post lighting I ever saw was in Morten's Piper Archer III – 2D only – and none of what I've read in the docs or blog about how to achieve that in 3D has stuck in my brain. Every clue helps. At least I know what direction to pull the reins when I flog my dead horse.

]]>
By: Benjamin Supnik https:/2010/07/let-your-eyes-adjust/#comment-328 Sun, 25 Jul 2010 20:41:46 +0000 http://www.x-plane.com/dev_blog/?p=58#comment-328 Vonhinx,

I'm not sure I understand the question, and writing a tutorial or providing tech support is beyond the scope of this blog.

Most of the specific details of lighting in cockpits is on the wiki, but there isn't much on integration.

I can tell you one thing: the most 'modern' technique I have seen from users for doing post lights is as follows:
– They use their rendering tools to create a _LIT texture with the post lights drawn in; this implies that the post lights are lighting up non-cockpit texture.
– They use ATTR_lit_level to tie the light level of the mesh (for only the areas affected by post lights) to a dataref from one of the lighting rheostats (e.g. panel_brightness_ratio[n] or instrument_brightness_ratio[n]).
– They also add one global 3-d cockpit light at very low intensity NEAR the center of the post lights. This 3-d light casts just a liiiittle bit of 'extra' light all over the 3-d parts to make the look a little bit more convincing, particularly for moving animated elements like switches and throttles.

This technique requires very careful planning of how the mesh UV map is created.

]]>
By: vonhinx https:/2010/07/let-your-eyes-adjust/#comment-329 Sat, 24 Jul 2010 22:40:00 +0000 http://www.x-plane.com/dev_blog/?p=58#comment-329 Well, I've already invested equivalent-months time in an object-based 3D panel to replace a temporary 2D panel, which must be eliminated as it is totally different. The problem is that without the latter, I've just realized I'm going to struggle to get the post lights to work. Is there a FAQ anywhere as to how to do post lights for a pure 3D panel? Is it even possible?

]]>
By: Steve https:/2010/07/let-your-eyes-adjust/#comment-330 Sat, 24 Jul 2010 18:25:46 +0000 http://www.x-plane.com/dev_blog/?p=58#comment-330 Subtle. Slick. Looking forward to v10, Ben.

]]>