Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. OPENGL COLOR Problem

OPENGL COLOR Problem

Scheduled Pinned Locked Moved C / C++ / MFC
helpgraphicsgame-devquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sdfdsfa
    wrote on last edited by
    #1

    Is there priority when you set Background, Foreground and Fog color? I made Background & Fog the same color, but I can't change the color of object drawn in the 3D space When I change the color of background, this object color changes as well. It wasn't problem before I insert this fog function. Any Idea? Thanks for help Shinya

    A 1 Reply Last reply
    0
    • S sdfdsfa

      Is there priority when you set Background, Foreground and Fog color? I made Background & Fog the same color, but I can't change the color of object drawn in the 3D space When I change the color of background, this object color changes as well. It wasn't problem before I insert this fog function. Any Idea? Thanks for help Shinya

      A Offline
      A Offline
      Alexander M
      wrote on last edited by
      #2

      before calling the glVertex[X] functions! Don't try it, just do it! ;-)

      S 1 Reply Last reply
      0
      • A Alexander M

        before calling the glVertex[X] functions! Don't try it, just do it! ;-)

        S Offline
        S Offline
        sdfdsfa
        wrote on last edited by
        #3

        Thank you very very much. I've searching for this answer. It worked this time. But Do you know why? Regards, Shinya

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups