FS#12862 - [blender] bullet physics not enabled due to wrong option

Attached to Project: Arch Linux
Opened by Ondrej Jirman (megous) - Tuesday, 20 January 2009, 01:07 GMT
Last edited by Allan McRae (Allan) - Monday, 20 July 2009, 07:06 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Kieslich (tobias)
Architecture All
Severity Low
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

In the current version of Blender package (2.48a-2): the wrong option is being used to enable bullet physics engine and thus the engine is left disabled.

Steps to fix:

PKGBUILD
-export WITH_BULLET=1
+export WITH_BF_BULLET=1

At least I hope so, still compiling... but I've noticed the bullet code being built in the output from the makepkg.
This task depends upon

Closed by  Allan McRae (Allan)
Monday, 20 July 2009, 07:06 GMT
Reason for closing:  Fixed
Additional comments about closing:  blender 2.49a-1
Comment by Ondrej Jirman (megous) - Tuesday, 20 January 2009, 01:12 GMT
Ok, my fix does not work. Dunno what's wrong.
   xxxx.png (6.6 KiB)
Comment by Andrea Scarpino (BaSh) - Tuesday, 20 January 2009, 12:06 GMT
try to export WITH_BF_GAMEENGINE=1 also
Comment by Tobias Kieslich (tobias) - Tuesday, 20 January 2009, 16:16 GMT
that's pretty weird. I swear, during the build a bullet2 directory exists and is filled with bullet.la
As for the Game engine, a blenderplayer library is build and comes with the package. It needs the game engine.
Comment by Ondrej Jirman (megous) - Tuesday, 20 January 2009, 20:08 GMT
hint, hint: http://lists.blender.org/pipermail/bf-blender-cvs/2008-December/017110.html

But this fixes the scons build. PKGBUILD uses make and obviously this patch will not help.
Comment by Lukas Kropatschek (lukrop) - Wednesday, 21 January 2009, 19:41 GMT
I just found out that it works if you use cmake and then make...

At first I build the ABS PKGBUILD and the just went into the build directory and then "cmake ../blender-2.48a && make" and it works now
Comment by Alessandro Doro (adoroo) - Sunday, 22 March 2009, 16:11 GMT
I don't see the issue.
blender 2.48a-2 is definitely compiled with bullet, both blender and blenderplayer. I just tested with my bge projects that don't work with the deprecated physics engine sumo.
Arch Linux blender is compiled with the make method: WITH_BF_BULLET is the flag for enabling bullet when building with scons.
I'm going to request a closure.
Comment by F.Di Milia (PyCoder) - Thursday, 02 April 2009, 12:48 GMT
Same Problem here.
Pysik doen't work right.

Try to make a cloth simulation and you will see it.
Comment by F.Di Milia (PyCoder) - Thursday, 02 April 2009, 12:57 GMT Comment by Alessandro Doro (adoroo) - Thursday, 02 April 2009, 13:31 GMT
I see now; but note that the other panels work. Also you can see in the World buttons that bullett is enabled.
So the problem is only (at least I think so) in cloth dynamics.
And @PyCoder, no one before you pointed at this issue in the current task.
Comment by F.Di Milia (PyCoder) - Monday, 06 April 2009, 19:40 GMT
Sorry i didn't mean all physic's.

Only collsion from cloth doesn't work and that shows Ondrej Jirman in his Pic (xxx.png).

I hope someone can fix it. :)
Comment by Alessandro Doro (adoroo) - Tuesday, 07 April 2009, 00:44 GMT
Could you please confirm that replacing
export WITH_BULLET=true
with
NAN_USE_BULLET=true
in the PKGBUILD and rebuilding the package makes cloth dynamics work?
Comment by Alessandro Doro (adoroo) - Tuesday, 07 April 2009, 00:49 GMT
Sorry:
export NAN_USE_BULLET=true
Comment by F.Di Milia (PyCoder) - Tuesday, 07 April 2009, 14:26 GMT
Now cloth dynamics works with export NAN_USE_BULLET=true.


Thx :)
Comment by Alessandro Doro (adoroo) - Thursday, 30 April 2009, 10:33 GMT
I requested a closure because the bug report was incomplete/malformed. Anyway the bug is valid, see the last comments. Indeed a wrong flag is specified in the PKGBUILD.
Comment by F.Di Milia (PyCoder) - Tuesday, 12 May 2009, 21:09 GMT
Could the Maintainer please update the package? :)
Comment by Alessandro Doro (adoroo) - Saturday, 30 May 2009, 18:36 GMT
2.49. Fixed upstream; now NAN_USE_BULLET is exported in source/nan_definitions.mk

Loading...