Log of /trunk/NewtonPlugin/NewtonPrim.cs
| Links to HEAD: | (view) (download) (annotate) |
| Sticky Revision: |
Revision 18 - (view) (download) (annotate) - [select for diffs]
Modified Thu Dec 3 22:48:17 2009 UTC (3 years, 5 months ago) by rknop
File length: 12256 byte(s)
Diff to previous 17 , to selected 3
Patch to work with opensim trunk ca. 2009/12/03. * prebuild patch updated * Biggest change: Physics engines now use Vector3 instead of PhysicsVector. This was more than a search and replace, because Vector3 has a Multiply(Vector3, float) method, but *not* a Multiply(float, Vector3)... PhysicsVector had both. So I had to rearrange some products. Additionally, Vector3 is a struct whereas PhysicsVector was a class; it turns out that when you pass a struct in C#, it is passed by *value*, but a class is passed by *reference*. (I'm sure somebody thought that was a good idea.) So, a couple of functions (periodicBCs and one that moves characters around) had to be updated to deal with this. I've connected this to a grid for the first time, and am not sure that the boundary conditions are functioning quite as desired. I will continue to futz with it.
Revision 17 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 17 21:39:23 2009 UTC (3 years, 8 months ago) by rknop
File length: 12516 byte(s)
Diff to previous 15 , to selected 3
Commented out the mass and position/velocity rescaling, as that was causing problems (race conditions that would mess up initial conditions, and sometimes shoot stars way the heck out to the edge of the sim). Added comments, some commented-out logging. It now works for N=2.
Revision 15 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 15 21:00:59 2009 UTC (3 years, 8 months ago) by rknop
File length: 11470 byte(s)
Diff to previous 12 , to selected 3
* Did some reformatting (removing more tabs, replacing them with spaces, as that's the Morally Correct way, and also matches the OpenSim coding standards). * Added a bit of logging. * Added AddForce to NewtonPrim, so I could use llApplyImpulse in a script to set initial conditions (or otherwise kick stuff around) * Added a call to PhysicsActor.ReqeustPhysicsterseUpdate() in NewtonScene.Simulate(). Without that, the positions of the prims were not getting updated to the viewer-- the physics positions were being calculated and lost. As of Opensim-0.6.6, micasim works again. (I've only tested it with n=2.)
Revision 12 - (view) (download) (annotate) - [select for diffs]
Modified Sat Mar 7 16:15:28 2009 UTC (4 years, 2 months ago) by chi11ken
File length: 11057 byte(s)
Diff to previous 10 , to selected 3
Update to build against OpenSim r8728.
Revision 10 - (view) (download) (annotate) - [select for diffs]
Modified Mon Dec 15 00:35:37 2008 UTC (4 years, 5 months ago) by chi11ken
File length: 10680 byte(s)
Diff to previous 9 , to selected 3
Update to OpenSim r7720 physics API. Minor formatting cleanup.
Revision 9 - (view) (download) (annotate) - [select for diffs]
Modified Tue Dec 9 12:24:15 2008 UTC (4 years, 5 months ago) by chi11ken
File length: 9987 byte(s)
Diff to previous 3
Updated to build against OpenSim r7646.
Revision 3 - (view) (download) (annotate) - [selected]
Modified Fri Jul 25 01:31:33 2008 UTC (4 years, 9 months ago) by chi11ken
File length: 9488 byte(s)
Diff to previous 2
Update char/prim properties to match OpenSim interface as of r5618.
Revision 2 - (view) (download) (annotate) - [select for diffs]
Added Fri Jul 25 01:14:55 2008 UTC (4 years, 9 months ago) by adjohn
File length: 9460 byte(s)
Diff to selected 3
Initial checkin moved from googlecode project rev 13
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |

