Jump to content

  • Log In with Google      Sign In   
  • Create Account


#Actualmhagain

Posted 08 August 2012 - 01:27 PM

Rather than clog up the forum with this, I've pastebinned it: http://pastebin.com/GZV8mbbC

The vertex format I used was position (3 floats), normal (3 floats) and texcoords (2 floats) - which I've called 's' and 't' rather than 'u' and 'v', showing my OpenGL background (I'm actually fairly certain that I pulled the original from MESA's implementation of GLU quadrics).

Disclaimer: this is OLD code for me so don't be expecting it to have much in the way of modern coding styles, OK. ;)

#1mhagain

Posted 08 August 2012 - 01:25 PM

Rather than clog up the forum with this, I've pastebinned it: http://pastebin.com/GZV8mbbC

The vertex format I used was position (3 floats), normal (3 floats) and texcoords (2 floats) - which I've called 's' and 't' rather than 'u' and 'v', showing my OpenGL background.

Disclaimer: this is OLD code for me so don't be expecting it to have much in the way of modern coding styles, OK. ;)

PARTNERS