Go Back   nV News Forums > Graphics Card Forums > NVIDIA GeForce 7, 8, And 9 Series

Newegg Daily Deals

Reply
 
Thread Tools
Old 04-29-05, 03:05 AM   #1
Abba Zabba
Java Cool Dude
 
Abba Zabba's Avatar
 
Join Date: May 2003
Location: Los Angeles
Posts: 125
Send a message via AIM to Abba Zabba Send a message via MSN to Abba Zabba
Default New Demo: VS3.0 Displacement Mapping

This demo written in OpenGL uses NV_vertex_program3 option on NVIDIA newest cards to perturb a grid mesh and simulate a water effect.

For those who are not too familiar with the OpenGL nomenclature, NV_vertex_program3 is what the DX folks refer to as Vertex Shaders 3.0.

If this demo fails to detect VS3.0 hardware support, it will still run but will only give the illusion of displacement (a 2D water effect instead of a full 3D), so ATi users might still enjoy this one.

There is no support for the FX cards (and I don't think I'll be inclined to add few lines necessary to detect and support float Texture Rectangles )

PS: Using the new FBO extension I can achieve about 3 folds the frame rate over the aging and slow pixel buffers.

PS2: The first one to mention Sobel filter will have a free a$$ beating


Binaries
Source
Engine source
__________________
SXML 3D Engine
Abba Zabba is offline   Reply With Quote
Old 04-29-05, 03:19 AM   #2
OWA
...
 
OWA's Avatar
 
Join Date: Jul 2002
Location: Virginia
Posts: 9,481
Default Re: New Demo: VS3.0 Displacement Mapping

Like the stained shadow map demo, this appears to be another one that requires the later beta drivers to work properly (at least for me). I'd prefer to not have to change drivers again at the moment. Is there any way you can make it work under 71.89 or is it just too much trouble?
OWA is offline   Reply With Quote
Old 04-29-05, 03:25 AM   #3
Abba Zabba
Java Cool Dude
 
Abba Zabba's Avatar
 
Join Date: May 2003
Location: Los Angeles
Posts: 125
Send a message via AIM to Abba Zabba Send a message via MSN to Abba Zabba
Default Re: New Demo: VS3.0 Displacement Mapping

Quote:
Originally Posted by OWA
Like the stained shadow map demo, this appears to be another one that requires the later beta drivers to work properly (at least for me). I'd prefer to not have to change drivers again at the moment. Is there any way you can make it work under 71.89 or is it just too much trouble?
Should work with pretty much any driver with a fall back to PBuffers.
I take it this demo crashes on your system, mind passing me the log file so I can examine it?
Thanks
__________________
SXML 3D Engine
Abba Zabba is offline   Reply With Quote
Old 04-29-05, 07:50 AM   #4
OWA
...
 
OWA's Avatar
 
Join Date: Jul 2002
Location: Virginia
Posts: 9,481
Default Re: New Demo: VS3.0 Displacement Mapping

It seems to act like the stained shadow map demo in that after it crashes, it's like it has used all the available memory in the system. It takes the system a while to become responsive again.

<+>Registering data path -> Data/XML/
<+>Registering data path -> Data/Textures/
<+>Registering data path -> Data/Shaders/
<+>Registering data path -> Data/Models/
<+>Creating GL Window
<+>->width: 800, height: 600
<+>->XLocation: 240, YLocation: 212
<+>->Depth bits: 24, Alpha bits: 0
<+>->Color bits: 32, Stencil bits: 8
<+>Loaded Texture2D file at -> GUIElements.png
<!>GL_EXT_framebuffer_object not supported
<+>Successfully linked the shaders -> Data/Shaders/Velocity.xml
<+>Successfully linked the shaders -> Data/Shaders/Location.xml
<!>Shader Program Info Log:
Fragment info
-------------
(56) : fatal error C9999: *** exception during compilation ***

<!>Error while linking shaders <Data/Shaders/Normals.xml VERTEX SHADER>and <Data/Shaders/Normals.xml FRAGMENT SHADER>
<+>Loaded TextureCubeMap at ->Data/Textures/greecePX.png
<+>Adding shape to TransformGroup
<+>Adding Group to TransformGroup
<!>Couldn't locate the texture file at <sphereBu.tga>even with a look up
<!>invalid texID, Texture::setID(GLuint texID)
OWA is offline   Reply With Quote
Old 04-29-05, 09:28 AM   #5
Abba Zabba
Java Cool Dude
 
Abba Zabba's Avatar
 
Join Date: May 2003
Location: Los Angeles
Posts: 125
Send a message via AIM to Abba Zabba Send a message via MSN to Abba Zabba
Default Re: New Demo: VS3.0 Displacement Mapping

Yup, I remember something about an NVIDIA bug that generates files of size exceeding the GIG while compiling GLSL shaders.
That bug was fixed in the latest BETA drivers.
__________________
SXML 3D Engine
Abba Zabba is offline   Reply With Quote
Old 04-29-05, 09:31 AM   #6
Knell2
Registered User
 
Join Date: May 2004
Posts: 85
Default Re: New Demo: VS3.0 Displacement Mapping

It seems to use all the memory in my system then crash.

I have 6800gt, also my system has 1gb DDR.

Edit: By latest beta driver, which one(s) do you mean? Thanks.
Knell2 is offline   Reply With Quote
Old 04-29-05, 09:59 AM   #7
Abba Zabba
Java Cool Dude
 
Abba Zabba's Avatar
 
Join Date: May 2003
Location: Los Angeles
Posts: 125
Send a message via AIM to Abba Zabba Send a message via MSN to Abba Zabba
Default Re: New Demo: VS3.0 Displacement Mapping

76.44 seem to behave ok on my machine
__________________
SXML 3D Engine
Abba Zabba is offline   Reply With Quote
Old 04-29-05, 11:19 AM   #8
fivefeet8
Ngemu Mod
 
Join Date: Jul 2003
Location: Fresno, CA
Posts: 1,886
Default Re: New Demo: VS3.0 Displacement Mapping

Nice Demo. Really shows off Vertex Shader 3 Displacement Mapping well. If you move close to the ripples in the water, the geometry is actually changed.

The demo runs about 300 fps at 1280x1024 w4xAA using FBO. Using PB(forced 2xAF), the framerate goes to about 90 fps with the same settings.

Here are a few screens up close to the ripples.


__________________
[i7 2600k @4.4ghertz][2x4 GB DDR3 1600][EVGA GTX570 1.280GB SC][EVGA GTX460 physx][Asrock Extreme7 Gen3 Z68][2xSeagate 160 Gb SATA HD raid0][Seagate 250 GB SATA2 HD][Sony Bravia 40' 1080p LCD HDTV][NEC 3520a DVD+-DLw][Windows 7 Ultimate x64][Rosewill 1000w]
fivefeet8 is offline   Reply With Quote

Old 04-29-05, 12:11 PM   #9
Danhill
I hate the Cold
 
Join Date: Sep 2004
Location: Scandinavia
Posts: 275
Default Re: New Demo: VS3.0 Displacement Mapping

Doesn't work for me either, I'm using 71,89.

The log;

<+>Registering data path -> Data/XML/
<+>Registering data path -> Data/Textures/
<+>Registering data path -> Data/Shaders/
<+>Registering data path -> Data/Models/
<+>Creating GL Window
<+>->width: 800, height: 600
<+>->XLocation: 240, YLocation: 212
<+>->Depth bits: 24, Alpha bits: 0
<+>->Color bits: 32, Stencil bits: 8
<+>Loaded Texture2D file at -> GUIElements.png
<!>GL_EXT_framebuffer_object not supported
__________________
Mobo: ASUS A8N-SLI Premium, CPU: AMD 64 3200+ (Venice) @ 2,4Ghz Mem: 2 x 512 DDR 466, Vga: 2 x Club 3D 6600 GT in SLI, Hdd1: WD Raptor Hdd2: Maxtor Diamond Plus 9, Case: Antec Plus View 1080, Psu: ThermalTake PurePower 500W, MX 1000, Dell 2001 FP, Aud. 2 SZ
Danhill is offline   Reply With Quote
Old 04-29-05, 01:15 PM   #10
Abba Zabba
Java Cool Dude
 
Abba Zabba's Avatar
 
Join Date: May 2003
Location: Los Angeles
Posts: 125
Send a message via AIM to Abba Zabba Send a message via MSN to Abba Zabba
Default Re: New Demo: VS3.0 Displacement Mapping

THAT'S IT; SCREW GLSL
I'm converting all my shaders to using regular GPU assembly, enough is enough
Gimmie 30 min
__________________
SXML 3D Engine
Abba Zabba is offline   Reply With Quote
Old 04-29-05, 01:22 PM   #11
tomjscott
Registered User
 
Join Date: Jun 2004
Posts: 6
Default Re: New Demo: VS3.0 Displacement Mapping

The demo ran with beta drivers, but no water effect at all. Anyway, here is my criticism from the images shown. It looks like a cool effect, but it doesn't look like water at all. It looks more like mercury. Water shouldn't look so silvery.
tomjscott is offline   Reply With Quote
Old 04-29-05, 01:39 PM   #12
Danhill
I hate the Cold
 
Join Date: Sep 2004
Location: Scandinavia
Posts: 275
Default Re: New Demo: VS3.0 Displacement Mapping

Quote:
Originally Posted by Abba Zabba
THAT'S IT; SCREW GLSL
I'm converting all my shaders to using regular GPU assembly, enough is enough
Gimmie 30 min


__________________
Mobo: ASUS A8N-SLI Premium, CPU: AMD 64 3200+ (Venice) @ 2,4Ghz Mem: 2 x 512 DDR 466, Vga: 2 x Club 3D 6600 GT in SLI, Hdd1: WD Raptor Hdd2: Maxtor Diamond Plus 9, Case: Antec Plus View 1080, Psu: ThermalTake PurePower 500W, MX 1000, Dell 2001 FP, Aud. 2 SZ
Danhill is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lego Batman 2?s Dynamic Demo News Gaming Headlines 0 06-20-12 01:40 AM
Seed If You Like It: Botanicula Demo News Gaming Headlines 0 06-15-12 10:30 AM
Gratuitous Tank Battles Demo Rolls Into View News Gaming Headlines 0 06-13-12 10:30 AM
BF1942 demo and Refresh Force cricket Gaming Central 2 09-04-02 09:29 PM

All times are GMT -5. The time now is 08:44 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.