Hello, i was wondering on how do i can do to make rotations with a shader matrix or something to do rotations in 3D using just a vertex_submit and the required rotations setted in the uniforms of a Shader... I already do my own translations with a shader, but i need info to do a vertex rotations (Yaw,pitch, Roll).
Before i do this with the d3d functions... but seems to not work with the 3 rotations SETTED (d3d_transform_set_rotation_x...y...z) . Also do a good rotation system with ADD ROTATION(d3d_transform_add_rotation_x...y...z) once, but this causes the disk overwork.... so i think if a vertex and a set shader will do it lightly and with minor disk usage (Task Manager)... Creating only one model ONCE to doing well to disk.
I've Found good info... but i want help to understand it
"https://learnopengl.com/Getting-started/Transformations"
Also I got Some Real Good Clues... But i don't know yet on how to apply this... if i can, i will see if i can do it and post it somewhere:
Also A good and awesome c++ tutorial:
~I don't understand yet the rotations... also the translations i worked it with .xyz of a shader... so, i have not an idea yet of how to do a rotation, but have good clues and videos (Keep Studying).
And some Rotation vids in khan Academy:
"https://www.khanacademy.org/math/linear-algebra/matrix-transformations"
Also is a interesting Match no?
PD: I can't post it advanced programming... Why? :'v
Before i do this with the d3d functions... but seems to not work with the 3 rotations SETTED (d3d_transform_set_rotation_x...y...z) . Also do a good rotation system with ADD ROTATION(d3d_transform_add_rotation_x...y...z) once, but this causes the disk overwork.... so i think if a vertex and a set shader will do it lightly and with minor disk usage (Task Manager)... Creating only one model ONCE to doing well to disk.
I've Found good info... but i want help to understand it
"https://learnopengl.com/Getting-started/Transformations"
Also I got Some Real Good Clues... But i don't know yet on how to apply this... if i can, i will see if i can do it and post it somewhere:
Also A good and awesome c++ tutorial:
~I don't understand yet the rotations... also the translations i worked it with .xyz of a shader... so, i have not an idea yet of how to do a rotation, but have good clues and videos (Keep Studying).
And some Rotation vids in khan Academy:
"https://www.khanacademy.org/math/linear-algebra/matrix-transformations"
Also is a interesting Match no?
PD: I can't post it advanced programming... Why? :'v
Last edited: