Newton++ - object-oriented Newton wrapper

Share with us how are you using the powerrrr of the force

Moderator: Alain

Newton++ - object-oriented Newton wrapper

Postby rewinder » Tue Mar 15, 2005 10:47 am

Hi all.
Our team has released a small OO wrapper for Newton. It is a first public release, and any suggestions or comments are welcome.
Sources can be downloaded from http://studiodva.com/newtonxx-0.1-src.zip
rewinder
 
Posts: 2
Joined: Tue Mar 15, 2005 10:21 am

Postby Julio Jerez » Tue Mar 15, 2005 12:16 pm

I took a quick looks and i can see that it is very complete, and I like the fact that it is very simple and very small.
I see you figured out that the user data in the Newton world can be used to encapsulate the Newton world into a class, very nice.

Have you tested the object and joint destructions, Newton can destroy joints automatically, for example if you destroy a body, it will automatically destroy the joints attached to that body. So you need to be careful, because if and object have a pointer to that joint it will be invalidated. leading to a crash if the object ltter on destroy the joint.
For that you need to use the destructors call back, more or less the way is done with the customs joints.
It is possible you did like that or equivalently; I just did not see it.
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Postby rewinder » Wed Mar 16, 2005 7:14 am

I like the fact that it is very simple and very small.

It is the main idea of our project. We began to write it as an internal part of our main project "KLO: This war", but later we decided to contribute it to community.

Have you tested the object and joint destructions, Newton can destroy joints automatically, for example if you destroy a body, it will automatically destroy the joints attached to that body. So you need to be careful, because if and object have a pointer to that joint it will be invalidated. leading to a crash if the object ltter on destroy the joint.
For that you need to use the destructors call back, more or less the way is done with the customs joints.
It is possible you did like that or equivalently; I just did not see it.

Yes, you're right. It was our mistake, and now it is fixed. Now we are going to do more complex testing and implement some interface improvements. After that we will release a new version.
rewinder
 
Posts: 2
Joined: Tue Mar 15, 2005 10:21 am

Postby Dilon. » Wed Mar 16, 2005 7:41 am

Also, I want to add, that wrapper is independent from third-party engines or libraries, except Newton, of course :) That's why you can use it in your own projects without any difficulties, which is connected with including unnecessary, in some cases, libs.
User avatar
Dilon.
 
Posts: 11
Joined: Wed Mar 16, 2005 7:13 am
Location: Russia, Omsk

Postby The unProfessional » Wed Mar 16, 2005 2:17 pm

Very very kind of you Dilon. Awesome job :)

I imagine i'll be using your classes at some point... anyone in particular I should credit?
The unProfessional
 
Posts: 131
Joined: Sun May 02, 2004 9:08 pm
Location: Southern California

Postby Dilon. » Fri Mar 18, 2005 5:52 am

Dont't forget, that this wrap doesn't supports NewtonVehicle and NewtonRagdoll, because of we dont't use this features in our project yet. Now we are testing it and I have already found some things working incorrectly, but we try to do this project more convenient for use.
As you can see our licence is LGPL, please email us if you find a bug, or add something uncommon :)
If somebody wants use it, all you need - just let us know. The more people, the less bugs :)

P.S. sorry for my terrible English, it is not my native language
User avatar
Dilon.
 
Posts: 11
Joined: Wed Mar 16, 2005 7:13 am
Location: Russia, Omsk

Postby Dilon. » Sun Mar 20, 2005 6:44 am

After some days of testing we have corrected some bugs. So, if you interested in our wrap, you can download new version at address
http://www.studiodva.com/newtonxx-0.15-src.zip
- Joints work correct now
- Some bugs connected with memory allocation have been corrected
And note about using wrap, all you need is include world.hpp in your project, which class implements methods for working with bodies, collisions, materials and joints.
User avatar
Dilon.
 
Posts: 11
Joined: Wed Mar 16, 2005 7:13 am
Location: Russia, Omsk

Postby Dilon. » Wed Apr 20, 2005 8:07 am

New version has released, see CHANGELOG for details
you can download new version of newtonxx at:
Newtonxx
Last edited by Dilon. on Thu Aug 18, 2005 3:58 am, edited 1 time in total.
User avatar
Dilon.
 
Posts: 11
Joined: Wed Mar 16, 2005 7:13 am
Location: Russia, Omsk

Postby Sury » Wed Apr 20, 2005 3:48 pm

Hey this seems small simple and neat. Nice work, thanks !

Btw i think you have a 'typo' in the link :wink:
User avatar
Sury
 
Posts: 193
Joined: Sat Aug 14, 2004 5:32 am
Location: Bulgaria

Postby Dilon. » Thu Apr 21, 2005 4:30 am

Thanks, but some files in this arch unnecessary, I have uploaded it again.
Newtonxx
User avatar
Dilon.
 
Posts: 11
Joined: Wed Mar 16, 2005 7:13 am
Location: Russia, Omsk

Postby JonLT » Tue Jul 17, 2007 9:42 am

is this thing still out there?
User avatar
JonLT
 
Posts: 5
Joined: Sat Mar 17, 2007 12:04 am
Location: Denmark

Postby Phantom » Tue Jul 17, 2007 8:00 pm

JonLT wrote:is this thing still out there?


I don't know about a newer version, but if you go to http://www.archive.org/index.php and search for the latest link in this post you can download that zip file...

EDIT: sorry, I just tried to open the zip file and it says it is invalid :(
cheers,
Paul.
User avatar
Phantom
 
Posts: 9
Joined: Sun Oct 30, 2005 10:28 pm
Location: Hobart, Tasmania, Australia

Postby ghiboz » Wed Jul 18, 2007 10:37 am

i'm also interested..
does anybody have this file?

thanks! :wink:
User avatar
ghiboz
 
Posts: 6
Joined: Mon Jun 04, 2007 7:07 pm
Location: Centallo (I)

Postby JonLT » Wed Jul 18, 2007 12:09 pm

thanks for your post Phantom, but as you say the file is broken :(
User avatar
JonLT
 
Posts: 5
Joined: Sat Mar 17, 2007 12:04 am
Location: Denmark

Postby belfegor » Fri Jul 20, 2007 6:00 am

i used "repair archive" with win rar and succesfuly extracted all data.
hope this helps for you.
User avatar
belfegor
 
Posts: 53
Joined: Mon Sep 18, 2006 4:42 pm
Location: Serbia

Next

Return to User Gallery

Who is online

Users browsing this forum: No registered users and 9 guests

cron