Thread: C++ Rendering Project

  1. #1
    Registered User
    Join Date
    Mar 2008
    Posts
    1

    Question C++ Rendering Project

    Howyas, I have to do a C++ project where I have to render a box on to a screen without using any packages except for the basic MFC application stuff.
    So far all I hav is a 3d wireframe box. Now I have to use something like Phongs scanline algorithm to fill in the box. All of the notes I have are just about the theory of the scanline algorithm NO CODE.

    So... I was wondering if anybody has done anything like this before, or anywhere I could look at some code that does what I have just described.

    Thanks for any help at all.

  2. #2
    Algorithm Dissector iMalc's Avatar
    Join Date
    Dec 2005
    Location
    New Zealand
    Posts
    6,318
    Quote Originally Posted by Otna View Post
    Howyas, I have to do a C++ project where I have to render a box on to a screen without using any packages except for the basic MFC application stuff.
    So far all I hav is a 3d wireframe box. Now I have to use something like Phongs scanline algorithm to fill in the box. All of the notes I have are just about the theory of the scanline algorithm NO CODE.

    So... I was wondering if anybody has done anything like this before, or anywhere I could look at some code that does what I have just described.

    Thanks for any help at all.
    Sounds interesting. I have my own fast software 3D renderer.
    It would be easiest if you show us what code you have so far. Do as much as you can first too, such as assigning the colour values or texture coordinates to the polygon vertexes.
    My homepage
    Advice: Take only as directed - If symptoms persist, please see your debugger

    Linus Torvalds: "But it clearly is the only right way. The fact that everybody else does it some other way only means that they are wrong"

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem Displaying a Struct
    By rockstarpirate in forum C++ Programming
    Replies: 16
    Last Post: 05-05-2008, 09:05 AM
  2. added start menu crashes game
    By avgprogamerjoe in forum Game Programming
    Replies: 6
    Last Post: 08-29-2007, 01:30 PM
  3. Dynamic Binding
    By gpr1me in forum C++ Programming
    Replies: 1
    Last Post: 03-24-2006, 09:01 AM
  4. Game Independent Anti-cheat Project Needs Programmers
    By GIA Project Lea in forum Projects and Job Recruitment
    Replies: 3
    Last Post: 09-15-2005, 07:41 PM