HOME | DD

deathblob — mostly failed 3d render

Published: 2012-07-13 14:42:48 +0000 UTC; Views: 204; Favourites: 3; Downloads: 1
Redirect to original
Description Trying to do 3d fractal renders in my own program, I've not gotten the hang of it yet. My current formula is not really 3d, just running more iterations on each pixel of a formula. In this case it resulted in edges being extended out from the pattern, in particular the center left. Oh well, i'll try again.
Related content
Comments: 7

uxyd [2012-07-13 15:59:34 +0000 UTC]

Interesting. Certain parts of this look like they have the correct perspective. Sort of like Sierpinski's triangle wrapped around a tube and viewed from below. I've completely forgotten how to do the math to render a 3D projection.

👍: 0 ⏩: 1

deathblob In reply to uxyd [2012-07-13 16:26:12 +0000 UTC]

Currently I have 3 nested For loops that loop though each pixel by x and y, then the third loop is for the iteration on each pixel, I clamp the results to a range of values using Modulo then only values bellow a given amount are rendered. If I rendered all iterations only the last iteration would be rendered on all pixels vs the last iteration that fits the required value range. I think i'll try just grayscale next, so I can test my shading of distance from viewpoint without having to worry about the color palate. The thing that is missing is a proper perspective view, currently in effect all pixels are just straight parallel columns of values, I'm working out how to do a cone perspective, with all math lines meeting at the camera, the start of render range will be the image size, then it will expand out from there to the depth range. Or kinda like a square base pyramid with the top cut off.

👍: 0 ⏩: 0

Undead-Academy [2012-07-13 15:40:48 +0000 UTC]

Is this the Mandelbulb3d ?

👍: 0 ⏩: 1

deathblob In reply to Undead-Academy [2012-07-13 16:15:23 +0000 UTC]

Not mandelbulb, my own scripts in Game Maker, a horribly in-efferent language but it's the only one i'm decent at right now.

👍: 0 ⏩: 1

Undead-Academy In reply to deathblob [2012-07-13 20:51:41 +0000 UTC]

Oh well have you ever tried the mandelbulb3d ?

👍: 0 ⏩: 1

deathblob In reply to Undead-Academy [2012-07-13 21:28:44 +0000 UTC]

Not yet, maybe this weekend

👍: 0 ⏩: 1

Undead-Academy In reply to deathblob [2012-07-13 21:39:18 +0000 UTC]

Cool would like to see what you come up with

👍: 0 ⏩: 0