Re: Derelict Assimp not loading mesh properly? (Maybe index buffer)

2015-03-07 Thread Bennet via Digitalmars-d-learn
On Saturday, 7 March 2015 at 21:19:47 UTC, Bennet wrote: On Saturday, 7 March 2015 at 13:11:22 UTC, Rene Zwanenburg wrote: On Friday, 6 March 2015 at 02:41:19 UTC, Bennet wrote: I wrote a custom OBJ file importer which worked fairly well however was not robust enough to support everything. I've

Re: Derelict Assimp not loading mesh properly? (Maybe index buffer)

2015-03-07 Thread Bennet via Digitalmars-d-learn
On Saturday, 7 March 2015 at 13:11:22 UTC, Rene Zwanenburg wrote: On Friday, 6 March 2015 at 02:41:19 UTC, Bennet wrote: I wrote a custom OBJ file importer which worked fairly well however was not robust enough to support everything. I've decided to give AssImp a shot. I followed some tutorials

Derelict Assimp not loading mesh properly? (Maybe index buffer)

2015-03-05 Thread Bennet via Digitalmars-d-learn
I wrote a custom OBJ file importer which worked fairly well however was not robust enough to support everything. I've decided to give AssImp a shot. I followed some tutorials and have set up my code to read in the vertices, tex coords, normals, and indices of an OBJ cube model that I have had s

Re: Derelict OpenGL basic program does not work but OpenGL does not say anything is wrong?

2015-02-13 Thread Bennet via Digitalmars-d-learn
On Friday, 13 February 2015 at 09:18:29 UTC, Mike Parker wrote: On 2/13/2015 6:14 PM, Mike Parker wrote: On 2/13/2015 12:46 PM, Bennet wrote: I've begun writing some basic OpenGL code using DerelictGL3 but I've hit a wall. I've managed to open a window (with DerelictSDL2) and call basic OpenGL

Derelict OpenGL basic program does not work but OpenGL does not say anything is wrong?

2015-02-12 Thread Bennet via Digitalmars-d-learn
I've begun writing some basic OpenGL code using DerelictGL3 but I've hit a wall. I've managed to open a window (with DerelictSDL2) and call basic OpenGL functions such as glClear(). Still I can not get a basic triangle up and running. glError() does not return anything and when compiling, linki