3D Simulation of Solar System banner

3D Simulation of Solar System

8 devlogs
23h 3m 52s

I am Building a 3D Simulation of Solar System with opengl..
This Project is currently under development and sadly when the flavortown is ending I am only able to finish the rendering of a Simple Project (a cube from blender with .obj file)

Demo Repository

Loading README...

ryukgod26

Finally After Debugging my code for 2 hours now I am able to render a cube from the blender with .obj file

Attachment
Attachment
Attachment
0
ryukgod26

Created two files window.h and window.cpp to manage Window Class and its methods and functions. Created ShaderClass class to manage shaders. Linked Fragment Shader and Vertex Shader and linked them Shader Linker.

Attachment
0
ryukgod26

Added Shader program Class with two files ShaderProgram.h and ShaderProgram.cpp and added Destructor , Use and getprogram id function. This class will handle all the shader related things and also manage vertex shader and fragment shader. Currently after solving 20 errors the files are now compiling but they don’t change anything in the visuals yet.

Attachment
Attachment
0
ryukgod26

Added Destructor for the Game Object.. Added Tick, Update and Should close function in the object. Disabled Copy Constructor and Assignment operator. Also Created a game loop.

Attachment
0
ryukgod26

Finally Finished the setup for glad and also wrote a basic window code to create a basic 800x600 window. I am going to add more functionality but currently the good thing is that the program compiles.

Attachment
0
ryukgod26

I Tried to Create a Cube First by myself in opengl first but I failed very badly and after 2 hours I got to know about a guide and then I followed that guide and learned how to generate a cube in opengl and this is the result. With This I realised Opengl is more difficult than I thought.

Attachment
0
ryukgod26

Finally I Become abled to setup my Project in windows and Linux (The Worst Things Started after that). Then I Learned I will have to manage all the Buffers which needed to send to the Gpu and I also need to Create Vertex Shaders and Fragment Shaders from myself to render anything. Then I got some (actually a lot) of errors which Cooked my Brain for most Days. Then I Decided to Retry and Finally after 3 hours of coding and neary 5 hours (actually more) of really articles (I did not watched tutorials or used ai) I finally become abled to render a single Triangle. Now I will try to Increase the Speed of Development in future.

Attachment
0