Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Combine DGDK with nVidia Physx

Author
Message
Sharp Bullet
16
Years of Service
User Offline
Joined: 5th Feb 2008
Location: Pluto
Posted: 7th Nov 2008 14:01
Does anybody made a game with DGDK using nVidia Physx SDK or... it is posible to make that?

Or nV Physix SDK works only with GL?

First say to yourself what you would be; and then do what you have to do.
bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 7th Nov 2008 14:22
get DarkPhysx! Although the DarkGDK version is not upto date as the DarkbasicPro version
General Reed
18
Years of Service
User Offline
Joined: 24th Feb 2006
Location:
Posted: 7th Nov 2008 16:06
Or you could create your own Physx -> Darkgdk/directx bindings. Physx, works with anything that uses 3d meshes. All you do is give the Physx engine, the same vertex infomation as the 3d engine has, and the physx engine returns new positions, then you manualy update the visual meshes.

CPU: AMD X2 6000+ 3.0ghz GFX: NVIDIA BFG Geforce 8800GTS 640MB OC-550mhz core RAM: 2048mb

jezza
16
Years of Service
User Offline
Joined: 8th Mar 2008
Location: Bham, UK
Posted: 7th Nov 2008 19:48
Yeah, I have actually done this w/o darkphysics. So you set up physX normally, making sure you add its libs to your project, then in the actual code, you can use some of the sample code to initialize it all, and to position, for each object use this code:

this code uses the method used in the samples not keeping your actor objects but jsut looping through them all in each frame. I use the userdata to store the DarkGDK index number.

Login to post a reply

Server time is: 2024-09-30 09:35:40
Your offset time is: 2024-09-30 09:35:40