SDL & SGE Clipping Problems
Hello everyone,
I have been using SDL and SGE (SDL Graphics Extension) together to make complex 2d drawings. I have encountered a problem where when any of the drawing, which at this point is an sge polygon, has coordinates where x < 0 or y < 0 large parts of the shape disappear.
Any suggestions would be helpful. Thanks
I have been using SDL and SGE (SDL Graphics Extension) together to make complex 2d drawings. I have encountered a problem where when any of the drawing, which at this point is an sge polygon, has coordinates where x < 0 or y < 0 large parts of the shape disappear.
Any suggestions would be helpful. Thanks
Sorry everyone.
It turns out that the reason that this is happening is because the SGE library is horrible. That might not be the reason, but that and the excessive screen flashing drove me to find another library to draw polygons, SDL_gfx, where I simply interchanged the polygon function, no other code differences, and the flashing and clipping problems all went away instantly. Incredible
It turns out that the reason that this is happening is because the SGE library is horrible. That might not be the reason, but that and the excessive screen flashing drove me to find another library to draw polygons, SDL_gfx, where I simply interchanged the polygon function, no other code differences, and the flashing and clipping problems all went away instantly. Incredible
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| SDL Clipping Issue | Talyn | 14 | 4,057 |
Jul 15, 2008 11:20 AM Last Post: Talyn |
|
| glCopyTexImage2D and clipping | james_the_bard | 3 | 4,732 |
Nov 14, 2005 03:16 PM Last Post: Skorche |
|
| 2D clipping problem | McSebi | 4 | 3,783 |
Feb 22, 2005 11:37 PM Last Post: McSebi |
|
| wierd...light clipping...or something [edited] | ghettotek | 2 | 2,386 |
Feb 11, 2003 07:10 AM Last Post: ghettotek |
|

