• Advertisement
Sign in to follow this  

Subsets

This topic is 4893 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

Hey there, I am wanting to divide a mesh into subsets for rending with different attributes, such as lighting. At current, the whole mesh is rendered in one subset mesh->DrawSubset(0); However i wish to seperate it into seperate subsets as such: //Setup lights for floor mesh->DrawSubset(0); //floor //Setup lights for wall mesh->DrawSubset(1); //Walls etc. The meshes are loaded into memory using D3DXLoadmeshfromX(...); The models are modelled in maya 4, and are converted to .x format from .mb format. Any more information just ask. Thanks. FMDGames

Share this post


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

  • Advertisement