Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Here's something pretty cool...
#1
It's a test program really, but alot of this code will be used in our kart racing game. The camera movement in this needs to be done a different way, for sure. Anyway, it's just a single room with a bunch of objects in it that you can push around & stuff. It's pretty damn messy, but it works! If anyone was curious about using Newton for more than just watching cubes bounce around, this could probably help. It also shows the limitations of basic shadow mapping, without using a support shader.

Controls:
W,A,S,D = move
Left mouse button = object interaction

Here's a screen-shot, and the download. Wink
[Image: 58939-r.png]

EDIT:
Also, there are some things that I probably shouldn't have done, such as sneak the operator overloading in there, but it was just too cool to resist! You need a cvs copy of fbc to compile it, and you'll have to build a new header for Newton, by getting the sdk, and running the C header through swig.
Reply
#2
Wow, that is amazing. Big Grin
Reply
#3
*tries to play football with the balls*

Awesome!!! Big Grin
url=http://www.sloganizer.net/en/][Image: style4,TheDarkJay.png][/url]
Reply
#4
That is amazing! Good work Big Grin
quote="Deleter"]judging gameplay, you can adaquately compare quake 4 with pong[/quote]
Reply
#5
Thanks guys! Tongue
Did the shadows work for you? I'm going to write a PCF shader, that way the shadows wont look so rough. I've been toying with extruded shadows, but it's really slow with a bunch of objects.
Reply
#6
huh? how do you get this to work?
quote="whitetiger0990"]whitetiger is.. WHITE POWER!!! [/quote]
Here
Reply
#7
What do you mean? It isn't working for you?
Reply
#8
after reading my reply again i have realized sleep would be good.
Reply
#9
Yes, it would. :rotfl:
Reply
#10
n/m. somehow i opened it as a text file in my browser window. :oops:

very nice! it looks really good. i like the lighting effects on the flat of the table. Smile=b
quote="whitetiger0990"]whitetiger is.. WHITE POWER!!! [/quote]
Here
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)