Skip to main content
GameDev.net gamedev.net
🔒 Locked

Generating a skin mesh object problem

Started by bigbrother2000 Jan 19, 2005 at 6:00 AM 0 replies 250+ views
Original Post
bigbrother2000
bigbrother2000
hello, i'm using a skin mesh function to load my .x model, although the number of parameters was incorrect so i added two nulls. now when i load a mesh they do not represent the exact .x model saved, with incorrect shapes been drawn to screen, heres the code with the two nulls added: // Generate the skin mesh object if(FAILED(Mesh->m_SkinMesh->GenerateSkinnedMesh( D3DXMESH_WRITEONLY, 0.0f, AdjacencyIn, AdjacencyOut, NULL, NULL, &Mesh->m_Mesh))) { // Convert to a regular mesh if error Mesh->m_SkinMesh->GetOriginalMesh(&Mesh->m_Mesh); anyone know about this function, and if these two null values should be anything different?

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.