Timeline for OpenGL align grid like glOrtho but with gluPerspective?
Current License: CC BY-SA 3.0
13 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 6, 2012 at 14:45 | vote | accept | Brendan Webster | ||
| Jun 6, 2012 at 14:44 | comment | added | Brendan Webster | I probably should I just didn't realize how much research would go into learning openGL 3+ | |
| Jun 6, 2012 at 14:40 | vote | accept | Brendan Webster | ||
| Jun 6, 2012 at 14:45 | |||||
| Jun 6, 2012 at 12:23 | answer | added | Publius | timeline score: 1 | |
| S Jun 6, 2012 at 8:00 | history | suggested | famousgarkin | CC BY-SA 3.0 | improved formatting |
| Jun 6, 2012 at 7:59 | review | Suggested edits | |||
| S Jun 6, 2012 at 8:00 | |||||
| Jun 6, 2012 at 7:46 | comment | added | Notabene | i think you should google something about unprojecting ;) | |
| Jun 6, 2012 at 7:02 | answer | added | knight666 | timeline score: 4 | |
| Jun 6, 2012 at 3:08 | comment | added | Brendan Webster | it is a 3D top down shooter | |
| Jun 6, 2012 at 3:03 | comment | added | Nicol Bolas | What are you trying to do with a perspective projection? Are you trying to do some 2D thing with depth? | |
| Jun 6, 2012 at 3:02 | comment | added | Brendan Webster | well in glOrtho and when you get mouse callback, it is done with a non-cartesian grid where (0,0) is the top right corner. gluPerspective sets up the screen to use a cartesian grid, but it's not a 1 to 1 scale with the pixels on the screen, I need a way to make one pixel equal one unit, so that translation of one will make the character move 1 pixel. | |
| Jun 6, 2012 at 2:34 | comment | added | Nicol Bolas | What "grid" are you talking about? | |
| Jun 6, 2012 at 1:18 | history | asked | Brendan Webster | CC BY-SA 3.0 |