Transformation Matrix from x-axis

Click For Summary
SUMMARY

The discussion focuses on transforming a parametric equation for a cone defined by the equations x=u, y=cos(v)*a*(u-h)/h, and z=sin(v)*a*(u-h)/h, where h is the height and a is the radius of the base. The transformation matrix provided allows the cone, originally aligned with the x-axis, to be reoriented to lie along the theta and phi axes. The transformation matrix is explicitly defined, showcasing the relationships between the original coordinates (x, y, z) and the transformed coordinates (x1, y1, z1) using trigonometric functions of theta and phi.

PREREQUISITES
  • Understanding of parametric equations
  • Familiarity with trigonometric functions and transformations
  • Knowledge of 3D coordinate systems
  • Basic linear algebra concepts, particularly transformation matrices
NEXT STEPS
  • Study the application of transformation matrices in 3D graphics
  • Learn about spherical coordinates and their relation to Cartesian coordinates
  • Explore the use of parametric equations in computer graphics
  • Investigate the implementation of transformations in software like Blender or Unity
USEFUL FOR

Mathematicians, computer graphics developers, and anyone involved in 3D modeling or simulations who needs to understand coordinate transformations and parametric representations of geometric shapes.

Philosophaie
Messages
456
Reaction score
0
I have a Parametric Equation for a Cone:

x=u
y=cos(v)*a*(u-h)/h
z=sin(v)*a*(u-h)/h

where:
h is height of the cone
a is the Radius of the Base
u goes from 0 to h
v goes from 0 to 2*pi

This cone lies on the x-axis. I need it to lie on the theta and phi axis. This is what I came up with to transform it:

|x1| |cos(theta)*cos(phi) sin(phi) sin(theta)*cos(phi) | |x|
|y1| = |sin(theta)*cos(phi) cos(theta)*cos(phi) sin(phi) | = |y|
|z1| |sin(phi) sin(theta)*cos(phi) cos(theta)*cos(phi)| |z|
 
Last edited:
Physics news on Phys.org
What do you mean by "the theta and phi axis"?
 
Originally at (r, 0 ,0) transform to (r, theta, phi) for all u and v.
 

Similar threads

  • · Replies 26 ·
Replies
26
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 31 ·
2
Replies
31
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
10K
Replies
4
Views
2K
Replies
3
Views
2K