Newton 2.0x Archemedia Open Beta

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

Re: Newton 2.01 Archemedia Open Beta

Postby JernejL » Sun Jun 14, 2009 5:22 pm

Ok i'm uploading wmv version of video and you will get the link in the PM in a minute.
Help improving the Newton Game Dynamics WIKI
User avatar
JernejL
 
Posts: 1587
Joined: Mon Dec 06, 2004 2:00 pm
Location: Slovenia

Re: Newton 2.01 Archemedia Open Beta

Postby Julio Jerez » Mon Jun 15, 2009 1:36 pm

Delfi wrote:
melven wrote:First of all: beta 2.01 seems nice!

But I have a strange bug in my app:
With the beta 2.01 objects move with exactly the double of the velocity they have (the velocity is correct, it's like the time is running twice as fast). I managed to "correct" the behavior by scaling the time by 0.5. With beta 2.00 it worked correctly.


I have to report i am getting this same problem, my cars, actors, everything goes twice as fast in 2.01 when the bodies are in contact with a trimesh / ground, more contacts with trimesh appears to speed things up exponentially.!

I am also having a old raycast issue which was in beta19 which must have silently returned in some 2.0 revision, this raycast bug also happens with 2.01, i made a video of it:
http://mathpudding.com/tdc/nbug2.avi


Yes there the speed bug in 2.01 is real, I took the beta 2.01 down until I get it fix it. The bug does not happen in 2.00
I am working in the solution, and when I get it I will updta tha beta to 2.02

Thank to Melven and Delfi for finding this bug, nwo taht I can see what iot is I can fix it.
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Newton 2.01 Archemedia Open Beta

Postby Dave Gravel » Tue Jun 16, 2009 10:40 pm

Yes me to I have seen same from your demo, I have thinking that you have change the update loop demo.
but it seen same as 2.00.
You search a nice physics solution, if you can read this message you're at the good place :wink:
OrionX3D Projects & Demos:
https://orionx3d.sytes.net
https://www.facebook.com/dave.gravel1
https://www.youtube.com/user/EvadLevarg/videos
User avatar
Dave Gravel
 
Posts: 801
Joined: Sat Apr 01, 2006 9:31 pm
Location: Quebec in Canada.

Re: Newton 2.01 Archemedia Open Beta

Postby Julio Jerez » Thu Jun 18, 2009 11:08 am

OK the double speed Bug had being fixed.
Thank to Melven for finding the bug and Delfi how also found it and provided a test for me to reproduce it and fix it.

I upped the version to 2.02
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Newton 2.01 Archemedia Open Beta

Postby KiwiCoder » Fri Jun 19, 2009 2:22 am

Thanks - Just downloaded the Mac version, it compiles fine, but the program doesn't start;
it is still searching for the custom frameworks at some custom location:

dyld: Library not loaded: /Users/luke/Library/Frameworks/GLUI.framework/Versions/A/GLUI

Also, should the GLUT framework be included? It's already in /system/library/frameworks..
Or is the GLUT required by the demo a newer one?

Cheers,
KC
KiwiCoder
 
Posts: 15
Joined: Thu Jun 11, 2009 4:39 pm

Re: Newton 2.01 Archemedia Open Beta

Postby Julio Jerez » Fri Jun 19, 2009 1:10 pm

Oh I see, It was a mistake to put those framewrok wit the project.
I did not realize that it worked in my system because I already have then installed in the develeoper->sdk->suystem->frmerword
when I removed then it fail in my system too.

tonight I will see if I can build those two moronic GLEW and GLUT,
those eare such crappy libraries, prble teh worse I can think of, bu teh onley alterative is SDKL whit do no have Gui.
anyway I will tyr again to solve these issue.

Maybe I will move to WxWidgest, but that is such huge project that scare the bejesus out of me.
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Newton 2.01 Archemedia Open Beta

Postby JernejL » Fri Jun 19, 2009 3:27 pm

you could try using SDL which offers a cross platform opengl context that is very simplistic , but it has no gui support however you could use something like "ant tweak bar": http://www.antisphere.com/Wiki/tools:anttweakbar
Help improving the Newton Game Dynamics WIKI
User avatar
JernejL
 
Posts: 1587
Joined: Mon Dec 06, 2004 2:00 pm
Location: Slovenia

Re: Newton 2.01 Archemedia Open Beta

Postby Julio Jerez » Fri Jun 19, 2009 4:26 pm

Delfi wrote:you could try using SDL which offers a cross platform opengl context that is very simplistic , but it has no gui support however you could use something like "ant tweak bar": http://www.antisphere.com/Wiki/tools:anttweakbar


That sound very nice, specialty that it interface with GLUT.

The biggest problem is not GLUT, GLUT is actually quite cool.
The big problems are GLEW and GLUI, they are too mediocre, full of bugs and behave different from version to version and from system to system.
In the Mac GLUI is simple an abomination, in Linux it malfunction depending on what Linux version you have, I am sick and tire of debugging GLUI in these systems.
GLUI only work fin on win32, even in win 64 you need to hack a bunch of Mouse command to make it compile.

I will try this anttweakbar and if it is not what I want I will go for the heavy weight big gun, wxWidgets.
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Newton 2.01 Archemedia Open Beta

Postby Julio Jerez » Sat Jun 20, 2009 5:41 pm

KiwiCoder wrote:Thanks - Just downloaded the Mac version, it compiles fine, but the program doesn't start;
it is still searching for the custom frameworks at some custom location:

dyld: Library not loaded: /Users/luke/Library/Frameworks/GLUI.framework/Versions/A/GLUI

Also, should the GLUT framework be included? It's already in /system/library/frameworks..
Or is the GLUT required by the demo a newer one?

Cheers,
KC



Ok I uploaded the Mac SDK 2.02 with these changes:
-Remove all dependencies on GLEW
-I am still using GLUI.Framework,
-Remove GLUT and GLUI frames from the project and using the system Frameworks.

Unfortunately I was no successful build GLUI as a Library or Framework, this is such a horrendous application that I which I can get rid of it.
You can try downloading a prebuilt GLUI framework here

http://lukecyca.com/2007/02/14/glui-23- ... -mac-os-x/

It is old and performs very poorly in the Mac, the Buttons are out focus, and does not have have function call back for graciously closing, so it leave ton of memory leak on exit.
I tried to rebuild it, but for some reason after I add the missing element to the xcode project, the application crash OSX and Xcode to the desktop.
I wish someone updated to the latest version
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Newton 2.01 Archemedia Open Beta

Postby KiwiCoder » Sat Jun 20, 2009 6:33 pm

Just downloaded the latest Mac SDK, installed GLUI (latest) beta - and it compiles & works!
Thanks a lot for the quick fix :D

Great demos as well!

The Windows95 style controls that GLUI displays on my Mac OS 10.5 are pretty terrifying, though..
Anyway - I was wondering if including the GLUI sources might be an alternative?
Not sure how much trouble is involved in getting these to compile, have to play around a bit.
According to http://glui.darwinports.com/ it doesn't look like it's working out of the box..

Cheers,
KC
KiwiCoder
 
Posts: 15
Joined: Thu Jun 11, 2009 4:39 pm

Re: Newton 2.01 Archemedia Open Beta

Postby Julio Jerez » Sat Jun 20, 2009 6:53 pm



Ha that might be a solution, it says it is a newer version 2.36, I will check it out.
I agree GLUI is such draconian library that I get tire just from thinking to woking with it.

I will check that version as see if I can make a library that can be included with the SDK as a Target.
If you can figure it out let me know.

Also is this the first time you get to watch the Mac demos?
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Newton 2.01 Archemedia Open Beta

Postby KiwiCoder » Sat Jun 20, 2009 7:24 pm

Also is this the first time you get to watch the Mac demos?


Yes, just had the 1.5x release before and the previous 2.0x wouldn't work due to the linked third party frameworks.
However, since I had the 2.0x demo sources it wasn't too hard to figure out how the new functions work, without actually seeing it running..

After all it's a demo for programmers, so I wouldn't put too much effort into it - they should be able to get it working by installing the 3rd party dependency.
At least I'm happy with it!

Cheers,
KC
KiwiCoder
 
Posts: 15
Joined: Thu Jun 11, 2009 4:39 pm

Re: Newton 2.01 Archemedia Open Beta

Postby Julio Jerez » Sat Jun 20, 2009 8:28 pm

Woohoo
I downloaded GLUI 2.36 and I did teh exat same thing I was tryoin to do with 2.35 and know it works fine.
Now I only have GLUT dependency, but I thonk I can add that as a library too,

I will upload anothe version maybe you can check it out

My goal is the the project works out of the Box in all Macs startin with Tiger.
We can not have Macs malfuntion that way.

If I am correct and I can add all the depemedencies to the project, then there is not reason why it can not be build wih xcode 1.5 on Tiger 10.4.x
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Newton 2.01 Archemedia Open Beta

Postby Julio Jerez » Sat Jun 20, 2009 9:55 pm

Ok I uploaded the Mac Build, and I this is shuold run out of the Box.
Maybe oyu cna give it anoteh try when yo uhave time, please.

I will see how hard it to recreate the project for xcode 2.5 with tiger

what I am going to do now that I have the libraries in the project is the I will make tow projects, one for xcode2.5 an done for xcode 3.0 just like I dod for Visual Studio.
This should be very simple and will finish all thsoi compatibilitis Problems.
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Newton 2.01 Archemedia Open Beta

Postby KiwiCoder » Sun Jun 21, 2009 3:01 am

Works out of the box :-)
Cool!

-KC
KiwiCoder
 
Posts: 15
Joined: Thu Jun 11, 2009 4:39 pm

PreviousNext

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests

cron