patchWarmux - Patches: patch #1070, Initial work for a new physical...

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

patch #1070: Initial work for a new physical engine

Submitted by:  Yannig <drayan>
Submitted on:  Fri 30 May 2008 01:55:31 PM UTC  
 
Category: NonePriority: 3 - Low
Status: In ProgressPrivacy: Public
Assigned to: Yannig <drayan>Open/Closed: Open

(Jump to the original submission Jump to the original submission)

Sat 05 Jul 2008 09:38:14 AM UTC, comment #11:

I have uploaded the code used for the demo. Download both files (physics.tar.bz2 and whysics_test.patch).

Apply the patch in src trunk:
drayan@drayan-desktop:~/wormux/trunk/src$ patch -p 1 <./whysics_test.patch

Untar physics.tar.bz2 :
drayan@drayan-desktop:~/wormux/trunk/src$ tar xfvj physics.tar.bz2

Then run autogen.sh, configure, compile, run and tada, here is your new brand new physical engine.

Beware, I'm using a quite speedy PC (dual core Athlon 64 4400+) to run this thing. So if you run this on older hardware, you will have some performance issue ...

(file #4526, file #4527)

Yannig <drayan>
Project AdministratorIn charge of this item.
Sat 05 Jul 2008 09:16:41 AM UTC, comment #10:

A new video showing the new bouncing code in action. The scene is compound of a vertical rope on the left which is fix at the top and the bottom, particles and box and a platform.

It's far from perfect and there's still room for improvement but I think there's potential :)

http://www.youtube.com/v/RmXRggaN8dg

Yannig <drayan>
Project AdministratorIn charge of this item.
Wed 25 Jun 2008 10:18:27 PM UTC, comment #9:

A new video showing progress of the physical engine :
http://www.youtube.com/v/qxXJ_gHdv9Y

Now, we can use any kind of convexe shape. Even if the video show only boundary box, we can use triangle or rotated shape. I have already updated the Whysics code so you can retrieve it directly on gna.org svn repos if you want to play with it.

Now, I have to finish the bounce interaction code to handle correctly angle of impact, rotation of shape etc.

Good night people !

Yannig (Drayan)

Yannig <drayan>
Project AdministratorIn charge of this item.
Wed 18 Jun 2008 05:25:59 PM UTC, comment #8:

The video is very encouraging, especially considering how natural the rope seems to move.

Blob interaction is another plus. We'll see how it can be used gameplay wise :)

Kurosu <kurosu>
Project Administrator
Tue 17 Jun 2008 12:30:39 PM UTC, comment #7:

Work in progress.

(file #4437)

Yannig <drayan>
Project AdministratorIn charge of this item.
Mon 16 Jun 2008 09:14:33 PM UTC, comment #6:

A link showing capabilities of the new physical engine :
http://www.youtube.com/v/Ui88fZUw7-k

Yannig <drayan>
Project AdministratorIn charge of this item.
Wed 04 Jun 2008 03:00:13 PM UTC, comment #5:

Better stability and faster simulation but still work in progress.

(file #4405)

Yannig <drayan>
Project AdministratorIn charge of this item.
Wed 04 Jun 2008 02:19:32 PM UTC, comment #4:

Playing with a new class of object : BoundaryBox

Uploading a new screenshot.

(file #4402, file #4403, file #4404)

Yannig <drayan>
Project AdministratorIn charge of this item.
Mon 02 Jun 2008 01:38:47 PM UTC, comment #3:

Introducing a new class to handle collision and start to introduce boundary box class (which map against our already existing rectangle class in wormux).

Need to finish this and to introduce map collision detection (aka ground) and then I'll see how to replace the already existing physical engine.

I have uploaded a new screenshot showing capabilities when dealing with stacked object on a rope.

(file #4398, file #4399)

Yannig <drayan>
Project AdministratorIn charge of this item.
Sun 01 Jun 2008 09:11:56 PM UTC, comment #2:

Work in progress ... Start to change the way we handle overlapping object.

(file #4396)

Yannig <drayan>
Project AdministratorIn charge of this item.
Sun 01 Jun 2008 08:55:21 AM UTC, comment #1:

Work in progress.

You can interact with the mouse.

(file #4392, file #4393, file #4394)

Yannig <drayan>
Project AdministratorIn charge of this item.
Fri 30 May 2008 01:55:31 PM UTC, original submission:

As I said in the summary

Yannig <drayan>
Project AdministratorIn charge of this item.

 

Attached Files
file #4526:  physics.tar.bz2 added by drayan (11kB - application/octet-stream)
file #4527:  whysics_test.patch added by drayan (6kB - text/x-diff)
file #4437:  physics.tar.bz2 added by drayan (10kB - application/octet-stream)
file #4405:  physics.tar.bz2 added by drayan (6kB - application/x-tbz)
file #4402:  physical_engine.diff added by drayan (5kB - text/x-diff)
file #4403:  physics.tar.bz2 added by drayan (6kB - application/x-tbz)
file #4404:  circle_n_box.png added by drayan (89kB - image/png)
file #4398:  physics.tar.bz2 added by drayan (6kB - application/x-bzip)
file #4396:  physics.tar.bz2 added by drayan (5kB - application/x-bzip)
file #4393:  mouse_interaction.png added by drayan (348kB - image/png)
file #4394:  physical_engine.diff added by drayan (4kB - text/x-patch)
file #4392:  physics.tar.bz2 added by drayan (5kB - application/x-bzip)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by kurosu (Posted a comment)
  • -unavailable- added by drayan (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 18 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 05 Jul 2008 09:38:14 AM UTCdrayanAttached File-=>Added physics.tar.bz2, #4526
      Attached File-=>Added whysics_test.patch, #4527
    Tue 17 Jun 2008 12:30:39 PM UTCdrayanAttached File-=>Added physics.tar.bz2, #4437
    Wed 04 Jun 2008 03:00:10 PM UTCdrayanAttached File-=>Added physics.tar.bz2, #4405
    Wed 04 Jun 2008 02:19:32 PM UTCdrayanAttached File-=>Added physical_engine.diff, #4402
      Attached File-=>Added physics.tar.bz2, #4403
      Attached File-=>Added circle_n_box.png, #4404
    Mon 02 Jun 2008 01:38:47 PM UTCdrayanAttached File-=>Added physics.tar.bz2, #4398
      Attached File-=>Added funky_physical_engine.png, #4399
      StatusNone=>In Progress
    Sun 01 Jun 2008 09:11:55 PM UTCdrayanAttached File-=>Added physics.tar.bz2, #4396
    Sun 01 Jun 2008 08:55:37 AM UTCdrayanAttached File#4386=>Removed
    Sun 01 Jun 2008 08:55:34 AM UTCdrayanAttached File#4387=>Removed
    Sun 01 Jun 2008 08:55:21 AM UTCdrayanAttached File-=>Added physics.tar.bz2, #4392
      Attached File-=>Added mouse_interaction.png, #4393
      Attached File-=>Added physical_engine.diff, #4394
    Fri 30 May 2008 01:55:31 PM UTCdrayanAttached File-=>Added physical_engine.diff, #4386
      Attached File-=>Added physics.tar.bz2, #4387
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup