Shop Forum More Submit  Join Login
How do I program difs shapes by dark-beam How do I program difs shapes by dark-beam
Due to time constraints, I will not answer to every possible question about those files, please elaborate them by yourself. :) I am giving that to everyone, but don't ask me to explain everything...
Study and research, you can do it ;) I did not have all those resources at hand BUT I was able to find out by myself...
Nothing personal. Try to ask if you have doubts - *but* don't obsess me with questions, or I won't reply anymore. :(

This is a resource for experienced people, who knows about floating point assembly, if you read and study those example you should be able to program customized DIFS shapes into Mandelbulb3D.
THINGS YOU NEED TO COMPILE; FLATASM, an hex editor
Find flat assembler here. flatassembler.net/download.php
Use any hex editor you like.
Once you compile the example, a BIN file is generated
Convert the bin into a plain string, in hex mode, example 55FE561ABB3C without spaces,  you get the so called "code"... and paste it into a suitable Mb3D formula frame, like this

<<
[OPTIONS]
.Version = 6
.DEoption = 20
.SSE2
.Double OTrapOffset = 0
.2Doubles Scale = 2
.2Doubles Z add = 0
.Double Y add = 0
.Double X add = 0
.Integer Apply scale+add = 0
.Double OTrapOnIts= 0.25
.3SingleAngles Rotate = 0
.Double extraparam1= 1.0
.Double extraparam2= 1.0
[CONSTANTS]
Double = 9999999999.9
... constant section can be aswell omitted but use it to treat not user changeable int/double values...
[CODE]
83C4CC660F10468................blabla paste code here replace this
[END]

Made by George Washington 2050, write a comment, lorem ipsum.
>>

Deoption 20 means "difs shapes" to mb3d.

As for normal formulas, they can also be programmed using flatasm but I actually never used it estensively. In any case Knighty made some research using normal c language and it actually works afaik, see here the progress.

www.fractalforums.com/tutorial…

Also to understand what goes on inside the cube routine you may want to look at pseudorandom number generation:

en.m.wikipedia.org/wiki/Pseudo…

Given x and y I extract the int part, using mixed techniques I shuffle bytes to obtain an integer 0 to a maxval, then divide it to convert to a float that is used to generate the shape...
Add a Comment:
 
:iconfreshums:
Freshums Featured By Owner Apr 10, 2016  Student General Artist
Thanks, I was just trying to figure out where to find or how to make the icosatube and other solids shapes in the "tubey"way..This is a great starting point, but my brain hurts just reading it so far.
Reply
:iconjost1:
jost1 Featured By Owner May 10, 2015
Oh no, don't confuse me with that stuff! I just wanna play. ;)
But I can promise you, that I don't ask you any question. :hug:
Reply
:iconkrompulos:
krompulos Featured By Owner Apr 11, 2015  Hobbyist General Artist
thank you so much for this info.
perhaps i can learn the rest of what it takes to work with this type of thing.
i have been wondering how it is done, but not wanted to ask, as i am not yet advanced enought for anyone to teach me without becoming frustrated.
You are awesome, and thank you again for giving me the resources to learn.
Reply
:icondark-beam:
dark-beam Featured By Owner Apr 12, 2015  Student Artist
Too bad it's hard :( very hard!
You are welcome buddy.
Reply
:iconundead-academy:
Undead-Academy Featured By Owner Apr 11, 2015  Hobbyist Digital Artist
Looks great , no need to reply ....
Reply
:icondark-beam:
dark-beam Featured By Owner Apr 11, 2015  Student Artist
Patty this info is for programmers :) as currently difs are the most powerful tool in mb3d :hug:
Reply
:iconundead-academy:
Undead-Academy Featured By Owner Apr 11, 2015  Hobbyist Digital Artist
I know sweetie , that is why I said no need to reply , lol :)
Reply
:iconpamonk:
PaMonk Featured By Owner Apr 10, 2015  Professional Artist
Wow! Looks confusing :baffled: :hug:
Reply
:icondark-beam:
dark-beam Featured By Owner Apr 10, 2015  Student Artist
To write all the steps needed a lifetime would be barely enough, but I have things to do :hug:
Reply
:iconpamonk:
PaMonk Featured By Owner Apr 10, 2015  Professional Artist
Aw! :hug:
Reply
:iconfractal2cry:
fractal2cry Featured By Owner Apr 10, 2015
:iconwowplz:
Reply
:icondark-beam:
dark-beam Featured By Owner Apr 10, 2015  Student Artist
The explanation is short and so is my time dear. :shrug: ...
Reply
Add a Comment:
 
×


More from DeviantArt



Details

Submitted on
April 10, 2015
File Size
7.3 KB
Link
Thumb

Stats

Views
1,089
Favourites
21 (who?)
Comments
12
Downloads
43
×