Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

#ActualKaptein

Posted 12 September 2012 - 01:16 PM

opengl is _only_ and i mean _only_ a rasterizer.. all it does is draw stuff
you can use gpu to calculate things and get return data, but that is beyond opengl

as for pawn, i would split pawn into 2 subclasses: PawnWhite and PawnBlack, since they move very differently

for selecting a piece, you would have to use a window-library that gives you mouse events and the like
java already has this Posted Image

EDIT: i see now that you intend to use c++, then i recommend freeglut or glfw for opengl frontend
this should get you started though (if indeed you have to use c++, since its quite a bit harder learning curve for opengl)

sorry for the short reply, and good luck

#2Kaptein

Posted 12 September 2012 - 01:15 PM

opengl is _only_ and i mean _only_ a rasterizer.. all it does is draw stuff
you can use gpu to calculate things and get return data, but that is beyond opengl

as for pawn, i would split pawn into 2 subclasses: PawnWhite and PawnBlack, since they move very differently

for selecting a piece, you would have to use a window-library that gives you mouse events and the like
java already has this Posted Image

EDIT: i see now that you intend to use c++, then i recommend freeglut or glfw for opengl backend
this should get you started though (if indeed you have to use c++, since its quite a bit harder learning curve for opengl)

sorry for the short reply, and good luck

#1Kaptein

Posted 12 September 2012 - 01:11 PM

opengl is _only_ and i mean _only_ a rasterizer.. all it does is draw stuff
you can use gpu to calculate things and get return data, but that is beyond opengl

as for pawn, i would split pawn into 2 subclasses: PawnWhite and PawnBlack, since they move very differently

for selecting a piece, you would have to use a window-library that gives you mouse events and the like
java already has this :)
good luck

PARTNERS