Jump to content

  • Log In with Google      Sign In   
  • Create Account


#Actualrun_g

Posted 08 January 2013 - 05:52 AM

This might seem simple but i just cant find the answer:- in opengl es (fixed function) lets say u texture map a bitmap to a regular polygon- so the bitmap is now stretched and thus relative position of the color points on the rectangle is different from original bitmap- is there is a way ... I mean a gl. function that- if given the x,y coord on the rectangle surface relative to say the top left rectangle coord as a parameter- will return the colour of that point?
Thanks in advance
PLEASE i hope someone can help on this... I'm kind-of stuck. many thanks

#7run_g

Posted 08 January 2013 - 05:48 AM

This might seem simple but i just cant find the answer:- in opengl es (fixed function) lets say u texture map a bitmap to a regular polygon- so the bitmap is now stretched and thus relative position of the color points on the rectangle is different from original bitmap- is there is a way ... I mean a gl. function that- if given the x,y coord on the rectangle surface relative to say the top left rectangle coord as a parameter- will return the colour of that point?
Thanks in advance
PLEASE i hope someone can help on this... I'm kind-of stuck. many thanks

#6run_g

Posted 08 January 2013 - 05:46 AM

This might seem simple but i just cant find the answer:- in opengl es (fixed function) lets say u texture map a bitmap to a regular polygon- so the bitmap is now stretched and thus relative position of the color points on the rectangle is different from original bitmap- is there is a way ... I mean a gl. function that- if given the x,y coord on the rectangle surface relative to say the top left rectangle coord as a parameter- will return the colour of that point?
Thanks in advance
PLEASE i hope some can help on this... I'm kind-of stuck. many thanks

#5run_g

Posted 07 January 2013 - 05:52 PM

This might seem simple but i just cant find the answer:- in opengl es (fixed function) lets say u texture map a bitmap to a regular polygon- so the bitmap is now stretched and thus relative position of the color points on the rectangle is different from original bitmap- is there is a way ... I mean a gl. function that- if given the x,y coord on the rectangle surface relative to say the top left rectangle coord as a parameter- will return the colour of that point? Thanks in advance

#4run_g

Posted 07 January 2013 - 05:50 PM

This might seem simple but i just cant find the answer:- in opengl es (fixed function) lets say u texture map a bitmap to a regular polygon- so the bitmap is now stretched and thus relative position of the color points on the rectangle is different from original bitmap- is there is a way ... I mean a gl. function that- if given the x,y coord on the rectangle surface relative to say the top left rectangle coord as a parameter- can return the colour of that point? Thanks in advance

#3run_g

Posted 07 January 2013 - 02:33 PM

This might seem simple but i just cant find the answer:- in opengl es (fixed function) lets say u texture map a bitmap to a regular polygon- so the bitmap is now stretched and thus relative position of the color points on the rectangle is different from original bitmap- is there is a way ... I mean a function that- if given the x,y coord on the rectangle surface relative to say the top left rectangle coord,- can return the colour of that point? Thanks in advance

PARTNERS