Troubles with matrices

This is a discussion on Troubles with matrices within the Game Programming forums, part of the General Programming Boards category; Okay, I am using DX9 and MSVC++ 6. I got it to render a triangle with gourad shading using transformed ...

  1. #1
    Banned frenchfry164's Avatar
    Join Date
    Oct 2001
    Posts
    1,552

    Troubles with matrices

    Okay, I am using DX9 and MSVC++ 6. I got it to render a triangle with gourad shading using transformed matrices. Now I'm switching to untransformed matrices, and all it does is give me a black screen.

    PS: I know the coding is ugly, but I just threw it together really quickly.
    Attached Files Attached Files

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C simple Matrices
    By Cyberman86 in forum C Programming
    Replies: 3
    Last Post: 05-07-2009, 05:20 PM
  2. adding matrices, help with switches
    By quiet_forever in forum C++ Programming
    Replies: 7
    Last Post: 09-04-2007, 08:21 AM
  3. What is a matrix's purpose in OpenGL
    By jimboob in forum Game Programming
    Replies: 5
    Last Post: 11-13-2004, 11:19 PM
  4. Multiplying matrices
    By Star Lancer in forum C++ Programming
    Replies: 7
    Last Post: 05-22-2003, 06:07 AM
  5. Problem multiplying rotation matrices together
    By Silvercord in forum A Brief History of Cprogramming.com
    Replies: 20
    Last Post: 03-04-2003, 08:20 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21