From: <re...@us...> - 2003-09-25 19:15:36
|
Update of /cvsroot/crystal/CS/plugins/mesh/ball/object In directory sc8-pr-cvs1:/tmp/cvs-serv918/plugins/mesh/ball/object Modified Files: ball.cpp Log Message: Made the following changes: - Fixed walktest for recent iCamera->GetHit() removal. - Added Jamfiles for duhprey's CLOD plugin. - Added a patch from John Harger <jo...@se...> which enhances the glshader_arb plugin with fragment program support. - Added "polygon buffers" to the NR. You can compare it to the polygon buffers of the OR; you feed in some polygons, and get out a render buffer source you have specify in the csRenderMesh structure. The 'mesh type' has to be 'POLYGON'. - In the csRenderMesh structure, the 'transform' member was renamed to the more speaking 'object2camera'. - Brought the NR SW renderer up-to-date. - Added polygon drawing to NR SW. Still veeery crude. - Some GL extensions are now inited in the plugins which actually use them. - Fixed the problem that the shader manager only accepted technique priorities > 0. Index: ball.cpp =================================================================== RCS file: /cvsroot/crystal/CS/plugins/mesh/ball/object/ball.cpp,v retrieving revision 1.69 retrieving revision 1.70 diff -u -d -r1.69 -r1.70 --- ball.cpp 8 Sep 2003 09:12:34 -0000 1.69 +++ ball.cpp 25 Sep 2003 19:15:00 -0000 1.70 @@ -679,7 +679,7 @@ // iGraphics3D* g3d = rview->GetGraphics3D (); mater->Visit (); - mesh.transform = &tr_o2c; + //mesh.transform = &tr_o2c; // Prepare for rendering. mesh.z_buf_mode = CS_ZBUF_TEST;// mode; @@ -752,7 +752,7 @@ return false; #ifdef CS_USE_NEW_RENDERER - mesh.transform = &tr_o2c; + mesh.object2camera = tr_o2c; mesh.clip_portal = clip_portal; mesh.clip_plane = clip_plane; mesh.clip_z_plane = clip_z_plane; |