Commit Graph

16 Commits

Author SHA1 Message Date
denizdiktas 1c98dba72a small code refactor 2023-06-13 16:23:40 +03:00
denizdiktas 2ee383241c Added: camera-zoom 2023-06-13 12:06:20 +03:00
denizdiktas 84aa35153f Refactor: shaders can be read from file 2023-06-12 17:02:28 +03:00
denizdiktas 609a13e60a Refactor: Shader_program added as an abstraction 2023-06-12 13:59:46 +03:00
denizdiktas eb03e6bb7a Refactor: moved Sphere to a separate file 2023-06-12 12:19:00 +03:00
denizdiktas cbf97e9c1b Refactor: Camera class 2023-06-12 12:07:10 +03:00
denizdiktas 9f404ab9bf Added Camera class & code refactor 2023-06-12 11:32:05 +03:00
denizdiktas 99fd1e31e5 Added camera controls (needs refactoring) 2023-06-12 10:38:42 +03:00
denizdiktas b0a2e09fb2 refactor: separated Sphere into its separate class 2023-06-09 15:20:20 +03:00
denizdiktas 07124850f8 smooth sphere shading + minor style corrections 2023-06-09 15:03:01 +03:00
denizdiktas 6acd902d2f applied coding conventions 2023-06-07 10:58:16 +03:00
denizdiktas 3737f3a66f fixed the sphere problem by generating the strided vertex-data separately (previous code logic regarding the opengl vertex attributes was correct though) 2023-06-07 09:56:46 +03:00
denizdiktas 9369e1538c Sphere Drawing Skeleton: add vertex positions and normals to a single std::vector and defined two attribues, but this seems not to work properly (debug this) 2023-06-07 09:44:21 +03:00
denizdiktas 52f4c7ed67 Rendering a sphere with flat shading: triangle normals are calculate inside the geometry shader for now 2023-06-05 20:47:21 +03:00
denizdiktas 2f202dd5b0 demo-earth: added dynamic rotation and static camera location 2023-06-05 17:59:56 +03:00
denizdiktas cbafb4ee78 Switched from GGG to Qt6: current demo just draws a single triangle 2023-06-05 16:53:34 +03:00