realXtend / tundra

realXtend Tundra SDK, a 3D virtual world application platform.
www.realxtend.org
Apache License 2.0
84 stars 70 forks source link

Implement possibility to omit physics functionality from Tundra build (TUNDRA_NO_PHYSICS) #591

Open Stinkfist0 opened 11 years ago

Stinkfist0 commented 11 years ago

Inspired by the TUNDRA_NO_AUDIO option, TUNDRA_NO_PHYSICS would ne nice option to have also.

jonnenauha commented 11 years ago

This is to remove kNet dependency or what? I dont see the point in excluding it from the build. If you don't need networking and client-server setup just start a tundra instance with --file and you are done? :)

Best regards, Jonne Nauha Adminotech developer

On Fri, Dec 14, 2012 at 11:41 AM, Ali Kämäräinen notifications@github.comwrote:

Inspired by the TUNDRA_NO_AUDIO option, TUNDRA_NO_PHYSICS would ne nice option to have also.

— Reply to this email directly or view it on GitHubhttps://github.com/realXtend/naali/issues/591.

Stinkfist0 commented 11 years ago

You mean Bullet? Basically Bullet and PhysicsModule would be ommitted from the build. But the purpose of TUNDRA_NO_NETWORKING, which is another issue, is not to remove kNet dependency.

jonnenauha commented 11 years ago

I apologize I for some reason misread as TUNDRA_NO_NETSYNC. Or something weird, need sleep apparently :)

What modules depend on physics, if its just left from the startup config what modules wont load?

Best regards, Jonne Nauha Adminotech developer

On Fri, Dec 14, 2012 at 12:00 PM, Ali Kämäräinen notifications@github.comwrote:

You mean Bullet? Basically Bullet and PhysicsModule would be ommitted from the build.

— Reply to this email directly or view it on GitHubhttps://github.com/realXtend/naali/issues/591#issuecomment-11370771.

Stinkfist0 commented 11 years ago

IIRC, currently TundraProtocolModule (for rigid body streaming optimization purposes) and DebugStatsModule (for Bullet profiling hooks) depend on PhysicsModule. Both dependencies should be trivial to #ifdef.