Search found 40 matches

by jezek2
Tue Aug 26, 2008 2:50 am
Forum: General Bullet Physics Support and Feedback
Topic: Frame Rate Independence
Replies: 68
Views: 22202

Re: Frame Rate Independence

I have not much problem with current stepSimulation. But reading these posts I think it could be improved this way: 1) change stepSimulation to have only timeStep (1st param) 2) make maxSubSteps (2nd param) and fixedTimeStep (3rd param) set once (setter or the SteppingInfo), especially when it's not...
by jezek2
Sun Aug 03, 2008 9:10 pm
Forum: General Bullet Physics Support and Feedback
Topic: Java port of Bullet
Replies: 122
Views: 222293

Re: Java port of Bullet

New version available on JBullet homepage . Changes in release 20080803: - Upgraded LWJGL to 2.0rc1 - Added UniformScalingShape - Improved JavaDoc generation - Removed dependency on JStackAlloc in demos - Added support for moving triangle meshes - Added MovingConcaveDemo - Optimized allocation of co...
by jezek2
Sat Aug 02, 2008 5:06 am
Forum: General Bullet Physics Support and Feedback
Topic: Java port of Bullet
Replies: 122
Views: 222293

Re: Java port of Bullet

I'm having trouble running the jBullet demos. I know it is something I'm doing wrong. Exception in thread "main" java.lang.Error: not instrumented at cz.advel.stack.Stack.alloc(Stack.java:110) at com.bulletphysics.collision.broadphase.AxisSweep3Internal.<init>(AxisSweep3Internal.java:90) at com.bul...
by jezek2
Tue Jul 29, 2008 8:57 pm
Forum: General Bullet Physics Support and Feedback
Topic: Shared library from bullet
Replies: 7
Views: 2285

Re: Shared library from bullet

Did you use extern "C" for JNI functions Yes, maybe that's the problem? No, that's how it should be. Try posting error messages you are getting. For XML parsing I would either choose JAXP since it is a std. interface, implement some sort of interface to implement for the xml parser of user choice w...
by jezek2
Tue Jul 29, 2008 8:11 pm
Forum: General Bullet Physics Support and Feedback
Topic: Shared library from bullet
Replies: 7
Views: 2285

Re: Shared library from bullet

I have problem with linking in linux with either gcc or g++. When choosing one then the bullet symbols are not found, if I choose the other the java symbols are not found. Did you use extern "C" for JNI functions? I've seen JBullet and would like to use it, but I need collada support and as far as ...
by jezek2
Tue Jul 29, 2008 6:24 pm
Forum: General Bullet Physics Support and Feedback
Topic: Shared library from bullet
Replies: 7
Views: 2285

Re: Shared library from bullet

Hi, have you seen JBullet ? It's pure Java port of Bullet (not binding). If yes and wish to have binding as well, I initially did a binding, but I didn't like to have to create multiple builds for all platforms (and testing them), wanted tighter integration with Java to use internal stuff and genera...
by jezek2
Wed Jul 16, 2008 6:35 pm
Forum: General Bullet Physics Support and Feedback
Topic: Java port of Bullet
Replies: 122
Views: 222293

Re: Java port of Bullet

New version available on JBullet homepage . Changes in release 20080716: - Fixed bug in conversion between planes and point cloud - Added DynamicControlDemo (contributed by Olivier OUDIN) - Changed package from "javabullet" to "com.bulletphysics" - Bug fix for constructor with pivots and axis in Hin...
by jezek2
Tue Mar 18, 2008 11:31 am
Forum: General Bullet Physics Support and Feedback
Topic: Java port of Bullet
Replies: 122
Views: 222293

Re: Java port of Bullet

... I also suggest you use the Bullet's SVN repository for the java port ? I prefer to use Monotone VCS. I might add automatic snapshot generation whenever new patch is available, if that would be easier for contributors. But I think that Monotone is easy to use, for the common task of getting late...
by jezek2
Fri Mar 14, 2008 7:51 am
Forum: General Bullet Physics Support and Feedback
Topic: Java port of Bullet
Replies: 122
Views: 222293

Re: Java port of Bullet

Erwin, I have a small question for you. It's about using "com.bulletphysics." Java package for JBullet. Currently there is temporal "javabullet." which I would like to change as it's against Java conventions. The usage of your domain is purely convention for distincting different libraries, it doesn...
by jezek2
Tue Mar 11, 2008 11:38 am
Forum: General Bullet Physics Support and Feedback
Topic: Java port of Bullet
Replies: 122
Views: 222293

Re: Java port of Bullet

New version available on JBullet homepage . Changes in release 20080311: - Added some JavaDoc documentation - Added RaycastVehicle and VehicleDemo - Refactored accessing of vertex data - Added CylinderShape - Implemented ray/trimesh hit detection - Added applet demo - Added binaries and dependant li...
by jezek2
Sat Mar 08, 2008 6:19 pm
Forum: General Bullet Physics Support and Feedback
Topic: Java port of Bullet
Replies: 122
Views: 222293

Re: Java port of Bullet

Erwin Coumans wrote:I just tried it on my Intel Mac OSX, and both Safari and Firefox just show a black screen. Are there any settings to tune, to make it work?
Try it again, I've fixed minor bug that caused it not to run in Java 5.
by jezek2
Sat Mar 08, 2008 11:20 am
Forum: General Bullet Physics Support and Feedback
Topic: Java port of Bullet
Replies: 122
Views: 222293

Re: Java port of Bullet

I've created applet version of JBullet demos that uses software rendering.

You can see it in action here:
http://jbullet.advel.cz/applet
by jezek2
Thu Mar 06, 2008 6:12 am
Forum: General Bullet Physics Support and Feedback
Topic: rayTest should use btConcaveShape (not btTriangleMeshShape)
Replies: 0
Views: 1355

rayTest should use btConcaveShape (not btTriangleMeshShape)

Erwin, while I was working on the port I've found a small bug in original Bullet. In btCollisionWorld::rayTestSingle on line 314 (in 2.67), there is cast to btTriangleMeshShape instead of just btConcaveShape. I've found it when btStaticPlaneShape was encountered, as it throwed ClassCastException in ...
by jezek2
Mon Mar 03, 2008 8:20 pm
Forum: General Bullet Physics Support and Feedback
Topic: Java port of Bullet
Replies: 122
Views: 222293

Re: Java port of Bullet

Unfortunatelly there is no way to have OpenGL rendering without full permissions. Actually there is one limited way. Java2D can use OpenGL pipeline for rendering, and can be enabled in Webstart even for unsigned applications (but not in applets before Java 6uN "the consumer JRE" will be available)....
by jezek2
Mon Mar 03, 2008 8:00 pm
Forum: General Bullet Physics Support and Feedback
Topic: Java port of Bullet
Replies: 122
Views: 222293

Re: Java port of Bullet

That is really great to be able to run JBullet in a browser, thanks for the effort. I put up a link on the Bullet frontpage: http://www.bulletphysics.com/Bullet/wordpress/ Oh, thanks :) Just curious, what was the issue that caused the jitter in previous versions? The cause was that in Java's Vecmat...