add option to create mp4 videos from App_AllBullet2Demos, using the

--mp4=video.mp4 note that you have to re-convert for Quicktime
ffmpeg  -f mp4 -vcodec h264 -i test.mp4 -pix_fmt yuv420p test2.mp4
add the option to display text in 3d, used in Coriolis demo
This commit is contained in:
Erwin Coumans
2015-03-25 14:04:26 -07:00
parent 0a04a745dd
commit 2ddd8f78c2
8 changed files with 84 additions and 23 deletions

View File

@@ -55,6 +55,11 @@ struct GraphicsPhysicsBridge
virtual void autogenerateGraphicsObjects(btDiscreteDynamicsWorld* rbWorld)
{
}
virtual void drawText3D( const char* txt, float posX, float posZY, float posZ, float size)
{
}
};
///Bullet 2 specific physics setup, that allows to share code between old and new demo frameworks