Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views

Anoying bug

Sign in to follow this  


I have been trying to work out the Texture and meshes area of the 3D engine, and for the past 2 weeks I have been unable to figure out what is going wrong with my Rendering.

In the D3D tutorial there is a Meshes tutorial, when I place my VyperS.X and its texture map into that tutorial and rename the file it works perfectly, we have a vyper scrolling on the screen. When I add in my rendering device the VuperS.X it compiles fine, and it will NOT show the vyper, infact its not doing anything. I even resorted as to copying the entire set of code from Meshes.EXE over, and try it with the tyger mesh included, and it works fine.But the second I add my vyper back in it will not work, it just shows a blank screen, while its showing the vyper in the meshes.exe without any prblems.

Does anyone know what I am doing wrong here?
I posted the source here:


Sign in to follow this  

1 Comment

Recommended Comments

Your "eye" position that you use to create the view matrix is too close to the origin. At the moment you are actually inside the model! [smile]

Changing Line 113 in D3D.cpp to
D3DXVECTOR3 vEyePt( 0.0f, 30.0f,-75.0f );
for example, will at least let you see some of your model.

Share this comment

Link to comment

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
  • 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!