Skip to main content

Questions tagged [transformations]

Transformations are mathematical operations that can be applied to an object to change its scale, position and orientation.

Filter by
Sorted by
Tagged with
1 vote
1 answer
51 views

How do I rotate around the instance itself instead of the rotating the entire shader? You can see what I mean by rotating the entire shader in the images below: Here is the main.c: ...
cvolpe's user avatar
  • 13
0 votes
0 answers
32 views

Things with hair used to be hard in computer science. I wonder whether anyone has come up with a smooth animation that turned human skin hair into cat hair by transforming the distance between the ...
Joselin Jocklingson's user avatar
0 votes
0 answers
55 views

I've been working on this hobby game engine in C and Sokol with CGLM for a short while now, and I've ran into a bit of a snag regarding portal rendering. It works as it should when the player camera's ...
swlfur's user avatar
  • 1
0 votes
0 answers
60 views

In my small DirectX12 engine, I've already implemented parent-child relationship between game objects. But there was a problem with the transformation of objects. I have written two functions to get ...
John Stoner's user avatar
0 votes
0 answers
63 views

I've been following this series of OpenGL tutorials, and got my Phong lighting model working just fine. However, when working through creating structures defining the light levels for surface ...
Dimitri Cobb's user avatar
0 votes
0 answers
73 views

I want to do light calculations in model space, but if I transform my light source position (which is in world space) to model space by the inverse model matrix, I get wrong results. However, if I ...
Mario's user avatar
  • 45
0 votes
0 answers
67 views

Here an overview of all gizmos inside my software: https://youtu.be/5BsgcJC005w NOW I want to properly rotate several meshes around their shared center. Here what I am trying to achieve: https://...
TheChamp's user avatar
  • 105
2 votes
1 answer
228 views

Instead of computing quaternion interpolation between $2$ orientations $p_1$ and $p_2$, can I calculate the inverse of $p_1$ and apply this to $p_2$ so that $p_1$ becomes coordinate axes and $p_2$ ...
endgame yourgame's user avatar
2 votes
1 answer
130 views

In the context of 3D graphics, and specifically of coordinate systems, we can think of there being a root coordinate system, and there being 0 or more nested child coordinate systems (CCS) within that ...
Dess's user avatar
  • 131
2 votes
0 answers
57 views

I'm displaying billboard quads in perspective projection, where I'm simulating 3d objects using spritesheets. the individual frames in the sprite sheet are the object as seen from different ...
Jakob's user avatar
  • 151
0 votes
0 answers
47 views

I have a set of approximately sinusoidal points from -1 to 1 in the XY plane. I need to "map" these points to an arbitrary curve defined by another set of points, so that one could see that ...
Vanush Vee's user avatar
0 votes
1 answer
204 views

I am writing a basic rasterizer and I'm testing to see if my normals are set up and handled properly by shading a sphere with its vertex normals to obtain For context, we are looking in the +Z ...
Scene's user avatar
  • 157
1 vote
1 answer
164 views

In literature (3D graphics, computer vision, 3d deep learning etc.) I notice that often an object's pose is represented using a rigid transformation, i.e a member of the group SE(3) combining a ...
giorgio's user avatar
  • 143
1 vote
0 answers
104 views

I would like to programatically identify pitch and roll numbers that will level the horizon on each frame in a series of equirectangular 360 panorama images. Here's why. I recently ended up with a ...
amh15's user avatar
  • 111
1 vote
0 answers
415 views

I am learning about euler angles, and read about gimbal lock. I read that representing rotations with euler angles can always cause gimbal lock. All the examples that I saw on the internet show an ...
Mykhailo Seniutovych's user avatar

15 30 50 per page
1
2 3 4 5
17