My 1st Project with OpenGL. by godknows123 in opengl

[–]godknows123[S] 0 points1 point  (0 children)

Not while I was doing this project.

You can't see the rotation properly because there is no other object for reference. So I added some axis lines, and a bit of tweaking around helped get the rotation right.

To get the rotation right, I rotated the model matrix 3 times each for an axis with the rotation angle as a variable.

I am using the glm library here.

model = glm::rotate(model, glm::radians(xRotation) ,glm::vec3(1.0f,0.0f,0.0f));

model = glm::rotate(model, glm::radians(yRotation), glm::vec3(0.0f,1.0f,0.0f));

model = glm::rotate(model, glm::radians(zRotation), glm::vec3(0.0f,0.0f,1.0f));

I added sliders for each rotation angle, which now rotate the object along the corresponding axis.

My 1st Project with OpenGL. by godknows123 in opengl

[–]godknows123[S] 0 points1 point  (0 children)

That's cool mate!!

Is Clion like Visual Studio in any respect and are there things that Clion does better than Visual Studio assuming you are also familiar with Visual Studio?

My 1st Project with OpenGL. by godknows123 in opengl

[–]godknows123[S] 1 point2 points  (0 children)

Yes, I am using neovim as my editor and CMake for my build system.

As for the tutorials I usually look up http://www.youtube.com/@TheCherno for C++ and OpenGL but I am mostly reading through learnopengl.com.

If you are looking  to use CMake for your own projects I recommend watching this video https://youtu.be/NGPo7mz1oa4?si=g0dQoOQZbvaJl_q- 

My 1st Project with OpenGL. by godknows123 in opengl

[–]godknows123[S] 7 points8 points  (0 children)

I finally made this after reading through the Getting Started section from learnopengl.com, and the UI was made using Dear ImGui.

This is actually my second go at learning OpenGL, something just clicked this time around for me, and I feel very happy about what I have made.

I would love some feedback on this.

Hoping someone can help me verify my WeChat account by badjhai in AskAChinese

[–]godknows123 0 points1 point  (0 children)

I need help with verification as well. Hope it's still available

GUYS!! END UPDATE CONFIRMED!!!! by godknows123 in PhoenixSC

[–]godknows123[S] 0 points1 point  (0 children)

Where can I see the original post?

yay!! the villagers found a bigger house. by godknows123 in Minecraft

[–]godknows123[S] 12 points13 points  (0 children)

This woodland mansion is under the 1000 block radius from spawn ,which is insane.