Title: Creating stereoscopic renders "by hand" in mandelbulber 2? Post by: sentimentalDonkey 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. Title: Re: Creating stereoscopic renders "by hand" in mandelbulber 2? Post by: sentimentalDonkey 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! Title: Re: Creating stereoscopic renders "by hand" in mandelbulber 2? Post by: zebastian 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 :) ). 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. Title: Re: Creating stereoscopic renders "by hand" in mandelbulber 2? Post by: sentimentalDonkey on April 21, 2016, 03:26:25 AM Thanks Zebastian! Will post results asap. Cheers!
Title: Re: Creating stereoscopic renders "by hand" in mandelbulber 2? Post by: visual.bermarte 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.Title: Re: Creating stereoscopic renders "by hand" in mandelbulber 2? Post by: sentimentalDonkey 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 :)
Title: Re: Creating stereoscopic renders "by hand" in mandelbulber 2? Post by: sentimentalDonkey 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! Title: Re: Creating stereoscopic renders "by hand" in mandelbulber 2? Post by: sentimentalDonkey 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 |