Search found 3 matches
- Tue Nov 06, 2012 3:28 am
- Forum: Bug reports
- Topic: CVertexBuffer and CIndexBuffer use shallow copies
- Replies: 2
- Views: 734
CVertexBuffer and CIndexBuffer use shallow copies
CVertexBuffer and CIndexBuffer both define no copy constructor or assignment operator, and thus use the compiler's default one. Because they allocate their own memory, this leads to segmentation faults when you try to delete copied instances or place them into STL containers which depend on those ro...
- Fri Mar 30, 2012 7:29 am
- Forum: Bug reports
- Topic: IMeshManipulator::transform fails to work on rigged meshes
- Replies: 3
- Views: 1182
Re: IMeshManipulator::transform fails to work on rigged mesh
The lack of code in the rendering loop is intentional. The IMeshManipulator class documentation specifies that it is intended to be called once to fix wrongly imported meshes during load time and not run time, so I wanted to be able to set the transform once and not worry during the game loop. If bo...
- Thu Mar 29, 2012 1:15 am
- Forum: Bug reports
- Topic: IMeshManipulator::transform fails to work on rigged meshes
- Replies: 3
- Views: 1182
IMeshManipulator::transform fails to work on rigged meshes
If a mesh uses skeletal animation, a call to IMeshManipulator.transform() will transform the vertices of that mesh but not the skeleton. This causes animations using the mesh to revert to their original positions. As a demonstration, I created two simple meshes and animated one of them by making one...