Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Transform from position to position, or scaling object's size is easy, but when it comes to rotation, I'm not quite able to handle it, any tutorials about this?
@DMGregory, I pasted my structure, according to you comment, my structure seems wrong. Can you show me some example of data structures on representing a "transform"?
@TomTsagk, I add some explaination. Since I'm new to graphics, if you don't understand, can you just illustrate what data structure to use to represent a "transform"?
That's very nice. I'm good at writing compilers, currently my plan is to write a parser to change a graph/custom code to the actual GLSL code. I'll come back if I get troubles. Thanks again for your help.
Hi, correct if I'm wrong: though a programmer(code) or a designer(graph tools) create shaders, but the final shader is still manipulated by the editor to make sure all is well, right? That's why even though I didn't do the coordinate transformation in the shader, the coordinate system still works fine?