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.

NVIDIA Competition 2008 / [PhyX Comp 2008] HowDo's Entry

Author
Message
HowDo
23
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 3rd Jul 2008 15:13 Edited at: 3rd Jul 2008 15:14
Here's my WIP entry for the 2008 competition. using the template code.

It zero gravity box with object of diffrent size and mass and seeing how they react to each other.



Dark Physics makes any hot drink go cold.
Chewy
20
Years of Service
User Offline
Joined: 1st Jan 2006
Location:
Posted: 4th Jul 2008 00:54
Quite a nice little idea this, very simple yet I can see quite a lot of potential coming from it.

Keep it up mate

MjMAC
---------------------------
Intel Core 2 Quad Q6600 @ 2.4GHz | 2 x XFX 8800GTs Alphadog (SLi) | 3GB RAM (Would be 4 but 32bit windows doesn't pick up past 3)
HowDo
23
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 4th Jul 2008 11:27
I think that the way to go, simple to srart, then the end user can say, Ah, that how it works now lets go make ??????.

Dark Physics makes any hot drink go cold.
LeeBamber
TGC Lead Developer
26
Years of Service
User Offline
Joined: 21st Jan 2000
Location: England
Posted: 4th Jul 2008 13:18
Thanks for your early submission for feedback. Remember that when the user presses a key that something dramatic should happne. I pressed N and V but it did not seem anything wild was happening when I did so. Great start though, perhaps making the cube a glass material and throwing in some interesting influences like magnets, and perhaps give the spheres some high specular so they are shiny?

"Small, smart and running around the legs of dinosaurs to find enough food to survive, bedroom coders aren't extinct after all "
HowDo
23
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 4th Jul 2008 17:19
Thanks for your reply Lee.

like you said some dramatic should have happen, perhaps my screen instruction are not clear.

what you should have seen is.

if spacekey is pressed you lock on to one of the objects and follow it around to see close up what it is doing.

Pressing the N key was to return you back to normal view.

Pressing the V key should have started the vortex on the rectangle.(think I lock this to the bottom of the cube box.)

Plus there are two spheres that change forces but just can't seem to see why object do not latch on to them yet.

Hoped that one would collect a lot of objects then when it is field is reversed the objects would fly off.

time to dig out a book, to look up, on how to make object shiny.

Dark Physics makes any hot drink go cold.
WarGoat
21
Years of Service
User Offline
Joined: 19th Sep 2004
Location: Montreal
Posted: 5th Jul 2008 00:15
A simple, but well tought template. keep at it, will look how it turns out!

Windows Vista, Q6600 @ 3.2ghz, 2gb Ram 800mhz - low latency, 8800 GTS 512 mb
HowDo
23
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 7th Jul 2008 15:04 Edited at: 7th Jul 2008 15:05
picture update, you can now choose to see the size of a force field on each object.



Dark Physics makes any hot drink go cold.
Syncaidius
21
Years of Service
User Offline
Joined: 22nd Mar 2005
Location: United Kingdom
Posted: 7th Jul 2008 15:28
Even though its simple, that actually looks exciting.

HowDo
23
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 7th Jul 2008 15:47 Edited at: 7th Jul 2008 16:11
good to watch, spend more time doing that, than coding it.


edit

I have phy SET RIGID BODY CCD id,1 set but some of the objects are still going thourgh object it should not, any ideas on what else to do.

Dark Physics makes any hot drink go cold.
Hoozer
19
Years of Service
User Offline
Joined: 8th Sep 2006
Location: Bremerhaven (Germany)
Posted: 7th Jul 2008 17:27 Edited at: 7th Jul 2008 17:31
@ HowDo: Mostly this happens when your objects are too fast and are simulated in one frame "before" and in the next frame "behind/after" the object it normaly should collide with! (I had that problem back in the last DPhysX-Comp-2006, where ccd wasn't implementet for spheares at all!)
I limited the max speed of my object and when it was over this speed, I resetted it to the max value! Also I checked if the object was within the arena (area where the physics of my game took place) or if it was outside of this area/box, when it was outside I resetted it to it's last position so it was minimal intersetcting the wall/box of my arena! It all worked so far, but was most possibly not the best way to do it!
I suppose your problem is that the objects pass through each other instead trough your "arena"/box, so I would try to limit the max possible speed the objects could reach! BUT this is again very suboptimal, because you have such a big amount of objects! (It mostly would cost you too much frames, checking each objects speed etc.!)
Also you might try to make the objects not that small and instead makeing them a bit bigger! This way they occupy more space and a "passing-through"-effect should be lower, cause the possibility should be higher that they really hit each other!

It looks very "interacting" and is sure a nice demo! (And if the object number is high the "misbehaving"/"bad" objects will be hard to see, I would say!)


Well, I lost many words, which won't help you much I suppose, sorry!

Hoozer

AMD64X24800+(939);2GB;GF6800LE (@12PS, 6VS; 380 MHz, RAM: 434 MHz)
DP-Sw-Mode-Comp-Entry (updated to V. 1.4):
http://forum.thegamecreators.com/?m=forum_view&t=109846&b=5&p=0
HowDo
23
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 7th Jul 2008 17:34
well I gone to making the objects a bit bigger and not so many, seem to be doing the trick, but its not helping on the smoke emitters.

Dark Physics makes any hot drink go cold.
Hoozer
19
Years of Service
User Offline
Joined: 8th Sep 2006
Location: Bremerhaven (Germany)
Posted: 7th Jul 2008 17:39
@ HowDo: I also have problem with the particle-emitter within my entry! As soon as a force (normally not that much like 10.0 or so) gets applied to the particles they start to pass through other objects! They only seem to work 100%, if they don't get effected too much by forces (->gain too much speed)!

What is you exact problem with the particles?


Hoozer

AMD64X24800+(939);2GB;GF6800LE (@12PS, 6VS; 380 MHz, RAM: 434 MHz)
DP-Sw-Mode-Comp-Entry (updated to V. 1.4):
http://forum.thegamecreators.com/?m=forum_view&t=109846&b=5&p=0
HowDo
23
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 7th Jul 2008 18:35
have the glass box, some of the smoke gets outside the box. glass side ccd is set to 1.

Dark Physics makes any hot drink go cold.
Hoozer
19
Years of Service
User Offline
Joined: 8th Sep 2006
Location: Bremerhaven (Germany)
Posted: 7th Jul 2008 18:58 Edited at: 7th Jul 2008 19:00
@ HowDo: Do you thought about useing some other static rigid-bodies (or maybe also delete the rigid-body of the Glas-Sides) with a very big volume (high x,y,z-values) and make the 3D-object invisible! This way the smoke should have to collide with the borders of your box and the glas isn't looking to thick, cause you can keep the actual glas-thickness!

Just an idea! (Not sure if it would work, but you might give it a try!)


Hoozer

AMD64X24800+(939);2GB;GF6800LE (@12PS, 6VS; 380 MHz, RAM: 434 MHz)
DP-Sw-Mode-Comp-Entry (updated to V. 1.4):
http://forum.thegamecreators.com/?m=forum_view&t=109846&b=5&p=0
HowDo
23
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 22nd Jul 2008 02:05
One thing that would have been great was away of controlling limbs when in a vehicle model as I could not work out away of getting the object I was hoping to use a forklift to move the limbs and give them physX, something like: phy add to limb parent_id,limb_id limb_child.

Plus with force fields a way of changing the force from one object to another, also do you need to have one force field per object or can it be use on many, as when one was use on many it worked but not like it does when many are used. plus a force field on off, phy force field object on object_id, 0 or 1.

Also away of seeing the force field size and shape in wire frame.

Dark Physics makes any hot drink go cold.

Login to post a reply

Server time is: 2026-06-11 04:00:11
Your offset time is: 2026-06-11 04:00:11