Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Jaime Vives Piqueres
@jaimevives
cannot compile last changes... maybe bullet-physics-playground/bpp@7cbba56 ?
Jakob Flierl
@koppi
Hi Jaime!
On my Ubuntu 16.04:
$ dpkg -l|grep bullet-dev
ii  libbullet-dev:amd64                                         2.83.6+dfsg-3                                      amd64        professional 3D Game Multiphysics Library -- development files
2.83.6+dfsg-3
The bullet API maybe changed slightly.
I just did a clean checkout and noticed, that I forgot to push some changes..
I did the initial_angular_velocity = -10 to debug the freeze, but did not yet find the cause unfortunately.
Jakob Flierl
@koppi
$ grep -R addTriangleIndices /usr/include/bullet/
/usr/include/bullet/BulletCollision/CollisionShapes/btTriangleMesh.h: void addTriangleIndices(int index1, int index2, int index3 );
bullet-physics-playground/bpp@e50abc0
Jaime Vives Piqueres
@jaimevives
Thanks... it works now.
Jaime Vives Piqueres
@jaimevives
Well, it compiles, but I'm getting a few problems: a black view on most demos once I click on the window, then an non-functioning open dialog.
I guess I will have to update to 16.04... or do you prefer that I remain on 14.04 to try and fix the problems?
Now I remembered I've a second, unused disk on this computer: I will install 16.04 there to see if the problems are related to 14.04.
Jakob Flierl
@koppi
Screenshot from 2016-06-04 15-42-13.png
This is how the 00-hello.lua should look with the current version.
The mesh rendering is still WIP as I need to figure out a proper way of doing the vertex data caching in opengl.
Jaime Vives Piqueres
@jaimevives
00-hello runs fine, but almost any other fails when I click and drag on the view to move the camera: everything disappears and the view goes black.
Also, see how 03-trans looks on load:
Captura de pantalla de 2016-06-04 17:30:07.png
And with drivable-car, the car disappears when I press F2... too many strange things. I guess there is something fundamentally wrong on 14.04.
Jakob Flierl
@koppi
Thank's for the info. I can confirm all your observations here, too on Ubuntu 16.04.
I'm right now doing a little exercise with Valgrind to find all the memory leaks. Also trying to find out the cause of the blocking in the drivable-car-demo.
Jakob Flierl
@koppi
I fixed most of the bugs you reported, except for the drivable-car-demo, which hangs when pressing F2. Just tested all the other demos (basic/02-trimesh.lua crashes when adding more than 80 pyramids on my system. Perhaps a luabind bug, who knows)..
Jaime Vives Piqueres
@jaimevives
Thanks, but after a git pull, I get some errors compiling:
src/viewer.cpp:253:47: error: ‘qIsFinite’ was not declared in this scope
if (qIsFinite(o->getPosition().x()) && qIsFinite(o->getPosition().y()) && qIsFinite(o->getPosition().z())) {
^
src/viewer.cpp:261:42: error: ‘qIsFinite’ was not declared in this scope
if (qIsFinite(oaabbmin[i]))
^
src/viewer.cpp:263:42: error: ‘qIsFinite’ was not declared in this scope
if (qIsFinite(oaabbmax[i]))
^
src/viewer.cpp: In member function ‘void Viewer::computeBoundingBox()’:
src/viewer.cpp:906:25: error: ‘qIsFinite’ was not declared in this scope
if (qIsFinite(radius)) {
^
make1: [release/viewer.o] Error 1
make1: se sale del directorio «/home/jaime/raytracing/physics/bpp»
make:
[release] Error 2
Jakob Flierl
@koppi
hm – qIsFinite() seems to be intoduced in Qt 5.6, I just replaced it with isfinite() which comes with _XOPEN_SOURCE >= 600 || _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L.
Jaime Vives Piqueres
@jaimevives
Hmmm... just pulled and it still gives me the same error. Then I replaced myself qIsFinite() with isfiniste() on viewer.cpp and it compiled, but the viewer window problems are even worse. I guess I need to upgrade to 16.04 a.s.a.p....
Jakob Flierl
@koppi

I'm happy to announce release 0.0.4 of the Bullet Physics Playground.

This release is known to run on Ubuntu 16.04 and Debian/Sid. Mayor changes to the previous release include:

Jaime Vives Piqueres
@jaimevives
Conratulations! From the features list that seems like a major advance. Now, if I could find the time to install 16.04... :(
Jaime Vives Piqueres
@jaimevives
At last! I managed to install 16.04 and migrate all my data, programs and setup. I just compiled bpp and it solved many of the problems I was having (specially, the simulation it is way much faster), but I'm still having a couple of issues.:
  • The display no longer disappears, but I'm getting an annoying flickering.
  • Openscad scenes now load very fast, but disappear when zooming close.
More latter... now I've to leave for work.
Jakob Flierl
@koppi

I'm happy to announce maintenance release 0.0.5 of the Bullet Physics Playground. This release is known to run on Ubuntu 20.04 and Ubuntu 21.04.

Two severe luabind related errors were fixed: one luabind assert and the way, luabind exceptions are handled.