Newton SDK

Discussion about everything. New games, 3d math, development tips...
Post Reply
VeneX
Posts: 228
Joined: Sun Nov 30, 2003 3:32 pm
Location: The Netherlands
Contact:

Newton SDK

Post by VeneX »

The Mercior demo of the Newton SDK does have the code of water but doen't show it, I have scanned the code but it seems to be ok, does anybody know more about this?
Visit my website @ www.venex.be
Plethora project will be added to the site
AMD AthlonXP 2600+, 512MB DDR, Radeon M10 (mobile 9600) PRO 64MB, WinXP
schick
Posts: 230
Joined: Tue Oct 07, 2003 3:55 pm
Location: Germany
Contact:

Post by schick »

The water was used in an earlier demo. It is full working, dont know why it was disabled in most recent demo.
Please send me an e-mail instead of a private message.
puh
Posts: 356
Joined: Tue Aug 26, 2003 3:53 pm

Post by puh »

I did enable it and change a bit of texture flags to make water transparent (and change device to DirectX).
Maybe he disable the code because couldn't make transparent water?
Guest

Post by Guest »

What did you do to enable it?
puh
Posts: 356
Joined: Tue Aug 26, 2003 3:53 pm

Post by puh »

Uncomment

Code: Select all

#define DRAW_WATER
in game.cpp and rebuild all
VeneX
Posts: 228
Joined: Sun Nov 30, 2003 3:32 pm
Location: The Netherlands
Contact:

Post by VeneX »

:( I thought it was the idea the cubes will respont to the water, unfortunatly it is'nt....
Visit my website @ www.venex.be
Plethora project will be added to the site
AMD AthlonXP 2600+, 512MB DDR, Radeon M10 (mobile 9600) PRO 64MB, WinXP
puh
Posts: 356
Joined: Tue Aug 26, 2003 3:53 pm

Post by puh »

Why do you think so? They respond with the water. At least when box drops into it begins to rock on the waves. Realistic enough for me.
VeneX
Posts: 228
Joined: Sun Nov 30, 2003 3:32 pm
Location: The Netherlands
Contact:

Post by VeneX »

On my computer the water doesn't do anything, the cubes do not respont to it, just fall through it :( :(
Visit my website @ www.venex.be
Plethora project will be added to the site
AMD AthlonXP 2600+, 512MB DDR, Radeon M10 (mobile 9600) PRO 64MB, WinXP
//.Razor
Posts: 42
Joined: Sun Jun 06, 2004 12:09 am

Post by //.Razor »

well it depends, if the object is filled with air, or is very light, it will float. If not, it will just go in, because thats what happens. Damn, Newton Physics is really good!
Post Reply