The Newton engine is now Open source with a zlib license.

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

Re: The Newton engine is now Open source with a zlib license

Postby PJani » Thu Feb 17, 2011 1:39 pm

If you tested it then is ok! :P
| i7-5930k@4.2Ghz, EVGA 980Ti FTW, 32GB RAM@3000 |
| Dell XPS 13 9370, i7-8550U, 16GB RAM |
| Ogre 1.7.4 | VC++ 9 | custom OgreNewt, Newton 300 |
| C/C++, C# |
User avatar
PJani
 
Posts: 448
Joined: Mon Feb 02, 2009 7:18 pm
Location: Slovenia

Re: The Newton engine is now Open source with a zlib license

Postby PJani » Thu Feb 17, 2011 1:44 pm

@Julio: why exacly did you clamp tire max rpm to 200m/sec ?

i found this in old dgVehicleConstrain.cpp:
Code: Select all
// clamp tire max rpm to 200 meter per seconds
#define MAX_TIRE_SPEED dgFloat32 (400.0f)
if (dgAbsf (tire.m_parametricOmega * tire.m_radius) > MAX_TIRE_SPEED) {
        tire.m_parametricOmega = (MAX_TIRE_SPEED / tire.m_radius) * GetSign(tire.m_parametricOmega);
}
| i7-5930k@4.2Ghz, EVGA 980Ti FTW, 32GB RAM@3000 |
| Dell XPS 13 9370, i7-8550U, 16GB RAM |
| Ogre 1.7.4 | VC++ 9 | custom OgreNewt, Newton 300 |
| C/C++, C# |
User avatar
PJani
 
Posts: 448
Joined: Mon Feb 02, 2009 7:18 pm
Location: Slovenia

Re: The Newton engine is now Open source with a zlib license

Postby Julio Jerez » Thu Feb 17, 2011 2:06 pm

well because 200 m/s is something around the speed of sound and if am not aware of any can that can run that fast.
Julio Jerez
Moderator
Moderator
 
Posts: 10993
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: The Newton engine is now Open source with a zlib license

Postby PJani » Thu Feb 17, 2011 2:37 pm

Julio Jerez wrote:well because 200 m/s is something around the speed of sound and if am not aware of any can that can run that fast.


i am asking this because actually in 1.53, the top speed of vehicles was around 120km/h!!!!
| i7-5930k@4.2Ghz, EVGA 980Ti FTW, 32GB RAM@3000 |
| Dell XPS 13 9370, i7-8550U, 16GB RAM |
| Ogre 1.7.4 | VC++ 9 | custom OgreNewt, Newton 300 |
| C/C++, C# |
User avatar
PJani
 
Posts: 448
Joined: Mon Feb 02, 2009 7:18 pm
Location: Slovenia

Re: The Newton engine is now Open source with a zlib license

Postby aqnuep » Sat Feb 19, 2011 3:21 am

I just heard today these really great news!
I was one of those who requested it.
Also the zlib license is also great as it allows quite some freedom.
I hope this will help Newton to continue its evolution.
aqnuep
 
Posts: 97
Joined: Sat Dec 22, 2007 4:14 pm

Re: The Newton engine is now Open source with a zlib license

Postby Julio Jerez » Sat Feb 19, 2011 3:53 pm

Thank aqnuep, I remember you said you wnat to make contributions, so there is your sign.
Julio Jerez
Moderator
Moderator
 
Posts: 10993
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: The Newton engine is now Open source with a zlib license

Postby Julio Jerez » Sat Feb 19, 2011 3:59 pm

Oh I just check in teh make file for teh Lnux 32 and 64 bit build.

I test the Linux 64 an dit since to run, but I have to hack the threading class i implementd for runing teh physics asycronuslly.
some hwo it doe sno work, but I can see what is wron with that later

It some one want to fix it that will be great is dThread and it is part of the dContainer library

The Lunxu majke fiel buidl teh libraries and teh Netwon demo executable,
and again I can confirm that for soem reason that I can no explain Netwon is Linux is about 3 time faster than in windows.
when I run teh demo Optimize collision, in windoes it take abput 40 secund to load and optimize the mesh
in linux take liek 3 secund tha is abpy 15 tiem faster, liek before I though it was a flux but it si no mistake, lunux is comming out serral time faster and I can not explain that.

anyway I now going to add the Mac project file, and then I will be ready to continue developing engen features.
Julio Jerez
Moderator
Moderator
 
Posts: 10993
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: The Newton engine is now Open source with a zlib license

Postby PJani » Sat Feb 19, 2011 4:18 pm

julio did you try to compile with mingw on windows, maybe the gcc can better optimise on windows?(the dll will not be useful with any VC)
| i7-5930k@4.2Ghz, EVGA 980Ti FTW, 32GB RAM@3000 |
| Dell XPS 13 9370, i7-8550U, 16GB RAM |
| Ogre 1.7.4 | VC++ 9 | custom OgreNewt, Newton 300 |
| C/C++, C# |
User avatar
PJani
 
Posts: 448
Joined: Mon Feb 02, 2009 7:18 pm
Location: Slovenia

Re: The Newton engine is now Open source with a zlib license

Postby Julio Jerez » Sat Feb 19, 2011 4:22 pm

I will let some one else to do that.
Right nwo I just wna to catch up to teh point were I have teh basics build to shwo teh cross portability.
If anyone si interest in compiling on a diffrent platform he or she is welcome to do it.
The cross plafform thing has delayed Netwon for few years, because it consume all of my free time.
I can use that time for move on on the pending feature list.
Julio Jerez
Moderator
Moderator
 
Posts: 10993
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: The Newton engine is now Open source with a zlib license

Postby JernejL » Sat Feb 19, 2011 6:26 pm

PJani wrote:julio did you try to compile with mingw on windows, maybe the gcc can better optimise on windows?(the dll will not be useful with any VC)


This was attempted from what i remember julio didn't have a lot of luck.
Try to compile it with mingw, if you suceed i'm sure the makefiles and all will be added to repository, it's known that linux gcc performance build of newton works faster, so it might on windows aswell.
Help improving the Newton Game Dynamics WIKI
User avatar
JernejL
 
Posts: 1451
Joined: Mon Dec 06, 2004 2:00 pm
Location: Slovenia

Re: The Newton engine is now Open source with a zlib license

Postby Julio Jerez » Sat Feb 19, 2011 8:09 pm

Yes I try some tiem in the pass, by Ig do all mess up with the different version on GCC, as I remember they still had GCC 3.somethong where the lates GCC is 4.something

anyway it is no a fluk some how Netwin in Linux and Mac running in GCC iseem to be minum twice as fast, mor more like ly thre time.
To me it doe no make sence but is is what I am seeing, in fact I had semm GCC being like 10 time faster. I saw it was a BUG or a crash but the date was there.
This is a great mistery to me, but I take it. Faster is Good.

I just uploaded the lastet modification to the Makefiles for Linux 32 and 64 they run correnty now using QT.
if anyone wnat to make a MingwinG of a codeblock project we can added to the download.
Julio Jerez
Moderator
Moderator
 
Posts: 10993
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: The Newton engine is now Open source with a zlib license

Postby Aphex » Mon Feb 21, 2011 7:38 pm

Cheers Julio, that's quite a move!
Aphex
 
Posts: 144
Joined: Fri Jun 18, 2004 6:08 am
Location: UK

Re: The Newton engine is now Open source with a zlib license

Postby aqnuep » Tue Feb 22, 2011 6:24 am

Julio Jerez wrote:Thank aqnuep, I remember you said you wnat to make contributions, so there is your sign.

Yes, in fact I did and I am seriously willing to keep my word.
Currently I'm in the middle of an Android project that I plan to finish in about two weeks but after that I'll take a thorough view on the source code so that I can consider adding something. Actually the two things that I think I can help in is the character controller and a way to be able to more efficiently stream transformation data to a rendering engine without the need to use callbacks. The later would be rather an option than a must to use feature that may provide benefits when having large number of objects (and it is kind of a must for efficiently using soft bodies later).
aqnuep
 
Posts: 97
Joined: Sat Dec 22, 2007 4:14 pm

Re: The Newton engine is now Open source with a zlib license

Postby aqnuep » Tue Feb 22, 2011 6:27 am

Yeah, and almost forgot one more thing:
What do you think about an Android binary release? That should be possible using the NDK and I could do that as well.
aqnuep
 
Posts: 97
Joined: Sat Dec 22, 2007 4:14 pm

Re: The Newton engine is now Open source with a zlib license

Postby Julio Jerez » Tue Feb 22, 2011 7:10 am

yes the Android thing sound very good.

The oeth day I was at best buy and I saun abput tow docent of diffrnet movil divice all using android,
It think very soon they are going to overwhelm the iphone.
Julio Jerez
Moderator
Moderator
 
Posts: 10993
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

PreviousNext

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 34 guests