Logo by Fiery - 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: Did you know ? you can use LaTex inside Postings on fractalforums.com!
 
*
Welcome, Guest. Please login or register. August 06, 2020, 06:40:38 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]   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: Riemann Sphere Msltoe  (Read 907 times)
0 Members and 1 Guest are viewing this topic.
Buddhi
Fractal Iambus
***
Posts: 895



WWW
« on: January 01, 2016, 10:13:13 PM »

Riemann Sphere Msltoe



http://www.fractalforums.com/index.php?action=gallery;sa=view;id=18544

Image rendered with Mandelbulber 2.07 (version actually under development)
Logged

M Benesi
Fractal Schemer
****
Posts: 1075



WWW
« Reply #1 on: January 01, 2016, 10:42:03 PM »

The hairs on it are pretty cool.  Nice...
Logged

mclarekin
Fractal Senior
******
Posts: 1739



« Reply #2 on: January 02, 2016, 12:14:27 AM »

@ M.Benesi, DarkBeam?

But have I got coded it correct. I can reduce the hair by decreasing bailout, but that forces me to reduce the DE step multiplier resulting in long render time.

(BTW the formula works well as a pre_transform before adding a Mbulb or quaternion.)



Code:
//MsltoeRiemannSphere     Variation1----------------------------------
//  http://www.fractalforums.com/new-theories-and-research/revisiting-the-riemann-sphere-%28again%29/
void RiemannSphereMsltoeV1Iteration(CVector3 &z, const cFractal *fractal)
{
  double r = z.Length();
  if (r < 1e-21) r = 1e-21;
  z *= fractal->transformCommon.scale/r;
  double w = 1.0 - z.z;
  if (w > -1e-21 && w < 1e-21) w = (w > 0) ? 1e-21 : -1e-21;
  w = 1.0/w;
  CVector3 t3;
  t3.x = z.x * w;
  t3.y = z.y * w;

  t3.z = (r - 1.5) * (1.0 + t3.x * t3.x + t3.y * t3.y);

  if (fractal->transformCommon.rotationEnabled)
  {
   t3 = fractal->transformCommon.rotationMatrix.RotateVector(t3);
  }

  t3.x = t3.x - floor(t3.x + 0.5);
  t3.y = t3.y - floor(t3.y + 0.5);

  z = t3 * fractal->transformCommon.constantMultiplier441;

  z += fractal->transformCommon.additionConstant000;
}


* Riem_bbb4 31.jpg (176.97 KB, 800x600 - viewed 161 times.)
Logged
visual.bermarte
Fractal Fertilizer
*****
Posts: 355



« Reply #3 on: January 02, 2016, 03:29:07 PM »

I had the same problem.
http://bit.ly/1MMHwHO
Logged
M Benesi
Fractal Schemer
****
Posts: 1075



WWW
« Reply #4 on: January 03, 2016, 10:16:14 PM »

I think the hair is awesome.  I was just wondering about a faster way to put hairs on fractals, although this code might be fast enough.  cheesy

  I'll check Msltoe's code and compare it to yours, but... I like the hairs, so feel a bit conflicted about you eliminating them. 
Logged

3dickulus
Global Moderator
Fractal Senior
******
Posts: 1558



WWW
« Reply #5 on: January 03, 2016, 10:24:04 PM »

@MB maybe hair spraygun  roll eyes

interesting object, fragment script? would lower precision float trim the hair a bit?
Logged

Resistance is fertile...
You will be illuminated!

                            #B^] https://en.wikibooks.org/wiki/Fractals/fragmentarium
mclarekin
Fractal Senior
******
Posts: 1739



« Reply #6 on: January 04, 2016, 12:00:45 AM »

Hmmm i did not think about I the fact that I am writing the code in double precision.  Yes, when I bring the ray marching step multiplier back towards 1.0, the hair is reduced,

 Usually hair is a problem for rendering, but I notice this hair renders quite well.  I could'nt find an image to compare this formula with, but I have also coded an earlier Msltoe Riemann Sphere formula which does reproduce the posted image. And I still have some DarkBeams versions to code as well.


 As I may have mentioned this type of formula is cool to use as the first part of a hybrid, like Benesi T1PT. (Examples of base shapes both attached)



* Riem_bbb5.jpg (75.64 KB, 504x522 - viewed 133 times.)

* T1PT_SO_CMAS aaa5 106.jpg (38.03 KB, 554x563 - viewed 126 times.)
Logged
M Benesi
Fractal Schemer
****
Posts: 1075



WWW
« Reply #7 on: January 04, 2016, 05:46:41 AM »

@MB maybe hair spraygun  roll eyes
  might have been what I was thinking....  maybe...  cheesy


  @mclarekin- yeah, that's right. still like the hair.
Logged

Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Project a cube into a sphere (not Riemann's way) Programming DarkBeam 7 903 Last post October 04, 2013, 11:21:37 PM
by cKleinhuis
msltoe riemann bulb V2 Mandelbulber Gallery mclarekin 6 513 Last post February 28, 2016, 09:00:16 AM
by mclarekin
msltoe riembulbV2 sphere Mandelbulber Gallery mclarekin 0 318 Last post March 12, 2016, 07:09:35 AM
by mclarekin
Riemann Sphere + Abox Mandelbulber Gallery Buddhi 0 628 Last post March 21, 2016, 08:32:50 PM
by Buddhi
msltoe riemann s12 Mandelbulber Gallery mclarekin 1 280 Last post April 06, 2017, 08:03:24 PM
by zebastian

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.154 seconds with 29 queries. (Pretty URLs adds 0.015s, 2q)