MeshContainer with an empty name

Started by
5 comments, last by lucky6969b 10 years, 10 months ago

HRESULT CAllocateHierarchy::CreateMeshContainer(LPCSTR Name,
                                            CONST D3DXMESHDATA *pMeshData,
                                            CONST D3DXMATERIAL *pMaterials,
                                            CONST D3DXEFFECTINSTANCE *pEffectInstances,
                                            DWORD NumMaterials,
                                            CONST DWORD *pAdjacency,
                                            LPD3DXSKININFO pSkinInfo,
                                            LPD3DXMESHCONTAINER *ppNewMeshContainer)
 

Under what circumstances would Name contain a value?

I have named every mesh in 3ds max with a string, but it turns out to be empty.

Thanks

Jack

Advertisement

Any ideas, please help me.

Thanks

Hello.

its a noname frame name lol. it happens ??

all I do is give it a name something like this

std::string Name;

if(GetObjectName(pDObj, &Name) == false)

Name = "NoNameFrame";

Frame->Name = Name;

Hello.

its a noname frame name lol. it happens ??

all I do is give it a name something like this

std::string Name;

if(GetObjectName(pDObj, &Name) == false)

Name = "NoNameFrame";

Frame->Name = Name;

sorry delete this please miss read what the guy wanted.

I looked everywhere and found nothing about this topic.

I am interested in naming the mesh in 3ds max

What code are you using to parse your max file? I suspect this is where/why the names are not being set. If it is 3rd party code, there is likely not much you can do, other than parse it youself and add the names in after the frames are loaded.

I am using Panda Exporter

This topic is closed to new replies.

Advertisement