• We should now be fully online following an overnight outage. Apologies for any inconvenience, we do not expect there to be any further issues.

Just Cause 2 to use GPGPU(CUDA)

Page 2 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.
Status
Not open for further replies.

gorobei

Diamond Member
Jan 7, 2007
4,020
1,519
136
the primary uses appear to be the water/wave behavior (not look) , the depth of focus blur of background, and some ambient occlusion from what is commented on in the video.

from a technical standpoint this isn't groundbreaking stuff.
1) the water doesn't appear to be full fluid particle simulation, just surface modulation. you can achieve wave effects without full dynamics with just multi-layered displacement maps (either bitmap or procedural).
2) the bokeh blurring is interesting, but could just as easily be done/faked on cpu or with generic programmed shader effect.
3) the ambient occlusion doesn't look very impressive. the only noticeable effect was a nondescript shaped soft shadow below the character running on the beach. very low resolution and could just as easily have been done with an oldschool shadowmap. Also ambient occlusion is part of dx11 now so there is no benefit to doing it with cuda unless you are going to do a full radiosity montecarlo sample(which this doesnt appear to be). SSAO is the super cheap realtime version of ambient occlusion. the look is similar but nowhere as accurate/impressive as the stuff that comes from mentalray or renderman. Doing it in realtime is nice to claim in the features checklist, but in order for AO to look good you need some hand tweaking in the compositing stage (which i'm not seeing here).

in film and commercial vfx, we usually have a choice: do an effect with full math/simulation/control or do the effect the cheap/easy/simple way. Most of the time you end up doing the full-out/expensive way because you're sitting around waiting for final plates or timing so the producers have you do the hard version since they are already paying for it timewise. 90% of the time you could do it the cheap way and no one in the audience would notice.
Nvidia is funding the game developer to do the slightly more math/sim version, but it could be done the cheap way with no real loss.
This is fine since dx10 doesn't have access to some of the dx11 stuff and most likely have plenty of horsepower to spare for older/simpler/console type games. It doesnt mean you really want to take this approach when your are struggling to make min framerates on some of the newer dx11 engines. It is working harder instead of smarter, just for the sake of claiming you did it the "mathematically accurate" way.

The cryengine 3 footage of the radiosity demo was way more impressive and i would imagine hardware independent.
 
Last edited:

cbn

Lifer
Mar 27, 2009
12,968
221
106
seriously - there is only so much armchair applause you can do for spiffy water effects, when the rest of the game looks like a grue ate most of the textures.

I like how the player character bobs around when the waves hit.

To me that is something that *could* be used affect the strategy of a game. However, I am not sure this effect is employed to alter strategy in Just Cause 2.
 

NoQuarter

Golden Member
Jan 1, 2001
1,006
0
76

Man your Nvidia vs ATI fanclub crap is getting annoying. You realize you aren't actually on their team right? And all anyone has to do is go down to the store and buy some card if they really want some effect or other?

This thread would be so much more interesting if you just posted about the GPGPU effects and actually had some interest in the capabilities instead of trying to rub it in peoples faces. You might even get someone excited enough to buy an Nvidia card which you seem to desperately need.
 

zerocool84

Lifer
Nov 11, 2004
36,041
472
126
seriously - there is only so much armchair applause you can do for spiffy water effects, when the rest of the game looks like a grue ate most of the textures.

The OP tries to get any Nvidia win he can and he never wins cus his posts are dumb. I think he's a certain banned focus member that used to post here. I mean look at how crappy the game looks but of course none of that matters to him cus it has certain Nvidia only effects.
 

at80eighty

Senior member
Jun 28, 2004
458
5
81
To me that is something that *could* be used affect the strategy of a game. However, I am not sure this effect is employed to alter strategy in Just Cause 2.


I love the idea of physics being used for strategy - Cryengine3 is showing some promising direction with destructible environments, but afaik we're still a wee bit off from having games actually utilizing it in general - going to be a niche for a bit


The OP tries to get any Nvidia win he can and he never wins cus his posts are dumb. I think he's a certain banned focus member that used to post here. I mean look at how crappy the game looks but of course none of that matters to him cus it has certain Nvidia only effects.

see thats what makes me laugh at him - if someone from the red camp posted the same text verbatim but replaced Nv with ATI - you can bet that guys like him would be frothing at the mouth banging his fist on the table screaming about what a fanboy the ATI OP would be.


/and yeah I dont miss Wreckage when we have a clone :D
 

Lonyo

Lifer
Aug 10, 2002
21,938
6
81
So all those people thinking physics and graphics are 2 seperates issues, with no connection at all or that GPGPU has nothing to do with gaming...sorry, you where wrong:

http://kotaku.com/5484795/just-cause-2-pc-loves-on-nvidia

A Video of the water effects:
http://kotaku.com/5484795/just-cause-2-pc-loves-on-nvidia

NOTE: this is NOT PhysX, so if you post about PhysX...you just lost.

and before the horde of red whiners come in...take a place in the line...AFTER the console-kiddies(they have a much better right tio whine than you guys)

The PC version is enhanced in the following ways…

  • Enhanced DirectX10 and 10.1 render path
  • Support for 32Bit and 64Bit Windows 7 and Vista
  • Optimized for Dual and Quad Core Processors
  • Certified for Nvidia 3D Vision (Not available on console)
  • Support for Window and Full Screen modes
  • Enhanced for SLi
  • Enhanced for Crossfire
  • Enhanced for multi-screen setup (Not available on console)
  • Full Keyboard and Mouse support
  • Xbox360 Controller Support
  • Enhanced GPU Water effect for Nvidia Systems (Not available on console or with ATI GPU)
  • Enhanced Bokeh filter for Nvidia Systems (Not available on console)
So now, NVIDIA is using GPGPU in games, like in their techdemos:
http://www.youtube.com/watch?v=K1I4kts5mqc

So GPGPU computing is moving into games....wo would have thought? ():)

And before the red chorus of "WAAAAAHMbulances arrives....ask AMD to make the same OpenCL or DirectCompute...oh wait :eek:

This game is DX10.1...No Direct Comupte 4..or maximum OpenCL...only CUDA gives the tools for the job...unless you want to make the game DX11...and no GPGPU for all DX10.1 and DX10 cards...of any brand.

AMD - We are still waiting for you to do anything...besides talk. :hmm:

And this once again hows how important the TWIMTPB program is...AMD needs to learn or the decription of a AMD GPU owner will be:
Whining over features not running on his AMD GPU...

And wecome to GPGPU in games...The CUDA effect are listed in GREEN in the list.

Microsoft’s DirectCompute is a new GPU Computing API that runs on NVIDIA’s current CUDA architecture under both Windows VISTA and Windows 7. DirectCompute is supported on current DX10 class GPU’s and future DX11 GPU’s
Where did this come from...?
Oh, http://www.nvidia.com/object/cuda_directcompute.html
Oh and what's this? NV using DirectCompute for a real time dynamic ocean simulation?
http://www.microsoft.com/showcase/en/us/details/6ef116dc-b1d9-41db-8a7b-db1932ff72a5

BUT HOW CAN THIS BE? IT'S NOT RUNNING DIRECTX 11 OR CUDA! THEY ARE DOING THE UNPOSSIBLE! Just Cause 2 can only manage water effects through CUDA, so how could Microsoft and NV show off water effects with DirectCompute on an NV card using something which is an non-vendor-specific API? It's a conspiracy.

http://forums.ubi.com/eve/forums/a/tpc/f/6391049957/m/8641083708
An example of how 3D should be done (not vendor specific, but less supported on ATI and requires less widely available hardware, but also works with 3D Vision)

And I wonder what this "multi-screen setup" optimisation will be about.


This is just another example of a developer being stupid and implementing vendor specific solutions when there are open solutions available which would run on a wider variety of hardware. Not good for gamers at all.

Hopefully Intel will manage to make something that competes in the graphics market and then we can stop people claiming it's all about red vs green, and realise there are more important issues, like the fact that we can't see fundamental game changing stuff happen until these things work for everyone, and that we should be wary of the future if we do ever gain our third player.

I for one really want Intel to make something competitive in the graphics market so it might open some peoples eyes about the potential harm that vendor specific technologies could cause.
 

wlee15

Senior member
Jan 7, 2009
313
31
91
Doesn't changing from graphics work to CUDA incur extremely severe penalties due to context switching?
 

Lonbjerg

Diamond Member
Dec 6, 2009
4,419
0
0
Impressive effects. Soon there will be many more similar and better effects done on DX11/OpenCL.

Sure...but NVIDIA owners(DX10/DX10.1) need not upgrade...unlike AMD users ;)

So DX11 ATI hardware can accomplish this? Why are we getting exciting about this then?

Actully it can't...no CUDA on OpenCL...and if they can...why don't they? ;)

all that work and that couldnt even make decent textures for the whole game?


Talk to the developer about that...unless you want NVIDIA to code the entire game?
Where did this come from...?
Oh, http://www.nvidia.com/object/cuda_directcompute.html
Oh and what's this? NV using DirectCompute for a real time dynamic ocean simulation?
http://www.microsoft.com/showcase/en/us/details/6ef116dc-b1d9-41db-8a7b-db1932ff72a5

BUT HOW CAN THIS BE? IT'S NOT RUNNING DIRECTX 11 OR CUDA! THEY ARE DOING THE UNPOSSIBLE! Just Cause 2 can only manage water effects through CUDA, so how could Microsoft and NV show off water effects with DirectCompute on an NV card using something which is an non-vendor-specific API? It's a conspiracy.

http://forums.ubi.com/eve/forums/a/tpc/f/6391049957/m/8641083708
An example of how 3D should be done (not vendor specific, but less supported on ATI and requires less widely available hardware, but also works with 3D Vision)

And I wonder what this "multi-screen setup" optimisation will be about.


This is just another example of a developer being stupid and implementing vendor specific solutions when there are open solutions available which would run on a wider variety of hardware. Not good for gamers at all.

Hopefully Intel will manage to make something that competes in the graphics market and then we can stop people claiming it's all about red vs green, and realise there are more important issues, like the fact that we can't see fundamental game changing stuff happen until these things work for everyone, and that we should be wary of the future if we do ever gain our third player.

I for one really want Intel to make something competitive in the graphics market so it might open some peoples eyes about the potential harm that vendor specific technologies could cause.

Dosn't work for this sorry...wall of text...missed the target, please try again :)
 

Lonyo

Lifer
Aug 10, 2002
21,938
6
81
Dosn't work for this sorry...wall of text...missed the target, please try again :)

You mean "someone pointed out I was wrong, so I'm going to stick my fingers in my ears and sing la la la"?

Maybe try reading the "wall of text", since it points out that one of your assertions is wrong (you hate people making incorrect assertions, I believe), and points out that NV specific features are not necessary, and could be done through non-vendor specific means.
In fact, the 3D thing could be done in such a way it could have run on consoles, ATI cards AND supported 3D Vision! Wouldn't that be crazy.
 

PingviN

Golden Member
Nov 3, 2009
1,848
13
81
Nice to see someone actually making use of Nvidias CUDA game-wise. It's only been out for, what? 3-4 years?

This could be done without CUDA, however - it isnt. Good for Nvidia, bad for AMD consumers (who have the luxury of actually owning a Dx11 video card). Water looks nice, no doubt about it. It's a shame they didnt use DirectCompute and let everyone get a piece of the goodies.

Lonjberg, the opening post is kind of pathetic. Nvidia doesn't like you. You are not "in the gang". They want your money, that's it. I doubt they'll pat you on the head and say "that's a good little fanboy, here's a cookie". Just ease on the propaganda.
 
Last edited:

zerocool84

Lifer
Nov 11, 2004
36,041
472
126
Nice to see someone actually making use of Nvidias CUDA game-wise. It's only been out for, what? 3-4 years?

This could be done without CUDA, however - it isnt. Good for Nvidia, bad for AMD consumers (who have the luxury of actually owning a Dx11 video card). Water looks nice, no doubt about it. It's a shame they didnt use DirectCompute and let everyone get a piece of the goodies.

Lonjberg, the opening post is kind of pathetic. Nvidia doesn't like you. You are not "in the gang". They want your money, that's it. I doubt they'll pat you on the head and say "that's a good little fanboy, here's a cookie". Just ease on the propaganda.

He's probably part of the focus group.

It's kind of like the stuff in Batman:AA. Stuff that could have been done any other way and used by everyone but made it so only Physx capable cards able to use it. Really really stupid and a retarded way to show off your "great" technology.
 

Keysplayr

Elite Member
Jan 16, 2003
21,219
55
91
So all those people thinking physics and graphics are 2 seperates issues, with no connection at all or that GPGPU has nothing to do with gaming...sorry, you where wrong:

http://kotaku.com/5484795/just-cause-2-pc-loves-on-nvidia

A Video of the water effects:
http://kotaku.com/5484795/just-cause-2-pc-loves-on-nvidia

NOTE: this is NOT PhysX, so if you post about PhysX...you just lost.

and before the horde of red whiners come in...take a place in the line...AFTER the console-kiddies(they have a much better right tio whine than you guys)

The PC version is enhanced in the following ways…

  • Enhanced DirectX10 and 10.1 render path
  • Support for 32Bit and 64Bit Windows 7 and Vista
  • Optimized for Dual and Quad Core Processors
  • Certified for Nvidia 3D Vision (Not available on console)
  • Support for Window and Full Screen modes
  • Enhanced for SLi
  • Enhanced for Crossfire
  • Enhanced for multi-screen setup (Not available on console)
  • Full Keyboard and Mouse support
  • Xbox360 Controller Support
  • Enhanced GPU Water effect for Nvidia Systems (Not available on console or with ATI GPU)
  • Enhanced Bokeh filter for Nvidia Systems (Not available on console)
  • Increased detail setting (Not available on console)
  • Soft Shadows (Not available on console)
  • Soft Particles (Not available on console)
  • Point Specular (Not available on console)
  • SSAO (Not available on console)
  • Benchmark Mode (Not available on console)
  • DLC support via Steamworks
  • Achievements via Steamworks
  • Auto patching via Steamworks
  • Ability to chat to other gamers via Steamworks while playing
So now, NVIDIA is using GPGPU in games, like in their techdemos:
http://www.youtube.com/watch?v=K1I4kts5mqc

So GPGPU computing is moving into games....wo would have thought? ():)

And before the red chorus of "WAAAAAHMbulances arrives....ask AMD to make the same OpenCL or DirectCompute...oh wait :eek:

This game is DX10.1...No Direct Comupte 4..or maximum OpenCL...only CUDA gives the tools for the job...unless you want to make the game DX11...and no GPGPU for all DX10.1 and DX10 cards...of any brand.

AMD - We are still waiting for you to do anything...besides talk. :hmm:

And this once again hows how important the TWIMTPB program is...AMD needs to learn or the decription of a AMD GPU owner will be:
Whining over features not running on his AMD GPU...

And wecome to GPGPU in games...The CUDA effect are listed in GREEN in the list.

There is more flamebait in this thread that I've seen in a long time.
Locked for mod review.
Anandtech Moderator - Keysplayr
 
Status
Not open for further replies.