A place to discuss everything related to Newton Dynamics.
Moderators: Sascha Willems, walaber
by pHySiQuE » Mon Dec 05, 2011 4:42 am
I created a new demo for you. This is using revision 1155 from the repository (the latest):
http://www.mediafire.com/?g35twbzv6cut2lbLeft mouse performs a convex cast. WASD keys move.
There is only one object in the scene now. I am using a convex hull modifier with a sphere, then scaling the modifier by the scale of the object it is cast against.
The problem is that the convex casting misses a lot of the time.

- Image2.jpg (24.53 KiB) Viewed 4176 times
-
pHySiQuE
-
- Posts: 608
- Joined: Fri Sep 02, 2011 9:54 pm
by Julio Jerez » Mon Dec 05, 2011 12:30 pm
Ok, let me cove soem pendin bug and feature I am working now.
it will be a day or two. tehn remind me in thsi post again.
you are in core 300 aren't you?
It should neve fail.
-
Julio Jerez
- Moderator

-
- Posts: 12426
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by pHySiQuE » Mon Dec 05, 2011 2:07 pm
This is core 200. I'll give 300 a try.
-
pHySiQuE
-
- Posts: 608
- Joined: Fri Sep 02, 2011 9:54 pm
by pHySiQuE » Mon Dec 05, 2011 2:18 pm
I am getting the following error with the 300 DLL:
The procedure entry point GetThreadID could not be located in the dynamic link library KERNEL32.dll
Is it intended that Newton will only work on Windows Vista or later? I have Windows 8 on another hard drive, but even if I can run it myself, it is a big problem if it doesn't work on Windows XP.
-
pHySiQuE
-
- Posts: 608
- Joined: Fri Sep 02, 2011 9:54 pm
by pHySiQuE » Mon Dec 05, 2011 2:27 pm
Okay, I commented out this line of dgWorkerThread.cpp and recompiled:
- Code: Select all
SetThreadName (GetThreadId(HANDLE (m_threadhandle)), name);
I used the 300 debug DLL, and now I hit a breakpoint at this line of dgNarrowPhaseCollision.cpp, at line 2085, in the function dgWorld::CollideContinue:
- Code: Select all
_ASSERTE (0);
It looks like the whole function is just commented out. Am I doing something wrong?
-
pHySiQuE
-
- Posts: 608
- Joined: Fri Sep 02, 2011 9:54 pm
by Julio Jerez » Tue Dec 06, 2011 8:59 am
I has no time to go over the CC on core 300.
the CC requires a part of the solve that goes with it, and I have no done yet.
like i said I am getting soem basic feature in before I get to that.
-
Julio Jerez
- Moderator

-
- Posts: 12426
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by pHySiQuE » Tue Dec 06, 2011 2:49 pm
Okay, thank you.

-
pHySiQuE
-
- Posts: 608
- Joined: Fri Sep 02, 2011 9:54 pm
by Julio Jerez » Tue Dec 06, 2011 6:56 pm
In case my post came out wrong, I meant I do not have time now. I am spreding too thin now, and I have about 5 open SVN branches on my desktop.
of course I will go over it but that has to be afte I get the sopport part that goes in teh solver.
maybe a week form now, I can start on that.
-
Julio Jerez
- Moderator

-
- Posts: 12426
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by pHySiQuE » Sat Feb 04, 2012 1:27 pm
Hi,
I have not checked the latest revision because I have to make changes to the source each time, but can you tell me if this has been fixed yet? Thanks.
-
pHySiQuE
-
- Posts: 608
- Joined: Fri Sep 02, 2011 9:54 pm
by Julio Jerez » Sat Feb 04, 2012 3:09 pm
you should not have to make any changes, what changes are those?
-
Julio Jerez
- Moderator

-
- Posts: 12426
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by pHySiQuE » Sat Feb 04, 2012 4:43 pm
I had to comment out the DLL main function, but I found a macro I can define to get around that.
-
pHySiQuE
-
- Posts: 608
- Joined: Fri Sep 02, 2011 9:54 pm
by pHySiQuE » Sat Feb 04, 2012 5:10 pm
I'm afraid this does not seem to be functioning properly. Can you tell me if any work has been done on the convex casting before I go in and re-check all my code?
I am using the core200 library, BTW.
-
pHySiQuE
-
- Posts: 608
- Joined: Fri Sep 02, 2011 9:54 pm
by pHySiQuE » Sat Feb 04, 2012 5:35 pm
Trying to upgrade the project to use the 300 library. I include these files:
- Code: Select all
#include "../../../NewtonDynamics/coreLibrary_300/source/newton/Newton.h"
#include "../../../NewtonDynamics/coreLibrary_300/source/core/dg.h"
#include "../../../NewtonDynamics/coreLibrary_300/source/newton/NewtonClass.h"
#include "../../../NewtonDynamics/coreLibrary_300/source/physics/dgPhysics.h"
And I just get a wall of text errors in Visual Studio. Am I missing a header file that has to be included? I am including the whole source in my project, not just a precompiled static lib.
-
pHySiQuE
-
- Posts: 608
- Joined: Fri Sep 02, 2011 9:54 pm
by Julio Jerez » Sat Feb 04, 2012 7:19 pm
I fixed a bunch of issues so that I can upload teh first alpha of core 300,
but for some reason Google source do not take the file.
you can sinc fo svn again and get the latest version fo should compile out of the box now.
each time I try to upload the file google gives me this error
403. That’s an error.
Your client does not have permission to get URL /upload/newton-dynamics from this server.
-
Julio Jerez
- Moderator

-
- Posts: 12426
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by pHySiQuE » Sat Feb 04, 2012 7:38 pm
Julio Jerez wrote:you cna sinc fo snv and get the laster version fo sodul compile out of the box now.
I don't understand this.
I tried including the static libs, and get these linking errors:
1>NewtonDynamicsBody.obj : error LNK2019: unresolved external symbol __imp__NewtonCompoundCollisionEndAddRemove referenced in function "public: virtual void __thiscall le3::NewtonDynamicsBody::Update(void)" (?Update@NewtonDynamicsBody@le3@@UAEXXZ)
1>NewtonDynamicsBody.obj : error LNK2019: unresolved external symbol __imp__NewtonCompoundCollisionAddSubCollision referenced in function "public: virtual void __thiscall le3::NewtonDynamicsBody::Update(void)" (?Update@NewtonDynamicsBody@le3@@UAEXXZ)
1>NewtonDynamicsBody.obj : error LNK2019: unresolved external symbol __imp__NewtonCompoundCollisionBeginAddRemove referenced in function "public: virtual void __thiscall le3::NewtonDynamicsBody::Update(void)" (?Update@NewtonDynamicsBody@le3@@UAEXXZ)
I don't know which header file to include. Right now I am just including "coreLibrary_300/source/newton/Newton.h".
-
pHySiQuE
-
- Posts: 608
- Joined: Fri Sep 02, 2011 9:54 pm
Return to General Discussion
Who is online
Users browsing this forum: No registered users and 2 guests