HDR in the Crytekdemo, not only for Nv. (56k warning)

Discussion in 'Architecture and Products' started by Apple740, Dec 2, 2004.

  1. TheAlSpark

    TheAlSpark Moderator
    Moderator Legend

    Joined:
    Feb 29, 2004
    Messages:
    22,146
    Likes Received:
    8,533
    Location:
    ಠ_ಠ
    There's the obligatory matrix code running down on one monitor... and then the obligatory monitor with crap code on it (asdfasdf stuff) :p
     
  2. Bouncing Zabaglione Bros.

    Legend

    Joined:
    Jun 24, 2003
    Messages:
    6,363
    Likes Received:
    83
    Bloom and HDR are actually pretty subtle effects if you use them to replicate real life. In fact, you may not even know you're looking at them, which is probably why everyone cranks them way up so you can point at them and go "HEY LOOK!!! IT'S BLOOM!!!"
     
  3. wireframe

    Veteran

    Joined:
    Jul 14, 2004
    Messages:
    1,347
    Likes Received:
    33
    HDR is not an effect. It is the underlying high fidelity colorspace that allows a great many effects to be implemented without bringing out limitations in the underlying data or by using 'strange tricks'. From what I gather it only addresses using high precision color and light values (FP16 in the case of OpenEXR half and FP32 in full). The floating point nature allows subtle color/light values to accumulate/blend before the final 8-bit (per channel) value is determined. Without this you may empahsize or de-emphasize calculations as you are forced to round ot the nearest integer.

    One interesting thing about this is that the "HDR patch" in Far Cry 1.3 did not bring with it the assets needed to make full/correct use of HDR. If you look in contemporary games you will see that textures are pre-lit to enhance the look. With HDR you don't have the problem of highlights and shadows playing havoc with the color range so this should make life easier for texture artists as they only need to calibrate to one neutral/bias and map designers should not have to worry about where they place their lights and with what intensity because the blending can cope without the need to clamp values all over the place. At least that is my understanding of it not being a game/3D developer.

    Edit: had to correct my own thoughts because somehow I managed to absorb 'bad data' from elsewhere and temporarily presented HDR as "high definition rendering" instead of High Dynamic Range. That's what I get for reading too many forum posts. ;)
     
  4. lukar

    Newcomer

    Joined:
    Mar 28, 2004
    Messages:
    7
    Likes Received:
    0
    HDR is the biggest, useless crap i've seen. I disabled it immediately in Far Cry after I saw what it does. HDR is far from being real. Only bloom effect in a way done in Half Life 2 brings the picture to reality.
     
  5. cloudscapes

    Regular

    Joined:
    Aug 14, 2004
    Messages:
    451
    Likes Received:
    12
    Location:
    Montreal, Canada
    How does one get it to work o na 9800 Pro? I get a bunch of errors like this:

    [SSGenericAPI_D3D.cpp] (line 1256): Can't compile HLSL pixel shader. The D3D error message is:
    (1706): error X5608: Compiled shader code uses too many arithmetic instruction slots (69). Max. allowed by the target (ps_2_0) is 64.
    [oRubyHelmetSk.ssh] (line 329): Error creating Pixel Shader
     
  6. wireframe

    Veteran

    Joined:
    Jul 14, 2004
    Messages:
    1,347
    Likes Received:
    33
    Again, it doesn't do anything, it just allows things to be done with great accuracy and, therefore, preserving image integrity. Personally, I consider HDR to be the biggest thing to happen in 3D rendering in a long time. It's like a CD player. You can't blame your CD player, amplifier, and speaker setup when you don't like the music it is playing. Instead, hope for better artists to produce CDs that carry data you enjoy.

    People may want to look here: http://www.openexr.com/samples.html and realize that the first image in the sequence is a HDR image as well. It simply allows the adjustments in the following samples to be made without losing much of the data in the image (casued by clamping ranges when a greter range is not available).
     
  7. fellix

    Veteran

    Joined:
    Dec 4, 2004
    Messages:
    3,552
    Likes Received:
    514
    Location:
    Varna, Bulgaria
    I was heard, that the HDR implementation in NV40 is somehow "broken", and that results in low FP-blending performance (just like the OVP issues).
    The NV43 was planned to fix this !?
     
  8. Luminescent

    Veteran

    Joined:
    Aug 4, 2002
    Messages:
    1,036
    Likes Received:
    0
    Location:
    Miami, Fl
    Fellix, it seems a few people jumped the gun on making that conclusion. An investigation will soon be at hand.
     
  9. XxStratoMasterXx

    Regular

    Joined:
    Apr 29, 2004
    Messages:
    375
    Likes Received:
    0
    No. Its just CryTek is using it in a "look we have HDR" way. The content wasn't designed for it so it looks like utter crap. CryTek couldn't have just implimented it in their next game and built the content for that...no, they needed to prove their measly little engine was advanced in some area and not about as advanced as UT2004, so they tacked stuff on.

    Hell, CryEngine should be called the "TackedOn engine", because a lot of it is just "ME TOO!!!". HDR is an example of them trying to be one step ahead of the competition. They also added Stencil Volumes that work in VERY limited cases, and they work only indoors, and they only work on a select few things. Also, they tacked on 3Dc, another "ME TOO!" technology.

    Finally...they really went overboard on the specular mapping! God, could they have made it any more shiny?

    Ok back to the subject of HDR...Look at UE3. It has HDR, and man, does it fit in and add to the visual fidelity instead of sticking out like a sore thumb. Doom 3's engine apparently has HDR, but Carmack is not a man who "tacks" things on and he makes sure that it works well, works universally and is done right, so thats why (im thinking) the HDR was cut from the shipping build.

    As Chalnoth told me, it's not really a big deal to add HDR. But redesigning the content to do so IS a big deal. Does CryTek really think that their solution is superior to licence than D3 or UE3? THATS why they keep tacking on this crap.

    Ok, End rant.
     
  10. Apple740

    Newcomer

    Joined:
    Aug 9, 2004
    Messages:
    239
    Likes Received:
    2
    Location:
    Rotterdam - NL
    What is MRT HDR exactly (which Ati uses here)? I've heard a guy saying it's Openexr implemented in another form: "The ATI solution is to implement a new texture type that has two more alpha layers - then the Framebuffer blend can be done in software."


    Btw, I've made a video using the interactivity mode in the Crytekdemo (hitting the spacebar, the demo pauses and you can look around/zooming-in/out), I think this shows the HDR idea better.

    http://deviousdevils.com/templates2/CrytekdemHDR.avi

    Mirror: http://henno.dutchweb.nl/CrytekdemHDR.avi

    ( Xvid Avi codec required )
     
  11. Cryect

    Regular

    Joined:
    Jul 4, 2004
    Messages:
    674
    Likes Received:
    0
    MRT - Multiple Render Targets?

    That would be my guess and normally what MRT stands for.

    Anyways its not OpenEXR and the one in FarCry isn't either. OpenEXR is just a high defination image format not a rendering method.
     
  12. Apple740

    Newcomer

    Joined:
    Aug 9, 2004
    Messages:
    239
    Likes Received:
    2
    Location:
    Rotterdam - NL
    That's what i found with Google too, but that's all there is. Is it 8, 10 or 16 bits and how does it works???
     
  13. pat777

    Newcomer

    Joined:
    May 19, 2004
    Messages:
    230
    Likes Received:
    0
    I wonder how good multiple FP16 render targets will look.
     
  14. Cryect

    Regular

    Joined:
    Jul 4, 2004
    Messages:
    674
    Likes Received:
    0
    Multiple render targets work by flip flopping between render targets from what I recall for each effect. Someone correct me if I'm wrong though.
     
  15. Apple740

    Newcomer

    Joined:
    Aug 9, 2004
    Messages:
    239
    Likes Received:
    2
    Location:
    Rotterdam - NL
    Have you got it working already on your 9800Pro? Some R350 owners says it does, others don't. :roll:
     
  16. Jawed

    Legend

    Joined:
    Oct 2, 2004
    Messages:
    11,716
    Likes Received:
    2,137
    Location:
    London
    I reduced the demo's res to 800x600 (modifying the system.cfg) to get the "HDR" to show. At default res the demo crashed with HDR activated after about 1s of playback.

    The demo runs fine at all resolutions and settings otherwise.

    Running 128MB 256-bit 9800 Pro with Cat 4.12beta. My 9800 Pro is quite new, but I dunno what core it has.

    Jawed
     
Loading...

Share This Page

  • About Us

    Beyond3D has been around for over a decade and prides itself on being the best place on the web for in-depth, technically-driven discussion and analysis of 3D graphics hardware. If you love pixels and transistors, you've come to the right place!

    Beyond3D is proudly published by GPU Tools Ltd.
Loading...