Uncharted 2 lighting?

Discussion in 'Console Technology' started by Ether_Snake, Oct 3, 2009.

  1. Ether_Snake

    Newcomer

    Joined:
    Apr 9, 2007
    Messages:
    86
    Likes Received:
    0
    On a certain high-profile PS360 game I worked on we had on average 1 to 1.1 million triangles on screen at a time, at 30FPS.
     
  2. Rangers

    Legend

    Joined:
    Aug 4, 2006
    Messages:
    12,791
    Likes Received:
    1,596
  3. phat

    Regular

    Joined:
    Feb 13, 2002
    Messages:
    496
    Likes Received:
    3
    Location:
    Waterloo, ON Canada
    I think the lighting from the torch could have been better. They could have noisy displacement of the position of the light source to simulate flicker, and they could have cycled through different mangled models for the shadow of the torch basket to simulate the fact that the flame engulfs the basket and is not a point source at its centre.
     
  4. FirewalkR

    Regular

    Joined:
    Jul 13, 2007
    Messages:
    259
    Likes Received:
    0
    Duh, I was thinking "frame frame frame" and wrote second. :lol:
     
  5. TheAlSpark

    TheAlSpark Moderator
    Moderator Legend

    Joined:
    Feb 29, 2004
    Messages:
    22,146
    Likes Received:
    8,533
    Location:
    ಠ_ಠ
    ModHat: Is it really so hard to keep to technical discussion instead of abstract, subjective ideas about what a developer is capable of given the right conditions.
     
  6. Rolf N

    Rolf N Recurring Membmare
    Veteran

    Joined:
    Aug 18, 2003
    Messages:
    2,494
    Likes Received:
    55
    Location:
    yes
    Oh this again. A 720p frame has just below a million pixels. Do you really need more than 8 triangles per pixel on average (assuming 30fps target)?
     
  7. TheAlSpark

    TheAlSpark Moderator
    Moderator Legend

    Joined:
    Feb 29, 2004
    Messages:
    22,146
    Likes Received:
    8,533
    Location:
    ಠ_ಠ
    There's a lot more to setup rate than just the triangles you think you see on the screen.

    Besides, as I implied and as Laa-Yosh mentioned, that figure is nowhere near attainable in a real-world situation.
     
  8. Rolf N

    Rolf N Recurring Membmare
    Veteran

    Joined:
    Aug 18, 2003
    Messages:
    2,494
    Likes Received:
    55
    Location:
    yes
    All pixel-sized tris with an overdraw of 8, as an average, is excessive either way, even considering all the passes, volumes, particles you want. If you end up anywhere near there you have a bug in your LOD system.
    If you're not going to hit setup limits, you're not limited by setup rate. In that case there's no reason to complain about it.
     
  9. TheAlSpark

    TheAlSpark Moderator
    Moderator Legend

    Joined:
    Feb 29, 2004
    Messages:
    22,146
    Likes Received:
    8,533
    Location:
    ಠ_ಠ
    Sure, but the original context for the statements was the 1.2Mpolys per second. Or did you miss that :?: I'm a bit confused as to where the complaining is.
     
  10. Arwin

    Arwin Now Officially a Top 10 Poster
    Moderator Legend

    Joined:
    May 17, 2006
    Messages:
    18,762
    Likes Received:
    2,639
    Location:
    Maastricht, The Netherlands
    Looks like all these videos are also in Uncharted 2 itself as unlockables. (And you can unlock them right from the start, with in-game cash.)

    And yeah, the lighting and most of the shadows are just downright awesome in this game. Really, really nice.
     
  11. Mastperf

    Newcomer

    Joined:
    Nov 10, 2008
    Messages:
    70
    Likes Received:
    0
    I thought hitting set up limit was a known problem with RSX?
     
  12. homerdog

    homerdog donator of the year
    Legend Subscriber

    Joined:
    Jul 25, 2008
    Messages:
    6,294
    Likes Received:
    1,075
    Location:
    still camping with a mauler
    Yeah, I've been watching them during breaks from the game :smile:. Naughty Dog is a cool company.

    There hasn't been much mention of the SSAO in this game. One of the better implementations I've seen. Occasionally I notice artifacts in the form of a 'halo effect' around objects and characters, but overall it's a great addition to the engine.
     
  13. ihamoitc2005

    Veteran

    Joined:
    Sep 21, 2005
    Messages:
    1,181
    Likes Received:
    15
    Thanks my friend. Also, someone tells me that it is 2 million/frame for Uncharted 2. So I looked at the quote and I cannot decide but I think it is 2 million.

    He says "In total- what we try to push through to the graphics chip at one point two million triangles that we try to draw every frame."

    I think he is saying that total he is sending to the graphics chip at one point is 2 million polygons.

    What do you think?
     
  14. Mr Deap

    Newcomer

    Joined:
    Oct 5, 2007
    Messages:
    100
    Likes Received:
    0
    We have to remember that most of the cutscene are actually prerendered. I find the game to be on part with most games, nothing very extraordinary.
     
  15. Mintmaster

    Veteran

    Joined:
    Mar 31, 2002
    Messages:
    3,897
    Likes Received:
    87
    Wrong. The GPU pipeline is not infinitely deep. Post-setup caches are well under 100 polygons, not 1M polygons. That means that if you have even a few hundred polygons that don't generate many pixels, you're setup limited at those points in time. If you have some large triangles and/or long pixel shaders, your setup engine can only buffer <100 tris; after that it will idle.

    Then you have to worry about off screen triangles (you can't cull everything with the CPU), backfacing triangles, zero-pixel triangles, and possibly doubled loads with Z-only passes. You don't have 8 triangles per pixel at your disposal.

    RSX can do 250M tris/s when all the triangles are exceedingly simple and very few of the triangles are big enough to take longer than one clock to rasterize. That is very far from reality.
     
  16. Panajev2001a

    Veteran

    Joined:
    Mar 31, 2002
    Messages:
    3,187
    Likes Received:
    8
    True, but I see more and more devs to do work at the vertex side to make sure triangle set-up does not become a huge barrier... with libraries like Edge you are going to touch every vertex anyways...
     
  17. Nesh

    Nesh Double Agent
    Legend

    Joined:
    Oct 2, 2005
    Messages:
    14,000
    Likes Received:
    3,720
    Like what game?
     
  18. deepbrown

    Veteran

    Joined:
    Apr 15, 2007
    Messages:
    3,063
    Likes Received:
    13
    They're pre-rendered in-engine cutscenes. The lighting is better in cutscenes as they can have more light sources (due to the engine not being used on AI, unknown occurrences etc.)
     
    #38 deepbrown, Oct 19, 2009
    Last edited by a moderator: Oct 19, 2009
  19. L. Scofield

    Veteran

    Joined:
    Mar 28, 2007
    Messages:
    2,559
    Likes Received:
    323
    Any idea as of why they're prerendered?
     
  20. assurdum

    Veteran

    Joined:
    Oct 31, 2008
    Messages:
    1,568
    Likes Received:
    0
    To avoid loading.
     
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...