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] Jammy`s entry - Jammy-Soft

Author
Message
Jammy
23
Years of Service
User Offline
Joined: 15th Jan 2003
Location: Scotland
Posted: 18th Jul 2008 02:21 Edited at: 18th Jul 2008 02:23
Thought it was about time I started a work in progress.

I plan to enter the Soft-Body demo as my pc is a bit poor and I cannot display fluids or even get the latest version of dark physics working.

Here are some screen shots



The demo starts with a cool menu (if I do say so myself) . Where you can choose various scenes I choose this method because i had lots of unrelated ideas and this would allow me to link them together.

Scenes so far

Comparison – A comparison between hard and soft bodies.

Crusher – showing dynamic deforming and ‘spring back’ of soft bodies.

Diver – showing a useful application of soft bodies.

Jelly army x4 – showing scalability and encouraging user interaction to deform soft bodies.

Planned scenes

Field of flowers

A game of some sort.

I will need to submit my preview tomorrow (Friday 18th) as i am working the weekend.

Jammy
23
Years of Service
User Offline
Joined: 15th Jan 2003
Location: Scotland
Posted: 18th Jul 2008 15:23
I think i have eventually managed to send my enty for the preview compo. Both yahoo and hotmail failed despite the zipped attachment being just over 5 meg - got the same error from both - which makes me think it is something to do with rick's googlemail settings. (yes, i sent it to [email protected], but it seems to get forwarded to rick).

Have sent it by yousendit.com and hope it works ok. Unfortunatly text support there is small - but this is what i wanted to say...

It includes various demos all accessible via a menu, which in itself is a 'soft body' demo (spend some time looking at it - i think its the best part). In total these demos show the properties of soft bodies, allowing dynamic deformable distortion and elastic rebound and encouraging user interaction.

Two main demos are scalable - and feedback would be appreciated on whether the scale needs adjustment.

I have added support for hardware and software simulation but as I cant afford a decent pc, Feedback on whether this works would be good.

In future development I hope to improve the sound, graphics, streamline code, enhance performance and may add a game. (I am thinking Pong with soft body obstacles, as user control over soft bodies is limited at the moment).

Any comments please feel free to post.

Jammy
23
Years of Service
User Offline
Joined: 15th Jan 2003
Location: Scotland
Posted: 21st Jul 2008 17:49 Edited at: 21st Jul 2008 17:50
Since lots of other people are adding vids - here is mine

You tube seem to have doubled the speed at which it was taken

I kniow its a bad quality vid - but my first attempt.


http://www.youtube.com/watch?v=tgBC0InzOu4

Jammy
23
Years of Service
User Offline
Joined: 15th Jan 2003
Location: Scotland
Posted: 11th Aug 2008 11:41 Edited at: 11th Aug 2008 11:44
Well I have my feedback which I will start working on, now I have finished the next component of the demo – a simple game that started out as pong and turned into a cross between centipede and pinball. Here is a screenshot.



It looks better when animated.

I see the TGC are at Edinburgh’s interactive festival just now.

A friend and I are going to be in Edinburgh today and will have a look out for TGC while we are there.

If you have some time.

My favourite tourist attraction in the area is actually across the water in Fife.

http://www.secretbunker.co.uk/

A farm house on top and a massive military nuclear bunker hidden underneath which would have ran the country in the event of war. Well worth a visit if you have the time.

If not go and see,

http://www.realmarykingsclose.com/

One of the forgotten lost streets which was built over centuries ago and full of ghost stories. It should not be far from where you are.

Or just go to a pub and get pissed.

Anyway have fun.

Sixty Squares
20
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 12th Aug 2008 01:25
Looks pretty cool Good luck on this.

Jammy
23
Years of Service
User Offline
Joined: 15th Jan 2003
Location: Scotland
Posted: 16th Aug 2008 10:04 Edited at: 16th Aug 2008 10:19
Thanks Sixty Squares,

I am still working on the feedback, which i will detail once things are sorted - almost there. I am hoping that once I have done that I will have time to add another sub-demo, perhaps driving. I have improved the overall look of things. Here are some recent screenshots.




Jammy
23
Years of Service
User Offline
Joined: 15th Jan 2003
Location: Scotland
Posted: 16th Aug 2008 10:14 Edited at: 16th Aug 2008 10:25
Some more Screenshots



or a slideshow

http://good-times.webshots.com/slideshow/565499858nxrPEb

Jammy
23
Years of Service
User Offline
Joined: 15th Jan 2003
Location: Scotland
Posted: 19th Aug 2008 15:24
Well, 11 or so more days to go,

Things have came along nicely I have did everything I had set out to do and think I have addressed any problems highlighted in the feedback. I have sent a copy to a friend to play test and once he has no problems I’m ready for the deadline.
Point s highlighted by feedback were

1)Good use of scaling. – Good to know I was on the right track.
2)Great selection of soft body objects. – Again, good to know.
3)Menu system well presented. – Thanks, I really think it’s good.
4)Remove or change music and improve sound effects. – Music and SFX were inserted at the last minute and was chosen more for its availability and size than its appropriateness. I have now added much better, though due to size limits have been a compromise.
5)Soft body simulations are inappropriate and cause extreme geometric constrution. – Bit cryptic here and took me a while to figure out what was meant. In some parts of the demo, models were being squished and not returning to their original shape. This has now been sorted.
6)100 flowers crashes when reset scene. – I had thought this was due to my PC being poor and running at 1FPS during this part so was good to know it was a coding problem. Now sorted (I hope).
7)Diver simulation odd (diver gets stuck on ramp). - This was due to the inherent inelastic collision between two soft bodies (both diver and diving board are soft bodies). I had thought it was ok and my mate found the movement funny. This Sub-demo has now been completely revamped and moves much more impressively.

Here is another Screen shot to break up the monotonous text.



I have started another sub demo, a driving simulation with soft body flora. Initial impressions are very good and it has the potential to be impressive. It could be the culmination of what i have learned doing the rest of the demo or I will run out of time and it will not make it into the final version.

Is the use of Advanced Terrain allowed?

Anyway good luck everyone. This forum has been very quiet, people must be working hard.

Jammy
23
Years of Service
User Offline
Joined: 15th Jan 2003
Location: Scotland
Posted: 28th Aug 2008 16:56 Edited at: 28th Aug 2008 16:58
I got my feedback from my play-tester ‘floppy’, and he found an intermittent bug which messed up the display.

He kindly sent me a screenshot.



This has now been fixed

He also feels the diver demo could still do with a few small changes in the way she moves and that is my job for today.

Jammy
23
Years of Service
User Offline
Joined: 15th Jan 2003
Location: Scotland
Posted: 29th Aug 2008 18:37 Edited at: 29th Aug 2008 18:38
I have Up-loaded the entry,

Things never go smooth at this stage and only after uploading V3.5 did I notice that the size limit for media was 5Mb uncompressed. I had thought it was 5Mb Ziped.

So I had to reduce the quality of the music files and It now has 4.75 MB of Media.

Then I had to re-submit the entry as V3.6

I have Emailed Lee to check everything has been received ok, and am waiting on a reply.

Here is a couple more Screen Shots - the Drive Late addition sub demo.





If I don’t Hear back from lee today I will probably panic and send it again Tomorrow – though i am going for a game of paintball tomorrow. I am Working All day Sunday and won’t have a chance to do anything.

Jammy
23
Years of Service
User Offline
Joined: 15th Jan 2003
Location: Scotland
Posted: 1st Sep 2008 13:32
The competition is over, the entry’s are in and now the long wait begins.

Time for reflection and I would like to highlight some things I found when coding this demo.

Firstly Dark Basic is great. It is flexible, contemporary and dynamic. You can create anything you can imagine. It leads with the latest cutting edge technologies and has an unprecedented level of support from both its creators and users. It is an easy to use interface between your imagination and the `reality` of your computer.

Just about any problem can be solved with a workaround or plug-in, however as competitions like this don’t allow DLLs here is a small wish list.

Nvidia
Could you fix the Physx viewer, the export `as wavefront obj and tet` has been broken for quite a few releases now. I used Version 2.7.3 but I believe 2.7.4 still works. Options to export as .x, .3ds and .dbo formats would be useful.

Dark Basic Pro
Pixel perfect sprite collision would be good. I know there are various methods for this including here

http://forum.thegamecreators.com/?m=forum_view&t=110085&b=6

and

http://darkbasicpro.thegamecreators.com/?f=extends

However I would like a native commands like (pp for pixel perfect)

Return Integer=PP SPRITE COLLISION (Sprite Number, Target Sprite Number)
Return Integer=PP SPRITE COLLISION X (Sprite Number, Target Sprite Number)
Return Integer=PP SPRITE COLLISION Y (Sprite Number, Target Sprite Number)

I realise such commands may be slow; nevertheless sometimes you are willing to compromise speed for accuracy and it would be very useful in many situations, such as my menu system.


Help and manuals

A revamp of the help system to include all the hidden commands, standardising the system amongst plug-ins and be in a format which users could print out in standard A4.

This would allow us to keep a folder with all help files making reference much easier and would let us just print out any updates, replacing pages as necessary. I also feel this would be the best format for any future dark basic manuals as they can become dated very quickly.

A simple explanation of terms, not just their usage, especially for new technologies such as physics would be good.

E.g. the help for ‘phy attach soft body sphere’ should explain that the sphere is invisible and is to allow collisions between soft bodies. It should also explain how the density would affect the body/collision and give normal values and limitations (such as Max Limit, Min Limit and whether negative and floats supported)

If a command includes an angle the help should say if this is radians or degrees.

Differences between terms like angular velocity, linear velocity, local point velocity, point velocity, sleep linear velocity and sleep angular velocity should all be explained.

It should also not be assumed that users will know terms like kinematic without an explanation. Perhaps a glossary of terms would help.

Soft Body Support

As soft bodies are a new technology and their support will be evolving, Im sure many of these will be planned.

The command Phy Attach soft body box did not work for me, yet both spheres and capsules work fine(i Am using the beta version of update 1.05 due to the NX cooking error on other updates). This meant I could not stack soft bodies, as they would just fall over.

Commands to get and set soft body properties like position, rotation, velocity, density and mass are much needed. I used invisible rigid body actors to track and direct the soft bodies however this is inaccurate.

It would be very useful to be able to attach soft bodies to terrain and rigid bodies. I found myself creating bases on my models and crudely encasing the base in a rigid body to fix its position, which works but could be so much better with a command like

PHY ATTACH SOFT BODY TO SHAPE

Description

Attaches a soft body object to the specified shape(rigid body). The attachment process works by attaching any points on the soft body object that collide with the rigid body to that shape.

Syntax

PHY ATTACH soft body TO SHAPE ID, object, maximum force#, maximum torque#

Parameters

ID - identification number of the soft body
Object- identification number of the rigid body object that the soft body is to be attached to.
Maximum force# - maximum level of force before the separation of objects occurs. (A value of 0 would mean no amount of force would cause separation)
Maximum torque# - maximum level of torque (rotational force) before separation of objects occurs. (A value of 0 would mean no amount of Torque would cause separation)

Return

n/a

I hope this post does not come forward as a rant but as some useful feedback of a users experience. As i have said DBP is very flexable and It has allowed me to to create programs which i never even thought would be possable.

Next Post I hope to show some vidios of my entry (much more fun).

LeeBamber
TGC Lead Developer
26
Years of Service
User Offline
Joined: 21st Jan 2000
Location: England
Posted: 1st Sep 2008 15:41
Thanks Jammy for your feedback and comments The latest BETA2 of U70 has a new help system with the undocummented commands, er, documented. I am on the lookout for suggestions on which commands I should flesh out in the basic command sets. I will pass this thread to Mike who runs the DarkPHYSICS side of things as well, as you have some real world experience and your ideas for DP improvements have been born from the fires of frustration

"Small, smart and running around the legs of dinosaurs to find enough food to survive, bedroom coders aren't extinct after all "
Jammy
23
Years of Service
User Offline
Joined: 15th Jan 2003
Location: Scotland
Posted: 8th Sep 2008 06:48 Edited at: 8th Sep 2008 06:52
I have been distracted by Update 7.0 and decided to retry updating darkphysics - and all updated first time without any problems. I had wasted about the first week of the compo trying to get latest version to work with no success. Don't know why it worked this time as i have been using the pc for a couple of months since then and have changed lots of things.

Anyway it all works now - I even see Big Balls of fluid like lots of other people - not right but fluid did not display at all before.

Have been playing Flatout on the 360 and trying to create something like it - looks nothing like it, but is good fun.

so here is here vids i said i would post a bit later than planned.

http://www.youtube.com/watch?v=kagWhX53TrE

http://www.youtube.com/watch?v=68nlp15GHng

http://www.youtube.com/watch?v=DZdPbGW8bNs

http://www.youtube.com/watch?v=EwGGBihQdA0

General Reed
20
Years of Service
User Offline
Joined: 24th Feb 2006
Location:
Posted: 8th Sep 2008 22:39
Coolness! Tho i have to say every update for dbpro now, seems to add more bugs, then fix lol

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

Login to post a reply

Server time is: 2026-06-12 05:06:11
Your offset time is: 2026-06-12 05:06:11