Login | Register 
FEATURES
APPLICATIONS
DOWNLOADS
EDUCATION
BLOG
WIKI
FORUM
STORE

Bullet Physics cplusplus CHOP

Share your components here. First one to 100 wins!

Bullet Physics cplusplus CHOP

Postby vinz99 » Sun Aug 04, 2013 1:49 pm

Hi,

Sometimes I get a bit impatient and I couldn't wait for the python physics lib to work in Touch088, so I had a go at implementing Bullet as a CHOP.

Didn't spent much more than half a day on this, so it's really basic, but it already allows for some cool little animations like https://vimeo.com/71671285 ;)

Source : https://github.com/vinz9/BulletCHOP
Sample file with x64 version : https://github.com/vinz9/BulletCHOP/releases
(x86 should work with Touch077 I guess but people who can load .dll have access so 088 anyway so...)

Cheers!
Vincent
vinz99
 
Posts: 269
Joined: Wed Apr 15, 2009 9:34 am

Re: Bullet Physics cplusplus CHOP

Postby Achim » Sun Aug 04, 2013 2:16 pm

Thank you for (always) sharing your code and patches!
Achim
 
Posts: 1606
Joined: Wed Nov 14, 2007 12:52 pm

Re: Bullet Physics cplusplus CHOP

Postby alless » Sun Aug 04, 2013 3:36 pm

Thanx for Share Dude , I opened it in TD but the CPP Chop gives an error :"Failed to Load the .dll"

any solution for this ?!
my A/V Portfolio Blog :
alllesss.wordpress.com
User avatar
alless
 
Posts: 25
Joined: Wed Jan 30, 2013 3:57 pm

Re: Bullet Physics cplusplus CHOP

Postby vinz99 » Sun Aug 04, 2013 4:25 pm

Achim wrote:Thank you for (always) sharing your code and patches!


You're welcome Achim, I learned a lot from the community so just trying to give back a bit ;)

alless wrote:Thanx for Share Dude , I opened it in TD but the CPP Chop gives an error :"Failed to Load the .dll"

any solution for this ?!


The version I posted previously could only work in Touch088 x64 version. Now I just updated the zip file with a x86 version of the dll and a touch077 example file. But be aware it won't work in Touch077 FTE, since this version doesn't allow the loading of .dll (last time I checked).

Hope it clears things up for you!

Cheers
vinz99
 
Posts: 269
Joined: Wed Apr 15, 2009 9:34 am

Re: Bullet Physics cplusplus CHOP

Postby malcolm » Mon Aug 05, 2013 10:51 am

It's also possible you don't have the proper redistributable installed for whatever version of MSVC it was compiled in. Search for Visual studio 2010 redistributable (or Visual studio 2012) depending on which version it was compiled for.
User avatar
malcolm
Staff
 
Posts: 2965
Joined: Tue Nov 13, 2007 12:11 am

Re: Bullet Physics cplusplus CHOP

Postby vinz99 » Mon Aug 05, 2013 12:10 pm

malcolm wrote:It's also possible you don't have the proper redistributable installed for whatever version of MSVC it was compiled in. Search for Visual studio 2010 redistributable (or Visual studio 2012) depending on which version it was compiled for.


Thanks for the precision Malcolm, I compiled it with vs2010.
vinz99
 
Posts: 269
Joined: Wed Apr 15, 2009 9:34 am

Re: Bullet Physics cplusplus CHOP

Postby keithlostracco » Mon Aug 05, 2013 1:04 pm

Sweet!!! I've been wanting to experiment with Bullet Physics in Touch for a while. Awesome!!


cheers
Keith
keithlostracco
 
Posts: 758
Joined: Tue Dec 09, 2008 1:39 pm

Re: Bullet Physics cplusplus CHOP

Postby rurik » Wed Aug 07, 2013 10:36 pm

Thanks for sharing!
Would you mind sharing or pointing to the right procedure to get the bullet libs installed? Never installed libraries of this type before....

Thanks!
---
Touch Designer Pro 088
Windows 7 - 8 Core- 8 gigs RAM - Nvidia GTX 560
rurik
 
Posts: 245
Joined: Thu Dec 29, 2011 12:04 am

Re: Bullet Physics cplusplus CHOP

Postby vinz99 » Thu Aug 08, 2013 4:00 am

Hi Rurik,

The cplusplus chop is using Bullet, but you only need to get the bullet source code/compile the bullet library if you want to compile the cpluscplus chop yourself.
Bullet is designed as static library so no additionnal dll is needed.

If you want to make some modification and compile the cplusplus chop then you need to get bullet 2.81 source from https://code.google.com/p/bullet/downloads/list, compile the static libs (using the vs2010 project file) and point to these in the BulletCHOP vs2010 project settings.

Cheers,
Vincent
vinz99
 
Posts: 269
Joined: Wed Apr 15, 2009 9:34 am

Re: Bullet Physics cplusplus CHOP

Postby oliverellmers » Thu Sep 26, 2013 3:34 am

Hey guys,

This is an awesome little addition you have put together!

I am having a recurring issue however with the 64 bit 088 version that is pre compiled - it crashes almost all the time!!

I am about to give it a go with the 32bit version, hopefully more stable?

Cheers,

O.
oliverellmers
 
Posts: 33
Joined: Sat Dec 22, 2012 10:04 pm

Next

Return to Shared .tox Components

Who is online

Users browsing this forum: No registered users and 2 guests