Particle fractals using Mandelbulb3D and X-particles

Requirements:

  • Mandelbulb3D v1.9.9
  • Cinema 4D
  • X-particles
  • Redshift

In this tutorial we’ll make fractals consisting of many little spheres. We’ll start by making a fractal in Mandelbulb3D.

I assumed you are familiar with Mandelbulb3D and are able to create your own fractal. If you’re not, you can import these parameters by using the button ‘From clipboard’.

Mandelbulb3Dv18{
g…..S….O/…w….2……………1…….s1E…………………………..
………………………………….kz1……..A./………………y.2…wD
…Uz6….k/…./M.0/……l….9/….E3…..omEQgisq6rD/……….m/dkpXm1….U
z…..kD12../2k/..u/.sDpz8..UW3Xi7yj2..kcNYgbzf/..s1Z0knz.U0…..y1…sD…../..
.z1…sDYsAIxzzzjz1……….WAbUdisqcljRRxgCKosEwnYRydIKa5uzwPN9SaPRGyDFHQlSHA1
Iw1iNMIOip7tzqF/G0ZZtVyDU…..21…………..sD.6….sD..G…………………
………….oAnAt1…sD….zw1…………………………………..R….k1.
…..83iyz1…….kz.wzzz1.U..6.P….U5…EB….m….c3….F….6/…I1…..SF52
…U.qFG9yzb2zzzRYoWzz7lz16.pc..zXCc..kvrEtMc7xD6ocyFE0ujz1……….2.28.kFrA0.
.Ub96aAIVz9.1se7Umvxz0………./EU0.wzzz1………..s/……………….E.2c..
zzzz………….0……………….2./8.kzzzD…………8………………..
/EU0.wzzz1……………………………..MpQT0UvNPcvee0RUx3.yRiibHJJnRIV..XR
SvBmx3dLA0UvNPcvQsLIHm5.ibhVi1bTIZ4K.sSq4uClyp5W8/UvNPcvMwbjZl3.ibhVinqTg7fJ.sSq
4uCkzxYf60UvNPcv..EsUa3feeWCNqGQIJ36wk8EwyLsUa3f…………………………..
E….Ek.l2E…..I….k….UEI31IdtKNbxaP…IjR5…………………………6U.
06U………………/………EvQc7EdgRgznKL3TraOtUz………………………
..kH.d82975vJSxD……..kz1……….F6hMjeapx2EbdZ3DQU5A.2…………………
…………………2…..3….5….EZQdNqPsBoPh/5PZVLEiR4PZB5……………..
0IV.06E./………………….E……..cz1….wxcMUzUV8b8CMyA.E……….UaNaNa
NaNizcPixrPlC6zD……………………………………………………….
……………………………….wzzzzD……IaPZBLOm.pPrN1……………..
………………………………….U.2……………………………….
……………………………………………………………………..
……………………………………k…..I….2….EHnl4RjJqItpaA……..
……………………………………Uu6wi9yEVxz………………………
……………………………………………………………………..
………………………………………………..}
{Titel: m164}

We can export the Mandelbulb3D model to a point cloud. Make sure you have version 1.9.9. Open the BTracer (Bulb tracer) and import the parameters from main. You probably will need to scale the object (I scaled to 0.5). After it fits in the preview window, you can write it to a ply file.

Open the ply file in a text editor like Notepad++. Edit the first lines from this

to this.

Open Cinema 4D, create a new X-particles system and add a data importer.

Set the emitter of the data importer to the emitter of the particle system and import the ply file as the csv file. You’ll have to set the delimiter to a space instead of a comma. Adjust the maximum number of rows to the number of rows in your file.

Now go to Field mapping -> add map. Map the x, y and z coordinates and scale them. In my case 1500 works.

Press load data and start the animation (emitter has to start). You should see the fractal now.

Add a Redshift sky and sun rig and add a Redshift object tag to the X-particles emitter. Set the particles mode of the Redshift object tag to sphere instances. Don’t forget to set your render engine to Redshift in your render settings. Now when we give it a Render the following image appears.

If this works, we can add some color to our lives. Map the rgb values in the data importer.

Reload the data and restart the animation. Your particle fractal should look like this now.

It looks pretty…. awful. We can make it look better by exporting the fractal at a higher resolution from Mandelbulb3D, by changing the sizes and materials of the spheres and adding lighting.

Then we get results like these.

    Leave a Reply

    Your email address will not be published.*