Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

johndunne

White meshes

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

Hello directx programmers, I''ve got a problem, sa simple one i guess. Some of my meshes, when displayed, are only a white silhoutte of the object. I think its something to do with the materials settings but havent got a clue how to solve it. An examle of the problem is the bigship1.x that comes with directx, it is displayed as a white silhoutte but with the direct mesh viewer it looks fine! Thanks in advnace

Share this post


Link to post
Share on other sites
Advertisement
hey, when you load the mesh, you used the SdK code right?
somewhrere is a line of code:

g_pMesh->ambient = g_pMesh->diffuse;

maybe something to do wth that?

Share this post


Link to post
Share on other sites
Can''t try that as i''m not at my computer at moment, but i''ll give it a try this afternoon when i get home. What should each attribute be set at? Would this be in the .x file itself?

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!