Compound collision shape demo fails

Report any bugs here and we'll post fixes

Moderators: Sascha Willems, Thomas

Compound collision shape demo fails

Postby Bird » Sun Jan 13, 2013 10:51 am

Hi Julio,

In case you didn't already know, the "Compound collision shape" demo is not working properly in the latest version(3221).

-Bird
Bird
 
Posts: 623
Joined: Tue Nov 22, 2011 1:27 am

Re: Compound collision shape demo fails

Postby Julio Jerez » Mon Jan 14, 2013 8:04 am

I just run it, what it is doing wrong?
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Compound collision shape demo fails

Postby Bird » Mon Jan 14, 2013 1:27 pm

The compound bodies fall right through the ground.
[url]
http://hurleyworks.com/media/flash/Comp ... ision.html[/url]

I'm running the 64bit release version of the Sandbox demo.

-Bird
Bird
 
Posts: 623
Joined: Tue Nov 22, 2011 1:27 am

Re: Compound collision shape demo fails

Postby Julio Jerez » Tue Jan 15, 2013 7:16 am

I just tested the 64 bit in release both dll, and ststic link and I do no see the bug happeneing.
can you sync to svn and see if it hppen wi the later build?

Try running the exe, after you sync, maybe it is a build thing.
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Compound collision shape demo fails

Postby Bird » Tue Jan 15, 2013 10:51 am

I synced to the latest version and rebuilt everything and Release 64bit still fails. The Debug version works ok, so maybe it's a compiler optimization thing. I'm using vs2010 Express.

Try running the exe, after you sync, maybe it is a build thing.

I can't run that cause I've never be able to build the release Newton DLLs.

Here's a partial list of the errors I'm getting

-Bird

------ Build started: Project: newton, Configuration: releaseDll x64 ------
Microsoft (R) Incremental Linker Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.

"/OUT:x64/newton/releaseDll\newton.dll" /INCREMENTAL:NO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST "/ManifestFile:x64/newton/releaseDll\newton.dll.intermediate.manifest" "/MANIFESTUAC:level='asInvoker' uiAccess='false'" /DEBUG "/PDB:x64/newton/releaseDll\newton.pdb" "/MAP:x64/newton/releaseDll\newton.map" /OPT:REF /OPT:ICF /LTCG /TLBID:1 /DYNAMICBASE:NO "/IMPLIB:x64/newton/releaseDll\newton.lib" /MACHINE:X64 /DLL x64/newton/releaseDll\Newton.obj
x64/newton/releaseDll\NewtonClass.obj
E:\Code\Koa\dependencies\Newton\packages\thirdParty\pthreads.2\x64\pthread\Debug\pthread_d.lib
E:\Code\Koa\dependencies\Newton\coreLibrary_300\projects\windows\project_vs2010\x64\ai\Debug\ai_d.lib
E:\Code\Koa\dependencies\Newton\coreLibrary_300\projects\windows\project_vs2010\x64\core\Debug\core_d.lib
E:\Code\Koa\dependencies\Newton\coreLibrary_300\projects\windows\project_vs2010\x64\physics\Debug\physics_d.lib
core_d.lib(dgMemory.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
core_d.lib(dgThreadHive.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
core_d.lib(dgMatrix.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
core_d.lib(dgPolyhedra.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
core_d.lib(dgTree.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
core_d.lib(dgMutexThread.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
Bird
 
Posts: 623
Joined: Tue Nov 22, 2011 1:27 am

Re: Compound collision shape demo fails

Postby Julio Jerez » Wed Jan 16, 2013 10:10 am

It must be a VS 2010 express problem,m I just buyidl the dll in VS2010 prffetinal usin VS2010 express build, and it seem to work.
I can test VS2010 express maybe I see why teh build fail.

Has you being able to run anything at all.
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Compound collision shape demo fails

Postby Bird » Wed Jan 16, 2013 12:49 pm

Has you being able to run anything at all.


All the other demos seem to be working fine.

-Bird
Bird
 
Posts: 623
Joined: Tue Nov 22, 2011 1:27 am

Re: Compound collision shape demo fails

Postby Julio Jerez » Wed Jan 16, 2013 2:30 pm

what? were you able to compile the DLL in 64 using VX2010 express?

I am guessin teh buidl problem is release to some FS maccors that is no set for the express project.
I am going to try tonight afte I set up VS2010 express.
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Compound collision shape demo fails

Postby Bird » Wed Jan 16, 2013 3:03 pm

what? were you able to compile the DLL in 64 using VX2010 express?


No, sorry ... I meant using the static linked version of Sandbox demo that I compiled here.

-Bird
Bird
 
Posts: 623
Joined: Tue Nov 22, 2011 1:27 am

Re: Compound collision shape demo fails

Postby Bird » Wed Jan 16, 2013 6:05 pm

I have gotten the Newton DLL release 64bit to compile. I had been compiling using "Batch Build" and that doesn't work for some reason. But if I use Configuration Manager to set the current build to Release 64bit and build it, then everything is ok.

Anyways even with the SVN version of demosSandbox.exe, the Compound collision shape demo still has the compound bodies falling through the ground. And all the other demos seem to be working ok, except for Simple Boolean which crashes.

Would it be possible for you to re-enable mouse picking for the demos?

-Bird
Bird
 
Posts: 623
Joined: Tue Nov 22, 2011 1:27 am

Re: Compound collision shape demo fails

Postby Julio Jerez » Wed Jan 16, 2013 6:52 pm

Oh that's the problems, that one of the Bug in VS2010. I protest about that but to MS in several occasion to MS.
http://connect.microsoft.com/VisualStudio/feedback/details/633270/link-library-dependencies-for-c-does-not-work-with-batch-build
in the end they say they will not fix it.
you have to build one configuration at at time.

I still can no see hwo that penetration bug happen I have not seen it once.

I will re enable pick bodies yes, I said I will going to do last week, but I have not have much time latelly
I will do this weekend using teh old methog an da new one using the kinematic joint
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Compound collision shape demo fails

Postby Bird » Wed Jan 16, 2013 7:19 pm

Thanks, I never knew about that bug. Amazing that they wouldn't fix it until 2012 version.

-Bird
Bird
 
Posts: 623
Joined: Tue Nov 22, 2011 1:27 am

Re: Compound collision shape demo fails

Postby Julio Jerez » Mon Jan 21, 2013 12:37 pm

Alright I think I fixed the Mouse Pick bug.

Thsi broke when all the physics update to be called from Pre and post listeners. teh problem is the you cna no call any Open GL function if you do no have a GL contex, it too me a while to figured out wahy it was wrong
and to fix it I have to add soem of eth GL state to teh Camera so tah teh are update form teh Paint message, and teh I simply ready the values.
It should be fine now.
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Compound collision shape demo fails

Postby Bird » Mon Jan 21, 2013 1:45 pm

Excellent! Seems to be working fine now. Thanks for taking time out to fix it.

-Bird
Bird
 
Posts: 623
Joined: Tue Nov 22, 2011 1:27 am


Return to Bugs and Fixes

Who is online

Users browsing this forum: No registered users and 6 guests

cron