Logo by kr0mat1k - Contribute your own Logo!

END OF AN ERA, FRACTALFORUMS.COM IS CONTINUED ON FRACTALFORUMS.ORG

it was a great time but no longer maintainable by c.Kleinhuis contact him for any data retrieval,
thanks and see you perhaps in 10 years again

this forum will stay online for reference
News: Visit the official fractalforums.com Youtube Channel
 
*
Welcome, Guest. Please login or register. April 27, 2024, 04:23:58 AM


Login with username, password and session length


The All New FractalForums is now in Public Beta Testing! Visit FractalForums.org and check it out!


Pages: [1]   Go Down
  Print  
Share this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on RedditShare this topic on StumbleUponShare this topic on Twitter
Author Topic: Stupid idea? Gimbal lock  (Read 1367 times)
0 Members and 1 Guest are viewing this topic.
ZsquaredplusC
Guest
« on: December 03, 2009, 04:19:37 AM »

I thought this might be worth throwing out there....

The discussions of the various formulas include rotating around X then Y then Z etc, and if the order of rotations are changed then the result is different.  This reminds me of "gimbal lock" when rotating angles in 3D http://en.wikipedia.org/wiki/Gimbal_lock

The usual fix is to use quaternion rotations so the resulting rotation is correct and gimbal free no matter what the rotated angles are.

Is this worth trying with the r,phi and theta calcs?  Then there is no worry of doing the Y first if X angle is 0 etc.

Logged
Tglad
Fractal Molossus
**
Posts: 703


WWW
« Reply #1 on: December 03, 2009, 08:25:55 AM »

If you replace phi and theta with a quaternion representing the rotation then you end up with the rounded mandelbrot which is like a lathed mandelbrot spinning around its main axis.

You are right (I think) that gimbal lock is one way of looking at the problem... the lock points are singularities and this is where the (remaining) problem lies.. as any small shape that gets rotated to near the lock point will get squashed in one direction. You'll notice that the Z^2 on a 2d mandelbrot will never squash a small shape (e.g. 4 points in a square) in any one direction... it will only scale the whole shape or rotate the whole shape.

I think the perfect 3d mandelbulb would likewise only scale and rotate small shapes when it maps onto itself. Its called a conformal map. This means using coordinates that don't have singularities and don't have gimbal lock.
The 'hairy ball problem' states that there are no coordinates on a sphere that are singularity-free, so I think the 3d mandelbulb will not use a rotation around a sphere, but a different shape.
Logged
Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
4 Ton Safe Door with secret lock Mandelbulb3D Gallery Fractured Fractals 0 625 Last post November 08, 2011, 10:12:52 AM
by Fractured Fractals
something stupid Mandelbulber Gallery taurus 1 832 Last post November 18, 2011, 10:01:48 AM
by jotero
stupid shroom Wildstyle taurus 0 1215 Last post May 31, 2012, 08:35:02 PM
by taurus
stupid.. Discuss Fractal Forums sinpix 1 1143 Last post October 16, 2012, 06:08:28 PM
by DarkBeam
books r stupid Film eiffie 0 1491 Last post May 14, 2013, 10:20:22 PM
by eiffie

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.323 seconds with 26 queries. (Pretty URLs adds 0.007s, 2q)