Writing a physics editor

Starfox
Posts: 37
Joined: Wed Jul 27, 2011 12:01 am

Writing a physics editor

Post by Starfox »

Hi guys,

I'm writing a simple physics editor mainly to scratch my own itch at creating dynamics objects - it's a simple editor, kind of like a super-simple modeling program where you can load an OBJ mesh to work against, and you add dynamics objects (cubes, capsules, etc) to create a representation that covers it. Would anyone be interested in beta-testing such thing? It's OS X only though, and I don't know how many of you use a Mac. Let me know if you're interested.
eagletree
Posts: 28
Joined: Sun Jul 31, 2011 11:20 pm

Re: Writing a physics editor

Post by eagletree »

Yes, something like that would be useful if it has an export format (e.g. code) that could be incorporated in a project.

We only use Macs to develop code, but what component is driving mac only?
Starfox
Posts: 37
Joined: Wed Jul 27, 2011 12:01 am

Re: Writing a physics editor

Post by Starfox »

Of course it has an export format. It exports objects in YAML (mainly because yaml-cpp is neat and easy to use), looking like this:

Code: Select all

dynamics objects:
    - type: box
      name: "Object #0"
      position: [1.74024999141693, 0.999999225139618, 26.5026836395264]
      mass: 1
      extents: [1, 1, 1]
    - type: box
      name: "Object #1"
      position: [-4.78264379501343, 1.13511574268341, 38.946849822998]
      mass: 1
      extents: [1.13511645793915, 1.13511645793915, 1.13511645793915]
    - type: box
      name: "Object #2"
      position: [-0.480933517217636, 0.999999105930328, 40.4438362121582]
      mass: 1
      extents: [1, 1, 1]
    - type: box
      name: "Object #15"
      position: [-1.01096701622009, 3.78080463409424, 43.025463104248]
      mass: 1
      extents: [1, 1, 1]
There's no "component" causing it to be Mac only other than the fact that it's a Cocoa app. I believe most cross-platform UI libraries result in a sub-par experience, and Cocoa is the most productive, fastest way for me to produce an elegant app. I'm not skimping on features, the app currently supports OS X Lion features like Full Screen, Versions and Autosave. I plan to support Snow Leopard as well.

If you're interested, give me a way to get in touch with you (email, IM, etc)