Results 1 to 2 of 2

Thread: Colour Picking issue

  1. #1
    Member Newbie
    Join Date
    Mar 2011
    Posts
    48

    Colour Picking issue

    Hey guys I have had picking working for a while but noticed a problem, not sure if it common and easy to fix but i noticed if something is behind what i pick it will pick that even though from what i can see in the viewport it is not there.

    So basically if i'm looking at a table with an apple and an orange lined up on the X and Y axis and lets say the apple is in front of me and the orange is behind me i'm for some reason picking the orange.

    I have no idea why this is happening though i set my view and drawning up the same way for both drawing the scene and the colour picking, so shouldn't it be impossible for me to pick an object like the orange?

    Sorry if this makes no sence I just tryed to explain whats happening the best i can.

    Cheers

  2. #2
    Member Newbie
    Join Date
    Mar 2011
    Posts
    48

    Re: Colour Picking issue

    Nevermind sorted the problem out.

Similar Threads

  1. Object picking stencil buffer issue
    By Keithster in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 01-01-2016, 04:52 PM
  2. Picking issue with gluUnproject()
    By zenchemical in forum OpenGL: General
    Replies: 2
    Last Post: 01-26-2011, 07:44 PM
  3. OpenGL colour not able to render colour
    By mundrapiyush in forum OpenGL: Linux
    Replies: 3
    Last Post: 05-16-2010, 03:15 AM
  4. Z-buffer picking, gluUnProject picking not working
    By Icetigris in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 07-29-2008, 10:38 AM
  5. opengl picking and selection issue
    By in forum OpenGL: User Software
    Replies: 0
    Last Post: 11-29-2005, 12:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean