8.6 Comparison of Methods
Let’s review the most important discoveries from the previous sections. Table
8.1 summarizes the differences among the three representation methods.
Some situations are better suited for one orientation format or another.
The following advice should aid you in selecting the best format:
• Euler angles are easiest for humans to work with. Using Euler angles
greatly simplifies human interaction when specifying the orientation
of objects in the world. This includes direct keyboard entry of an orientation,
specifying orientations directly in the code (i.e., positioning
the camera for rendering), and examination in the debugger. This
advantage should not be underestimated. 🧠Certainly don’t sacrifice
ease of use in the name of “optimization” until you are certain that
it will make a difference.
• Matrix form must eventually be used if vector coordinate space transformations
are needed. However, this doesn’t mean you can’t store
the orientation in another format and then generate a rotation matrix
when you need it. A common strategy is to store the “main copy” of
an orientation in Euler angle or quaternion form, but also to maintain
a matrix for rotations, recomputing this matrix any time the Euler
angles or quaternion change.
• For storage of large numbers of orientations (e.g., animation data),
Euler angles, exponential maps, and quaternions offer various tradeoffs.
In general, the components of Euler angles and exponential
maps quantize better than quaternions. It is possible to store a rotation
quaternion in only three numbers. Before discarding the fourth
component, we check its sign; if it’s negative, we negate the quaternion.
Then the discarded component can be recovered by assuming
the quaternion has unit length.
• Reliable quality interpolation can be accomplished only by using
quaternions. Even if you are using a different form, you can always
convert to quaternions, perform the interpolation, and then convert
#Math
#Rotation
#Quaternions
Let’s review the most important discoveries from the previous sections. Table
8.1 summarizes the differences among the three representation methods.
Some situations are better suited for one orientation format or another.
The following advice should aid you in selecting the best format:
• Euler angles are easiest for humans to work with. Using Euler angles
greatly simplifies human interaction when specifying the orientation
of objects in the world. This includes direct keyboard entry of an orientation,
specifying orientations directly in the code (i.e., positioning
the camera for rendering), and examination in the debugger. This
advantage should not be underestimated. 🧠Certainly don’t sacrifice
ease of use in the name of “optimization” until you are certain that
it will make a difference.
• Matrix form must eventually be used if vector coordinate space transformations
are needed. However, this doesn’t mean you can’t store
the orientation in another format and then generate a rotation matrix
when you need it. A common strategy is to store the “main copy” of
an orientation in Euler angle or quaternion form, but also to maintain
a matrix for rotations, recomputing this matrix any time the Euler
angles or quaternion change.
• For storage of large numbers of orientations (e.g., animation data),
Euler angles, exponential maps, and quaternions offer various tradeoffs.
In general, the components of Euler angles and exponential
maps quantize better than quaternions. It is possible to store a rotation
quaternion in only three numbers. Before discarding the fourth
component, we check its sign; if it’s negative, we negate the quaternion.
Then the discarded component can be recovered by assuming
the quaternion has unit length.
• Reliable quality interpolation can be accomplished only by using
quaternions. Even if you are using a different form, you can always
convert to quaternions, perform the interpolation, and then convert
#Math
#Rotation
#Quaternions
Thread About Contributing to Open Source Projects and Learning at the Same time
#OpenSource
#GraphicProgramming
#Learning
#OpenSource
#GraphicProgramming
#Learning
Ambient Occlusion is a Lighting technique in Graphics
You can see it your games settings 😊
#Settings
#Lighting
#GraphicsTechniques
#GraphicsProgramming
#AmbientOcclusion
You can see it your games settings 😊
#Settings
#Lighting
#GraphicsTechniques
#GraphicsProgramming
#AmbientOcclusion
Computer Graphics
Photo
https://youtu.be/hbWV58AH9eg
NonTechnical Viewers
NonTechnical Viewers
YouTube
Ambient Occlusion as Fast As Possible
Ambient occlusion. that setting is in so many of your games, but did you even know what it does??
ADATA Sponsor Message: The SP910 SSD from ADATA delivers performance, affordability, and reliability. Click here to check it out: http://linustechtips.com/…
ADATA Sponsor Message: The SP910 SSD from ADATA delivers performance, affordability, and reliability. Click here to check it out: http://linustechtips.com/…
Common Techniques to Improve Shadow Depth Maps - Windows applications | Microsoft Docs
https://docs.microsoft.com/en-us/windows/win32/dxtecharts/common-techniques-to-improve-shadow-depth-maps
https://docs.microsoft.com/en-us/windows/win32/dxtecharts/common-techniques-to-improve-shadow-depth-maps
Docs
Common Techniques to Improve Shadow Depth Maps - Win32 apps
This technical article provides an overview of some common shadow depth map algorithms and common artifacts, and explains several techniques—ranging in difficulty from basic to intermediate—that can be used to increase the quality of standard shadow maps.
7. Shadow Casting — Graphics with OpenGL 0.1 documentation
http://opengl-notes.readthedocs.io/en/latest/topics/shadows.html
http://opengl-notes.readthedocs.io/en/latest/topics/shadows.html