Jump to content
  • Advertisement

Archived

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

miguel_chile

not expected blending?

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

Hi. I''ve got the following problem: I''ve managed to import some models (3ds) into my opengl scene with 3dexploration, these models are simple in the way that the don''t have textures (in bmp or jpg files), they just have simple materials. I''ve imported 2 different cars, but even that one of them looks very dark, the other one looks OK. The problem is that I''ve imported a new car, but when I do the glCallList, all of the objects in my scene blend (and the old cars look better than before, but transparent). If I put a glDisable(GL_BLEND) just before I do the glCalllist the old cars are shown like they used to, but the new car look entirely blue (like if it doesn''t have any material). I don''t know if the glCalllist affects the lighting in the scene or what. (I have an ambient light). PS: I''m sorry if my english is kind of poor but I speak spanish . Thanks

Share this post


Link to post
Share on other sites
Advertisement
does it save the alpha value of every vertex etc? try making the model solid in 3dexploration and then import it again. Also, have you set the color to opaque before drawing the cars? glColor4f(1,1,1,1) for a pure white car...

at least it sounds like a problem with the alpha channel... =)

[edited by - Rasmadrak on June 5, 2004 8:13:20 AM]

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!