start of URDF parsing (extremely preliminary)

This commit is contained in:
Erwin Coumans
2014-08-01 13:01:31 -07:00
parent 070802f4de
commit 86f793a6ae
6 changed files with 188 additions and 18 deletions

View File

@@ -1311,6 +1311,10 @@ void writeTextureToPng(int textureWidth, int textureHeight, const char* fileName
void GLInstancingRenderer::renderScene()
{
//avoid some Intel driver on a Macbook Pro to lock-up
//todo: figure out what is going on on that machine
glFlush();
if (useShadowMap)
{

View File

@@ -319,6 +319,7 @@ int SimpleOpenGL3App::registerGraphicsSphereShape(float radius, bool usePointSpr
return graphicsShapeIndex;
}
void SimpleOpenGL3App::drawGrid(DrawGridData data)
{
int gridSize = data.gridSize;

View File

@@ -41,7 +41,7 @@ struct SimpleOpenGL3App
void dumpNextFrameToPng(const char* pngFilename);
void dumpFramesToVideo(const char* mp4Filename);
void drawGrid(DrawGridData data=DrawGridData());
void swapBuffer();
void drawText( const char* txt, int posX, int posY);