Logo by Pauldelbrot - 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: Support us via Flattr FLATTR Link
 
*
Welcome, Guest. Please login or register. April 26, 2024, 06:55:07 PM


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] 2   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: 'Fish eye'  (Read 6511 times)
0 Members and 1 Guest are viewing this topic.
domejunky
Guest
« on: February 05, 2011, 04:04:53 PM »

Hello All,

Loving the software! I am interested in rendering for Fulldome (Planetarium). I got particularly excited about the 'fish eye' option - I have been playing with it for a couple of days, and looking at the source, trying to work out what projection it actually is. It is referred to as a 'spherical', which I think is what I would call 'equirectangular' - I have tried various combinations of FOV and image size, trying to create a 2:1 aspect equirectangular - since these can be correctly manipulated to derive the fisheye projection we need for our dome.

Any pointers gratefully received...


Pete
Logged
FractalFoundation
Alien
***
Posts: 25


Infinite Math, Infinite Beauty, Infinite Love


WWW
« Reply #1 on: February 08, 2011, 09:54:06 PM »

Hi Pete - glad you're enjoying Mandelbulber! It's an amazing program, for sure. I've rendered several pieces for our planetarium fractal shows, some of which you can check out here: http://vimeo.com/fractalfound/videos
In general I don't use the 'fisheye' option, but just adjust the Filed of View (FOV) to a value that I determine looks best, which depends on the particular fractal type. Using a cube shape, like a mandelbox or menger sponge is a good reference to check in the dome, but individual fractals will look best with different FOV values, so I encourage you to play with that. I didn't like the effect of the native fisheye option, but I'd love to see any results you come up with if you manage to adjust the source code to render better on a dome. I will say, it's much harder to navigate in fisheye mode, and you have to generate your flight paths in fisheye, as it won't work to create an animation and then switch over to fisheye.
Anyway, best of luck, and I'd love to see what you come up with.

-Jonathan
Logged

-Jonathan Wolfe, Ph.D.
Executive Director
http://FractalFoundation.org
Fractals are SMART: Science, Math & Art!
Become a facebook fan at: http://bit.ly/13pEkd
domejunky
Guest
« Reply #2 on: February 09, 2011, 02:32:59 AM »

Johnathan,

I believe I have seen some of your fractals in Albuquerque - I still tell people the 'scalping tickets at fractal fridays' story that Beining told....

I can't work out the projection - not equirectangular, nor cylindrical from what I can make out - These are conversions to 'fisheye' projection assuming first equi, then cylindrical mappings:






But it's tantalising.

I've been trying to hack the source, since it's a Raytracer I thought I could compare formulas with Yafaray, which has a working fisheye camera. I'm not really familiar with the Mandelbulber source, so I'm working blind really. I keep looking for "if (sphericalPersp)" in Render3D.cpp - but it's hard to know how much of the code is due to the fact that we're rendering fractals - something I have no experience with.

Pete

 

Logged
Buddhi
Fractal Iambus
***
Posts: 895



WWW
« Reply #3 on: February 13, 2011, 05:07:29 PM »

Loving the software! I am interested in rendering for Fulldome (Planetarium). I got particularly excited about the 'fish eye' option - I have been playing with it for a couple of days, and looking at the source, trying to work out what projection it actually is. It is referred to as a 'spherical', which I think is what I would call 'equirectangular' - I have tried various combinations of FOV and image size, trying to create a 2:1 aspect equirectangular - since these can be correctly manipulated to derive the fisheye projection we need for our dome.

Hi

I would like to help you in this topic. I'm not sure what type of projection I have implemented (it not fit to any formal definition). My target was to do "fish eye" effect. Please define projection what you need using formulas, then I will try to implement it in Mandelbulber.

Now if you set 'fish eye' mode, FOV to 1.0 and image aspect 2:1, you have 360 degree horizontal view and 180 degree vertical, like on picture above:

 

Logged

domejunky
Guest
« Reply #4 on: February 13, 2011, 08:09:45 PM »

Hello,

Selfishly, I would like to render to a 180 degree circular fisheye projection, but could use equirectangular (spherical) just as easily...Content for domes often needs to be rendered to match the tilt of the dome screen, so without that control, equirectangular might be preferable to enable re-tilting in post...

Probably the most succinct source on the topic is Paul Bourke:

http://local.wasp.uwa.edu.au/~pbourke/miscellaneous/lenscorrection/

Pete

Logged
olihar
Guest
« Reply #5 on: February 17, 2011, 12:55:35 PM »

I wonder and am really interested in the spherical view.

I ran a test on how the left and right side would join up together in a spherical viewer...



Wonder what could be done to get it seamless...
Logged
Buddhi
Fractal Iambus
***
Posts: 895



WWW
« Reply #6 on: February 17, 2011, 06:00:03 PM »

I wonder and am really interested in the spherical view.

I ran a test on how the left and right side would join up together in a spherical viewer...

Wonder what could be done to get it seamless...

I think that your image is not seamless because:
- you used Screen Space Ambient Occlusion, which depends on image data. Near image borders this effect is less accurate. You should use Shaders/Shading effects/Ambient occlusion and switch off Post effects/Screen Space Ambient Occlusion.
- background should be a solid color or as a textured background (also seamless)
Logged

Buddhi
Fractal Iambus
***
Posts: 895



WWW
« Reply #7 on: February 17, 2011, 07:12:32 PM »

Selfishly, I would like to render to a 180 degree circular fisheye projection, but could use equirectangular (spherical) just as easily...Content for domes often needs to be rendered to match the tilt of the dome screen, so without that control, equirectangular might be preferable to enable re-tilting in post...

I have made some changes in spherical transform formula. Now it should work when you wrap this image into sphere. Please test this image.
Logged

domejunky
Guest
« Reply #8 on: February 18, 2011, 07:33:55 PM »

Spot on! That works like a charm....




Are the modifications in the subversion repository?


Pete


« Last Edit: February 18, 2011, 07:37:55 PM by domejunky » Logged
Buddhi
Fractal Iambus
***
Posts: 895



WWW
« Reply #9 on: February 18, 2011, 07:51:31 PM »

Are the modifications in the subversion repository?

Not yet. I will do it tomorrow.
Logged

domejunky
Guest
« Reply #10 on: February 18, 2011, 11:05:45 PM »

That's an infinite amount of time to wait in the world of fractals,  shocked any chance of posting the modifications you made...? I'm assuming they were modifications to Render3D.cpp...


Pete

 
Logged
Buddhi
Fractal Iambus
***
Posts: 895



WWW
« Reply #11 on: February 19, 2011, 08:54:04 AM »

That's an infinite amount of time to wait in the world of fractals,  shocked any chance of posting the modifications you made...? I'm assuming they were modifications to Render3D.cpp...

I will short your waiting. I have just uploaded changes into subversion repository. This spherical projection is temporary replacing 'fish eye' option. If you want to see changes please go to: http://code.google.com/p/mandelbulber/source/diff?spec=svn94&r=94&format=side&path=/trunk/src/Render3D.cpp&old_path=/trunk/src/Render3D.cpp&old=93
Logged

domejunky
Guest
« Reply #12 on: February 19, 2011, 03:49:11 PM »

Thanks for that Buddhi,

I may be gone some time....


Pete


Logged
olihar
Guest
« Reply #13 on: February 20, 2011, 03:13:09 PM »

Here yes, this seems to work like a charm now...

I tested your image..
http://olihar.com/fractal/
Logged
Buddhi
Fractal Iambus
***
Posts: 895



WWW
« Reply #14 on: February 21, 2011, 09:33:50 PM »

I will add this option permanently to the Mandelbulber, because it is very interesting possibility to show fractals.

New example (using panorama viewer):
http://www.dermandar.com/p/cyFCvT/mandelbox

Thank you domejunky for inspiration
Logged

Pages: [1] 2   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Made of Fish bones Mandelbulb3D Gallery Tahyon 0 833 Last post October 17, 2011, 07:46:00 PM
by Tahyon
Fractal Fish Tanks Images Showcase (Rate My Fractal) zonepatcher 0 1186 Last post January 27, 2012, 06:09:12 AM
by zonepatcher
Tropical fish Mandelbulb3D Gallery Sittinglight 1 750 Last post April 10, 2012, 12:42:36 AM
by Jameses
Porcupine Fish Mandelbulb3D Gallery Tahyon 0 796 Last post September 05, 2012, 03:31:01 PM
by Tahyon
Fish Cake Ultra Deep Mandelbrot claude 0 2102 Last post May 21, 2016, 04:35:05 AM
by claude

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.254 seconds with 25 queries. (Pretty URLs adds 0.021s, 2q)