diff options
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BulletSimTODO.txt')
-rwxr-xr-x | OpenSim/Region/Physics/BulletSPlugin/BulletSimTODO.txt | 142 |
1 files changed, 142 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BulletSimTODO.txt b/OpenSim/Region/Physics/BulletSPlugin/BulletSimTODO.txt new file mode 100755 index 0000000..d51003c --- /dev/null +++ b/OpenSim/Region/Physics/BulletSPlugin/BulletSimTODO.txt | |||
@@ -0,0 +1,142 @@ | |||
1 | CRASHES | ||
2 | ================================================= | ||
3 | 20121129.1411: editting/moving phys object across region boundries causes crash | ||
4 | getPos-> btRigidBody::upcast -> getBodyType -> BOOM | ||
5 | 20121128.1600: mesh object not rezzing (no physics mesh). | ||
6 | Causes many errors. Doesn't stop after first error with box shape. | ||
7 | Eventually crashes when deleting the object. | ||
8 | |||
9 | VEHICLES TODO LIST: | ||
10 | ================================================= | ||
11 | Neb car jiggling left and right | ||
12 | Happens on terrain and any other mesh object. Flat cubes are much smoother. | ||
13 | Vehicles (Move smoothly) | ||
14 | Add vehicle collisions so IsColliding is properly reported. | ||
15 | Needed for banking, limitMotorUp, movementLimiting, ... | ||
16 | Some vehicles should not be able to turn if no speed or off ground. | ||
17 | For limitMotorUp, use raycast down to find if vehicle is in the air. | ||
18 | Implement function efficiency for lineaar and angular motion. | ||
19 | Should vehicle angular/linear movement friction happen after all the components | ||
20 | or does it only apply to the basic movement? | ||
21 | After getting off a vehicle, the root prim is phantom (can be walked through) | ||
22 | Need to force a position update for the root prim after compound shape destruction | ||
23 | Linkset explosion after three "rides" on Nebadon lite vehicle (LinksetConstraint) | ||
24 | Implement referenceFrame for all the motion routines. | ||
25 | Cannot edit/move a vehicle being ridden: it jumps back to the origional position. | ||
26 | |||
27 | BULLETSIM TODO LIST: | ||
28 | ================================================= | ||
29 | Disable activity of passive linkset children. | ||
30 | Since the linkset is a compound object, the old prims are left lying | ||
31 | around and need to be phantomized so they don't collide, ... | ||
32 | Scenes with hundred of thousands of static objects take a lot of physics CPU time. | ||
33 | BSPrim.Force should set a continious force on the prim. The force should be | ||
34 | applied each tick. Some limits? | ||
35 | Single prim vehicles don't seem to properly vehiclize. | ||
36 | Gun sending shooter flying. | ||
37 | Collision margin (gap between physical objects lying on each other) | ||
38 | Boundry checking (crashes related to crossing boundry) | ||
39 | Add check for border edge position for avatars and objects. | ||
40 | Verify the events are created for border crossings. | ||
41 | Avatar rotation (check out changes to ScenePresence for physical rotation) | ||
42 | Avatar running (what does phys engine need to do?) | ||
43 | Small physical objects do not interact correctly | ||
44 | Create chain of .5x.5x.1 torui and make all but top physical so to hang. | ||
45 | The chain will fall apart and pairs will dance around on ground | ||
46 | Chains of 1x1x.2 will stay connected but will dance. | ||
47 | Chains above 2x2x.4 are move stable and get stablier as torui get larger. | ||
48 | Add material type linkage and input all the material property definitions. | ||
49 | Skeleton classes and table are in the sources but are not filled or used. | ||
50 | Add PID motor for avatar movement (slow to stop, ...) | ||
51 | setForce should set a constant force. Different than AddImpulse. | ||
52 | Implement raycast. | ||
53 | Implement ShapeCollection.Dispose() | ||
54 | Implement water as a plain so raycasting and collisions can happen with same. | ||
55 | |||
56 | Find/remove avatar collision with ID=0. | ||
57 | Test avatar walking up stairs. How does compare with SL. | ||
58 | Radius of the capsule affects ability to climb edges. | ||
59 | Tune terrain/object friction to be closer to SL. | ||
60 | Debounce avatar contact so legs don't keep folding up when standing. | ||
61 | Implement LSL physics controls. Like STATUS_ROTATE_X. | ||
62 | Add border extensions to terrain to help region crossings and objects leaving region. | ||
63 | |||
64 | Speed up creation of large physical linksets | ||
65 | For instance, sitting in Neb's car (130 prims) takes several seconds to become physical | ||
66 | Performance test with lots of avatars. Can BulletSim support a thousand? | ||
67 | Optimize collisions in C++: only send up to the object subscribed to collisions. | ||
68 | Use collision subscription and remove the collsion(A,B) and collision(B,A) | ||
69 | Check whether SimMotionState needs large if statement (see TODO). | ||
70 | |||
71 | Implement 'top colliders' info. | ||
72 | Avatar jump | ||
73 | Performance measurement and changes to make quicker. | ||
74 | Implement detailed physics stats (GetStats()). | ||
75 | |||
76 | Eliminate collisions between objects in a linkset. (LinksetConstraint) | ||
77 | Have UserPointer point to struct with localID and linksetID? | ||
78 | Objects in original linkset still collide with each other? | ||
79 | |||
80 | Measure performance improvement from hulls | ||
81 | Test not using ghost objects for volume detect implementation. | ||
82 | Performance of closures and delegates for taint processing | ||
83 | Are there faster ways? | ||
84 | Is any slowdown introduced by the existing implementation significant? | ||
85 | Is there are more efficient method of implementing pre and post step actions? | ||
86 | See http://www.codeproject.com/Articles/29922/Weak-Events-in-C | ||
87 | |||
88 | Physics Arena central pyramid: why is one side permiable? | ||
89 | |||
90 | INTERNAL IMPROVEMENT/CLEANUP | ||
91 | ================================================= | ||
92 | Remove unused fields from ShapeData (not used in API2) | ||
93 | Breakout code for mesh/hull/compound/native into separate BSShape* classes | ||
94 | Standardize access to building and reference code. | ||
95 | The skeleton classes are in the sources but are not complete or linked in. | ||
96 | Generalize Dynamics and PID with standardized motors. | ||
97 | Generalize Linkset and vehicles into PropertyManagers | ||
98 | Methods for Refresh, RemoveBodyDependencies, RestoreBodyDependencies | ||
99 | Possibly generalized a 'pre step action' registration. | ||
100 | Complete implemention of preStepActions | ||
101 | Replace vehicle step call with prestep event. | ||
102 | Is there a need for postStepActions? postStepTaints? | ||
103 | Implement linkset by setting position of children when root updated. (LinksetManual) | ||
104 | Linkset implementation using manual prim movement. | ||
105 | LinkablePrim class? Would that simplify/centralize the linkset logic? | ||
106 | BSScene.UpdateParameterSet() is broken. How to set params on objects? | ||
107 | Remove HeightmapInfo from terrain specification. | ||
108 | Since C++ code does not need terrain height, this structure et al are not needed. | ||
109 | Add floating motor for BS_FLOATS_ON_WATER so prim and avatar will | ||
110 | bob at the water level. BSPrim.PositionSanityCheck(). | ||
111 | |||
112 | THREADING | ||
113 | ================================================= | ||
114 | Do taint action immediately if not actually executing Bullet. | ||
115 | Add lock around Bullet execution and just do taint actions if simulation is not happening. | ||
116 | |||
117 | DONE DONE DONE DONE | ||
118 | ================================================= | ||
119 | Cleanup code in BSDynamics by using motors. (Resolution: started) | ||
120 | Consider implementing terrain with a mesh rather than heightmap. (Resolution: done) | ||
121 | Would have better and adjustable resolution. | ||
122 | Build terrain mesh so heighmap is height of the center of the square meter. | ||
123 | Resolution: NOT DONE: SL and ODE define meter square as being at one corner with one diagional. | ||
124 | Terrain as mesh. (Resolution: done) | ||
125 | How are static linksets seen by the physics engine? | ||
126 | Resolution: they are not linked in physics. When moved, all the children are repositioned. | ||
127 | Convert BSCharacter to use all API2 (Resolution: done) | ||
128 | Avatar pushing difficult (too heavy?) | ||
129 | Use asset service passed to BulletSim to get sculptie bodies, etc. (Resolution: done) | ||
130 | Remove old code in DLL (all non-API2 stuff). (Resolution: done) | ||
131 | Measurements of mega-physical prim performance (with graph) (Resolution: done, email) | ||
132 | Debug Bullet internal stats output (why is timing all wrong?) | ||
133 | Resolution: Bullet stats logging only works with a single instance of Bullet (one region). | ||
134 | Implement meshes or just verify that they work. (Resolution: they do!) | ||
135 | Do prim hash codes work for sculpties and meshes? (Resolution: yes) | ||
136 | Linkset implementation using compound shapes. (Resolution: implemented LinksetCompound) | ||
137 | Compound shapes will need the LocalID in the shapes and collision | ||
138 | processing to get it from there. | ||
139 | Light cycle falling over when driving (Resolution: implemented VerticalAttractor) | ||
140 | Light cycle not banking (Resolution: It doesn't. Banking is roll adding yaw.) | ||
141 | Package Bullet source mods for Bullet internal stats output | ||
142 | (Resolution: move code into WorldData.h rather than relying on patches) \ No newline at end of file | ||