Check This Out..

This is a discussion on Check This Out.. within the C++ Programming forums, part of the General Programming Boards category; Take a look, I just started learning some OpenGL stuff. I've been working on this cool shadow technique thing that ...

  1. #1
    Student drdroid's Avatar
    Join Date
    Feb 2002
    Location
    Montreal, Quebec
    Posts
    669

    Check This Out..

    Take a look, I just started learning some OpenGL stuff. I've been working on this cool shadow technique thing that I thought was kind'a cool.
    Attached Files Attached Files

  2. #2
    Registered User rmullen3's Avatar
    Join Date
    Nov 2001
    Posts
    330

    _

    Not really sure if you'd call color interpolation a "shadow technique", but nice none the less =)

  3. #3
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571
    Looks nice. However this is a pretty simple shading technique. Nothing is casting a shadow really. The "dark" part of your cube is static and never changes. Basically your assigning the vertex color black to one of your tri verts and interpolating to white on the other two. OpenGL is nice enough to do this with either Phong or Gouraud shading. I imagine you are using Gouraud. Looks nice however.

    EDIT:

    Probably get more feedback over there in the Game Programming forum also.
    "...the results are undefined, and we all know what "undefined" means: it means it works during development, it works during testing, and it blows up in your most important customers' faces." --Scott Meyers

  4. #4
    Student drdroid's Avatar
    Join Date
    Feb 2002
    Location
    Montreal, Quebec
    Posts
    669

    ..

    Thanks for 'da feedback, I know what you're saying. But I figured It was someone looking around it... not an object spinning.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. BN_CLICKED, change button style
    By bennyandthejets in forum Windows Programming
    Replies: 13
    Last Post: 07-05-2010, 11:42 PM
  2. how to check input is decimal or not?
    By kalamram in forum C Programming
    Replies: 3
    Last Post: 08-31-2007, 07:07 PM
  3. Please check this loop
    By Daesom in forum C++ Programming
    Replies: 13
    Last Post: 11-02-2006, 12:52 AM
  4. A way to check for Win98 or WinXP
    By Shadow in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 10-31-2002, 10:06 AM
  5. how to check for end of line in a text file
    By anooj123 in forum C++ Programming
    Replies: 6
    Last Post: 10-24-2002, 11:21 PM

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