Code center > Darwinbots3

Helping

<< < (6/9) > >>

Numsgil:
Another useful tool: websvn.  If you find a file you're interested in, you can view the log for it and see all the commits I made to it.  I usually had interesting comments for any given commit, so it can be useful to see what I was thinking when I originally checked something in, for instance.  Some of the stuff in there is just there because I wanted to experiment, and then I never really got very far with it, or it proved to be unteneable for whatever reason.

Peter:
Correct me if wrong, but it seems physics are being build from scratch. Why not use a phycics engine?

What's the software license of darwinbots 3?

Numsgil:

--- Quote from: Peter on April 20, 2013, 07:23:43 AM ---Correct me if wrong, but it seems physics are being build from scratch. Why not use a phycics engine?

--- End quote ---

All the off-the-shelf physics engines are too wobbly for what I want to do with DB3.  Like, have you played Tower of Goo?  The gooey-ness of the tower is a result of how the physics engine works.  For DB3, I specifically want to be able to have large sturdy towers of bots for things like trees, and if they're constantly falling over because the physics engine can't withstand the forces that's no good.


--- Quote ---What's the software license of darwinbots 3?

--- End quote ---

MIT License.  Note that that's much different from the DB2 license, which is a more restrictive holdover from when Carlo first wrote it.

Numsgil:
Okay rwill, I've checked in changes to Azimuth.  DenseVectorPre.cs has a bunch of macros in it that get expanded to produce DenseVector.cs.  Right now it's running as a prebuild step (for some reason you have to run the build process twice for it to take properly), but if you can get it to work as a custom tool that would be huge.  The prebuild step has two commands: one does the preprocessor, and the other does an autoformatting on the code to make it actually readable.  You'd probably want both to be put in to a batch script and have that get run by the custom tool.

Let me know if you have any issues/questions.

Peter:

--- Quote from: Numsgil on April 12, 2013, 02:42:55 PM ---An interesting task you could do to get your feet wet is build something for the graphics engine to save out screenshots as SVG. I have some code already in Annulus for visualizing unit tests that produces SVG. It would just be a matter of taking that code and expanding it to handle more shape types and that sort of thing. It might also be possible to include animation data in JavaScript or something like that, but I don know how to do that. But it would let us save out basically movies from a sim and post them online in the forums.
--- End quote ---
Most likely a silly question. How can I run the code for the visualization?

Unrelated other stupid question, how can the code for DB2 be set up. I can't find a project file for Darwinbots2. :(

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version