I can't see my entire world when it is drawn? Where is the problem?
You can't see all of the triangles in your world if your winding order is wrong. Direct3D rasterizer culls every triangle whose vertices are specified in a counter clockwise manner (After transformation). This prevents artifacts from back faces (by eliminating any triangles that are facing away from the viewer) and also increases the performance of the rasterizer. To solve this problem, just reverse the winding order of the triangle that is culled.A quick hack is to turnoff culling before you start rendering
// Turn off culling to see both sides of the objects we are drawing m_pD3DDevice->SetRenderState (D3DRS_CULLMODE, D3DCULL_NONE);
FAQ Menu
Sponsored links
Build IT Knowledge with Current & Trusted Content
Helps Employees Develop & Hone New Technical Programming Skills. Sign Up & Get Full Access.
Helps Employees Develop & Hone New Technical Programming Skills. Sign Up & Get Full Access.
Check Out IT Certification Preparation Materials
Sign Up With SkillSoft & Get Access to Training Materials for Over 50 Professional Certifications.
Sign Up With SkillSoft & Get Access to Training Materials for Over 50 Professional Certifications.
Villanova University Six Sigma & IT Certificate Programs
100% Online programs in Six Sigma, IS Security, CISSP Prep, Business Analysis, Proj. Mgmt. and more!
100% Online programs in Six Sigma, IS Security, CISSP Prep, Business Analysis, Proj. Mgmt. and more!
3 Months Free - ASP.NET Web Hosting
3 Months Free & No Setup Fees on ASP.NET 3.5/2.0 Hosting on Windows 2008/2003 Servers ? Click Here!
3 Months Free & No Setup Fees on ASP.NET 3.5/2.0 Hosting on Windows 2008/2003 Servers ? Click Here!
SFTP components for .NET
Add complete SSH and SFTP support to your .NET framework application
Add complete SSH and SFTP support to your .NET framework application
