Jump to content
  • Advertisement
Sign in to follow this  
ovidiuvio

High Poly .x Models

This topic is 3320 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am currently trying to render high poly .x (directx mesh) models for a small shooter game that i am working on. I currently get : 20 fps - Athlon 3000+, geforce7300 - 200k poly mesh untextured Is this normal ? Rendering code for .x:
for(DWORD i = 0; i < numMaterials; i++)    
	{	
		// set the appropriate material for the subset	
		Dx9Render->m_pD3DDevice->SetMaterial( &vMaterials );  

		if( vTextures != NULL ) 
			Dx9Render->m_pD3DDevice->SetTexture( 0, vTextures );

		// draw the subset
		meshObjFromX->DrawSubset(i);    
	}
Any idea how efficient drawing .x meshes is ? Any help on rendering high-poly models is appreciated. Thank you.

Share this post


Link to post
Share on other sites
Advertisement
200k vertices mesh is EXTREME for a game...use a lowdef mesh and a normal map created from the highdef one and you'll be fine without too much difference.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!