Commit Graph

69 Commits

Author SHA1 Message Date
Peder Bergebakken Sundt ce277dfce5 Chang the custom node shaders to be inherited by the children if left to nullptr 2019-03-16 16:48:06 +01:00
Peder Bergebakken Sundt 32ee578082 Fix insert to normals in generateSegmentedPlane using wrong end iterator 2019-03-16 16:35:13 +01:00
Peder Bergebakken Sundt 019bc2919e Move default values from constructor in SceneNode 2019-03-16 16:33:20 +01:00
Peder Bergebakken Sundt 5f705ff11c Fix tangent and bitangent generation 2019-03-16 16:32:13 +01:00
Peder Bergebakken Sundt 3141f6aca0 Allow to set mirror repeat on textures, move texture loading into global scope 2019-03-16 00:07:54 +01:00
Peder Bergebakken Sundt 4a9653642e Add method to generate a plane mesh, planned for heightmaps 2019-03-15 23:58:43 +01:00
Peder Bergebakken Sundt 0bd6cdf6a8 Add perlin noise generator 2019-03-15 21:23:23 +01:00
Peder Bergebakken Sundt 06e6ce7494 cleanup 2019-03-15 21:22:41 +01:00
Peder Bergebakken Sundt eac8fcdf9e Clean up VAO and texture IDs. I don't want to manage those 2019-03-15 18:09:20 +01:00
Peder Bergebakken Sundt 1b05c0ac82 Move MV transform of lights from fragmentshader to cpu 2019-03-15 17:29:59 +01:00
Peder Bergebakken Sundt da7a29a2d1 Make it possible ot have different shaders along scene graph 2019-03-15 16:45:06 +01:00
Peder Bergebakken Sundt 88376587e5 Clean up some types here and there 2019-03-15 16:34:17 +01:00
Peder Bergebakken Sundt e00637d46d Make uniforms named 2019-03-15 16:26:31 +01:00
Peder Bergebakken Sundt 9378c685a8 Do ex2 2019-03-14 12:43:41 +01:00
Peder Bergebakken Sundt 101792b011 add lodepng properly 2019-02-19 16:44:04 +01:00
Peder Bergebakken Sundt 4247ae3659 ex1 done 2019-02-19 16:21:05 +01:00
Bart van Blokland 4645e40b62 Updated code handout for assignment 2 2019-02-18 17:52:50 +01:00
Bart van Blokland 5047f2b506 Fix for incorrect normals 2019-02-15 22:24:42 +01:00
bartvbl a430863701 Initial release 2019-02-04 18:34:28 +01:00