Sign in to follow this  
Anddos

my model is not rendering ...

Recommended Posts

right i am using the mesh load function D3DXLoadMeshFromX on a model i have made and export to .x from 3d studio max 9 and it wont show on screen yet a model i downloaded from the internet renders and displays to screen ? anyone have a idea what i am doing wrong

Share this post


Link to post
Share on other sites
Unfortunately, with the lack of details there is almost no way that anyone here can tell you what's going wrong.

  1. What debugging have you done? Any suspect HRESULT's (you ARE checking these, right?)
  2. Are you sure the mesh is actually in view - a classic mistake is to scale a mesh too much or too little so it is technically rendered but not actually visible.
  3. Likewise with camera settings.
  4. Are you configuring textures and materials correctly?
  5. Have you stepped through with PIX?
  6. How about checked the debug runtime messages?


Help us to help you.
Jack

Share this post


Link to post
Share on other sites
ok ive got it to display with culling mode on ,
altho the textures look blurry , what are the best render states and textures stages to set for textured meshs , its just a terrain with grass

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this