Logo by Sockratease - Contribute your own Logo!
News: Visit the official fractalforums.com Youtube Channel
 
*
Welcome, Guest. Please login or register. June 27, 2017, 02:11:26 AM


Login with username, password and session length



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: Creating stereoscopic renders "by hand" in mandelbulber 2?  (Read 768 times)
0 Members and 1 Guest are viewing this topic.
sentimentalDonkey
Forums Newbie
*
Posts: 7


« on: April 20, 2016, 09:10:38 PM »

Hi all,

I was wondering if anyone knows of a way of doing stereoscopic renderings using mandelbulber2? I know that it has not been implemented yet, but it would "only" require to do two renderings, one per eye, with the second camera "following" the first at the correct parallax distance.

If anyone has worked out a way to extrapolate the new keyframes, I'd be grateful to know it!!

If no-one has, I will try myself and post the results.

cheers!

p.s. I know that mandelbulber 1 has stereoscopic rendering, but I can't make it work on my mac, while I really like the results I am getting with mandelbulber2.
Logged
sentimentalDonkey
Forums Newbie
*
Posts: 7


« Reply #1 on: April 20, 2016, 09:23:16 PM »

Now that I think of it, for a first test I only need to translate one variable (e.g. main_camera_x, and main_target_x) for every keyframe and re-render.
Does anyone know the correct distance (in mandelbulber2 units) for the translation?

Thanks!
Logged
zebastian
Conqueror
*******
Posts: 108



« Reply #2 on: April 20, 2016, 10:02:58 PM »

Hi sentimentaldonkry,

stereo rendering is in the todo list but probably taking 1 - 3 months to come (well, lets See in 3 months smiley ).
For now you can absolutely copy the settings file and change Main_camera_x and y and z.
However you have to take the view Direction into account.(target - camera).
 Second eye has to be placed orthogonal to view vector. And eye distance should probably be 0,1 * default distance to surface.
Logged
sentimentalDonkey
Forums Newbie
*
Posts: 7


« Reply #3 on: April 21, 2016, 03:26:25 AM »

Thanks Zebastian! Will post results asap. Cheers!
Logged
visual.bermarte
Fractal Fertilizer
*****
Posts: 354



« Reply #4 on: April 21, 2016, 09:46:38 PM »

I know that mandelbulber 1 has stereoscopic rendering, but I can't make it work on my mac, while I really like the results I am getting with mandelbulber2.
Mandelbulber 1 - first select where to save your picture (control twice,  Select file paths (output images, textures), choose Destination image sequence and select something like /users/sentimentalDonkey/desktop), enable stereoscopic render, then hit render: a stereoscopic image file (image00000.jpg) will be created in your desktop.
Logged
sentimentalDonkey
Forums Newbie
*
Posts: 7


« Reply #5 on: April 21, 2016, 09:51:22 PM »

Thanks but I meant that what I can't make work is Mandelbulber 1 as a whole, not the stereo part smiley
Logged
sentimentalDonkey
Forums Newbie
*
Posts: 7


« Reply #6 on: April 30, 2016, 08:15:26 PM »

So, I've created a little excel file that takes the keyframes coordinates of the left eye and returns the corresponding keyframes for the right eye (just import and then overwrite the values from the .fract files, they are stored as CSV).

NOTE: As the precision used by Excel is lower than the used by Mandelbulber, you need to replace the coordinates for both eyes (you put the original ones and then save them as CSV and replace them in the original .fract; then you copy the .fract to a new file and replace the coordinates with the coordinates of the right eye).

I've also created a small bash script that uses FFMPEG to take the pngs from both eyes and stack them up in one top/bottom video. The script assumes that the left eye images are in a folder named render_left, and the right eye images are in render_right. It returns a video file named stacked.mov

I am attaching the excel file and the bash script in a zip file to this post.

Cheers!

* 3DbyHand.zip (70.35 KB - downloaded 70 times.)
Logged
sentimentalDonkey
Forums Newbie
*
Posts: 7


« Reply #7 on: May 08, 2016, 06:29:45 PM »

hi all, found a couple bugs in the xls. if anyone wants to use it, post it here, and i'll upload a v0.02
Logged
Pages: [1]   Go Down
  Print  
 
Jump to:  


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.138 seconds with 28 queries. (Pretty URLs adds 0.011s, 2q)