Dev Diary: Show me the light

ArmA 2 general discussion

Moderators: Lone Wolf, Snake Man

Post Reply
Snake Man
Commander-In-Chief
Posts: 9338
Joined: 2000-07-31 22:01:01
Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
Editing Interests: All, I (try) to edit everything.
Location: PMC
Contact:

Dev Diary: Show me the light

Post by Snake Man » 2009-12-12 11:40:34

There is new developer diary on BIS homepage, it says:
Written by Ondřej Španěl
Saturday, 12 December 2009
A few rendering technology improvements in ArmA 2 described in more detail
Continued progress

Each release of the Real Virtuality engine has brough some significant visual enhancements. Let me talk briefly about a few improvements brough by ArmA 2.
Parallax Occlusion Mapping

Parallax Shadow Mapping on Rahmadi

As terrain covers a lot of screenspace in our games, we always try to significantly improve its looks in each product we release. From the flat and empty terrain of Operation Flashpoint, though the ground clutter (grass and small stones) in OFP:Elite and ArmA, to the "parallax occlusion mapping", which is actually a double ray casting computed on the GPU. We have based this technique on the ATI sample code, which was excellent base ground, and adapting it our needs was easy.
Hemisperical Lighting

Lighting model ingame with various light conditions

Examining real world lighting

When improving lighting model for ArmA 2, Itchy Animation Lighting Tutorial served us us an excellent overview which has helped the whole team to speak the same language, understand each other, decide what to implement and understand what we have implemented.

Compared to the light model used in ArmA and OFP before, there are two major lighting contributions which are calculated in ArmA2:

* Light reflected from the ground (bottom light)
* Light reflected from the rest of the scene (back light)

Checking the pictures above, you should be able to easily identify them. Seeing the effects in the ingame model without textures below is harder, and how the final result looks now you already know from the game.

Vehicle Lighting In-game
Terrain Layer Flexibility Increased

ArmA terrain technology was a lot more flexible than what we had before, and as written in Arma Technology Inside blog, ArmA 2 uses the same technology, only slightly improved. The main improvement is that by using all four channels of the ARGB mask and with some encoding tricks employed, the total number of different surfaces on a single satellite segment was increased from four to six. This may not seem a lot, but it has allowed our terrain designers to use a few surfaces which differ segment to segment, therefore the surface variability in the whole game world is now a lot higher.
I want Technique X or Effect Y, when it will be done?

I do not know. We strive to provide maximal visual quality, but there are other things which are important and prioritizing all this work is never easy. Even ArmA 2 focus was more on gameplay improvement, not that muchof graphics. It is very probable even Operation Arrowhead will bring some graphics improvements, but what exactly or how extensive those will be is something I will not reveal yet.
Source show me the light.
PMC Tactical Forum New User Registration please read new info here.

PMC since 1984

Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel

PMC Tactical forum Advanced Search is power.

"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."

Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests