Jump to content

  • Log In with Google      Sign In   
  • Create Account

AquaMacker

Member Since 18 Dec 2006
Offline Last Active Apr 12 2014 09:15 AM

Posts I've Made

In Topic: D3D11 WARNING: ID3D10Device::CopyResource

12 April 2014 - 09:17 AM

VB,IB better than ID3DX10Mesh. smile.png smile.png smile.png 


In Topic: D3D11 WARNING: ID3D10Device::CopyResource

11 April 2014 - 05:56 AM

Thank you very much, Juliean.

But my english is so bad.

I use DX10.1 (
ID3D10Device1) not DX11.

Am I change Device to 
ID3D10Device ?

and that source is I loading VB manually.

I'm sorry for my bad english...


In Topic: D3D11 WARNING: ID3D10Device::CopyResource

11 April 2014 - 05:21 AM

Thanks I found !!!

hr = 
D3DX10CreateMesh( pDevice, stVertex::pInputElementDesc, stVertex::nNumElements,
stVertex::pInputElementDesc[0].SemanticName,
36, 12,
D3DX10_MESH_32_BIT,
&pMesh );

pMesh->SetVertexData( 0, vertices );
pMesh->SetIndexData( indices, nIndexCount );

pMesh->GenerateAdjacencyAndPointReps( 0.001f );
pMesh->Optimize( D3DX10_MESHOPT_ATTR_SORT | D3DX10_MESHOPT_VERTEX_CACHE, 0, 0 );
pMesh->CommitToDevice() !!! <- that warning point 

This part is so simple box making source. so simple so simple.
Vertex number 36, index number is 12.
Vertex values is wrong ? hr is S_OK.

I don't understand.


I use ID3D10Device1* pDevice. Is related ?


In Topic: D3D11 WARNING: ID3D10Device::CopyResource

11 April 2014 - 03:55 AM

Please don't pass indifferencely.
 

I use multithread. Is related to that warnning ?

Come on Guy !!!


In Topic: What is BoneIndex, DXGI_FORMAT ?

02 April 2014 - 08:29 PM

Thanks so~~~~~~~~~~~~ much. smile.png 

Question is solved clearly perfectly. smile.pngsmile.pngsmile.png
 

Have a nice day @L. Spiro, @spazzarama, @Buckeye


PARTNERS