Yep! I went ahead and wrote a dispatcher in python. It calls the bullet simulations as processes from the command line. It works like a charm.lunkhound wrote: Well you could run them in separate processes, and that would surely work.
Search found 14 matches
- Tue Dec 30, 2014 6:25 am
- Forum: General Bullet Physics Support and Feedback
- Topic: CPU multithreading is working!
- Replies: 145
- Views: 1290698
Re: CPU multithreading is working!
- Sun Dec 28, 2014 3:43 am
- Forum: General Bullet Physics Support and Feedback
- Topic: How are these cross-talking?
- Replies: 2
- Views: 6604
Re: How are these cross-talking?
- basic outline , http://pastebin.com/m2rJpUK7
- ContactCallbacks.h , http://pastebin.com/9ERiRt5Q
- RagdollDemo.h , http://pastebin.com/HZVKYm7i
- RagdollDemo.cpp , http://pastebin.com/PQtsPNpC
- Sun Dec 28, 2014 3:41 am
- Forum: General Bullet Physics Support and Feedback
- Topic: CPU multithreading is working!
- Replies: 145
- Views: 1290698
Re: CPU multithreading is working!
I need to multithread several completely-independent simulations in the same program. (Not the same simulation. Independent ones).
Is this possible?
Is this possible?
- Sun Dec 28, 2014 3:33 am
- Forum: General Bullet Physics Support and Feedback
- Topic: How are these cross-talking?
- Replies: 2
- Views: 6604
How are these cross-talking?
The class that I am using has its own collision configuration. It has its own collision dispatcher. It has its own broad phase. It has its own constraint solver. It has its own discrete dynamics world. And it allocates all these things, and cleans them up in a nice, neat, correct, encapsulated and o...
- Sun Dec 28, 2014 1:13 am
- Forum: General Bullet Physics Support and Feedback
- Topic: multiple independent simulations.
- Replies: 1
- Views: 6317
multiple independent simulations.
I come here to this portion of the forum in desperation. Also because my problem is not related to regular run-of-the-mill "end user" usage problems of the SDK. I would like to know why bullet simulations, even when declared as independent classes, somehow manage to cross-talk to each othe...
- Sun Dec 28, 2014 12:53 am
- Forum: General Bullet Physics Support and Feedback
- Topic: multiple independent simulations
- Replies: 0
- Views: 3565
multiple independent simulations
I would like to create independent, concurrent simulations in memory and have them all operate independently without fear of global data cross-talk. I have discovered recently that this is far more difficult than merely declaring independent classes. Even cleaning up previous instantiations leaves t...
- Sun Dec 28, 2014 12:04 am
- Forum: General Bullet Physics Support and Feedback
- Topic: Second GlutDemoApplication causes crash.
- Replies: 5
- Views: 7128
Re: Second GlutDemoApplication causes crash.
So far the methods above will create a singular RagdollDemo class, allowing it to exit itself and clean itself from memory. Only later is another one created locally and started up again. The exact error takes place after a single invocation of ::stepSimulation() . As described above, this happens a...
- Sat Dec 27, 2014 9:34 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: Second GlutDemoApplication causes crash.
- Replies: 5
- Views: 7128
Re: Second GlutDemoApplication causes crash.
Here is an extremely widdled-down version of the code, written in a top-to-bottom cpp file, with a main() at the bottom. This is for ease of conceptual digestion, for you to read to get a rough idea of what is happening. http://pastebin.com/m2rJpUK7 Look over the code above and digest as much as you...
- Sat Dec 27, 2014 10:40 am
- Forum: General Bullet Physics Support and Feedback
- Topic: Second GlutDemoApplication causes crash.
- Replies: 5
- Views: 7128
- Sat Dec 27, 2014 10:39 am
- Forum: General Bullet Physics Support and Feedback
- Topic: Second GlutDemoApplication causes crash.
- Replies: 5
- Views: 7128
Second GlutDemoApplication causes crash.
Overflow in AABB, object removed from simulation If you can reproduce this, please email bugs@continuousphysics.com Please include above information, your Platform, version of OS. Thanks. I have heavily modified a GlutDemoApplication class for my own purposes, starting from code distributed with th...
- Sun Oct 19, 2014 7:56 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: Reliably obtaining rotations for OPENGL
- Replies: 2
- Views: 5769
Re: Reliably obtaining rotations for OPENGL
All too easy...
- Wed Oct 15, 2014 10:26 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: Reliably obtaining rotations for OPENGL
- Replies: 2
- Views: 5769
Reliably obtaining rotations for OPENGL
I am currently writing my own graphical front end engine in openGL, on top of a Bullet physics simulation. I have successfully retrieved the world coordinates of the objects like so: spbody = body[k]; btT = spbody->getWorldTransform(); mbodypos = btT.getOrigin(); posis[lin ] = (float)(mbodypos.getX(...
- Wed Oct 15, 2014 10:15 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: Expanding and contracting spheres.
- Replies: 3
- Views: 4791
Re: Expanding and contracting spheres.
There's not much anyone can do to help if you don't state why you want to do that, since there might be other ways to solve your issue that don't involve unsupported uses Sure thing. I'm going to have animals eating things in the environment. However, I want the total volume of V=(animals+food) to ...
- Tue Oct 14, 2014 9:40 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: Expanding and contracting spheres.
- Replies: 3
- Views: 4791
Expanding and contracting spheres.
I need to create a solid body that is made of three spheres connected by cylindrical links between them. So that they sit together in a line of three balls. O-O-O I need the ball on the left side to shrink in radius, while the ball in the righthand side grows slowly in radius. Physics should be goin...