Search found 14 matches

by Berezovsky
Tue Dec 30, 2014 6:25 am
Forum: General Bullet Physics Support and Feedback
Topic: CPU multithreading is working!
Replies: 145
Views: 1286000

Re: CPU multithreading is working!

lunkhound wrote: Well you could run them in separate processes, and that would surely work.
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.
by Berezovsky
Sun Dec 28, 2014 3:41 am
Forum: General Bullet Physics Support and Feedback
Topic: CPU multithreading is working!
Replies: 145
Views: 1286000

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?
by Berezovsky
Sun Dec 28, 2014 3:33 am
Forum: General Bullet Physics Support and Feedback
Topic: How are these cross-talking?
Replies: 2
Views: 6588

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...
by Berezovsky
Sun Dec 28, 2014 1:13 am
Forum: General Bullet Physics Support and Feedback
Topic: multiple independent simulations.
Replies: 1
Views: 6263

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...
by Berezovsky
Sun Dec 28, 2014 12:53 am
Forum: General Bullet Physics Support and Feedback
Topic: multiple independent simulations
Replies: 0
Views: 3564

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...
by Berezovsky
Sun Dec 28, 2014 12:04 am
Forum: General Bullet Physics Support and Feedback
Topic: Second GlutDemoApplication causes crash.
Replies: 5
Views: 7111

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...
by Berezovsky
Sat Dec 27, 2014 9:34 pm
Forum: General Bullet Physics Support and Feedback
Topic: Second GlutDemoApplication causes crash.
Replies: 5
Views: 7111

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...
by Berezovsky
Sat Dec 27, 2014 10:40 am
Forum: General Bullet Physics Support and Feedback
Topic: Second GlutDemoApplication causes crash.
Replies: 5
Views: 7111

Re: Second GlutDemoApplication causes crash.

The part of the header containing the declaration of class RagdollDemo

http://pastebin.com/BaTddHmt
by Berezovsky
Sat Dec 27, 2014 10:39 am
Forum: General Bullet Physics Support and Feedback
Topic: Second GlutDemoApplication causes crash.
Replies: 5
Views: 7111

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...
by Berezovsky
Wed Oct 15, 2014 10:26 pm
Forum: General Bullet Physics Support and Feedback
Topic: Reliably obtaining rotations for OPENGL
Replies: 2
Views: 5762

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(...
by Berezovsky
Wed Oct 15, 2014 10:15 pm
Forum: General Bullet Physics Support and Feedback
Topic: Expanding and contracting spheres.
Replies: 3
Views: 4788

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 ...
by Berezovsky
Tue Oct 14, 2014 9:40 pm
Forum: General Bullet Physics Support and Feedback
Topic: Expanding and contracting spheres.
Replies: 3
Views: 4788

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...