Logo by Trifox - 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: Check out the originating "3d Mandelbulb" thread here
 
*
Welcome, Guest. Please login or register. January 25, 2020, 09:27:41 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 2 [3] 4 5 ... 8   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: Custom formulas & transforms - WIP & discuss  (Read 12983 times)
0 Members and 1 Guest are viewing this topic.
Jesse
Download Section
Fractal Schemer
*
Posts: 1013


« Reply #30 on: February 08, 2011, 09:22:41 PM »

But a question; what is C? Cx, Cy, Cz... Sorry for the ignorance  cry

C1 to C3 are the actual position in raystepping, will be copied to x,y,z on iteration start and also to J1..J3 (the ones used as add component) if you don't calculate in julia mode.  In julia mode J1..J4 are the user specified values and not changed.
Also C1..C3 are not changed, else you get in trouble with raystepping and nearly all other functions  wink
Logged
marius
Fractal Lover
**
Posts: 206


« Reply #31 on: February 09, 2011, 03:14:04 AM »

I wanted to do a 3D Barnsley. But I still have problems with the "jge" that wants an absolute address value and not an offset. Suggestions? undecided

to my knowledge, and the IA-32 Intel® Architecture Software Developer’s Manual,
http://www.intel.com/products/processor/manuals/

the conditional jumps are all relative with signed 8 or 32 bit offsets.

I am not sure if we should discuss assembler issues in here, you can always email me directly, that might also be faster for me to answer.

Wait..  shocked the Mandelbulb3Dv16{..} descriptions actually contain raw code?!
You might want to look into http://code.google.com/p/nativeclient/ as containment option without too much overhead  police
Logged
DarkBeam
Global Moderator
Fractal Senior
******
Posts: 2512


Fragments of the fractal -like the tip of it


« Reply #32 on: February 09, 2011, 08:45:12 AM »

I wanted to do a 3D Barnsley. But I still have problems with the "jge" that wants an absolute address value and not an offset. Suggestions? undecided

to my knowledge, and the IA-32 Intel® Architecture Software Developer’s Manual,
http://www.intel.com/products/processor/manuals/

the conditional jumps are all relative with signed 8 or 32 bit offsets.

I am not sure if we should discuss assembler issues in here, you can always email me directly, that might also be faster for me to answer.

Wait..  shocked the Mandelbulb3Dv16{..} descriptions actually contain raw code?!
You might want to look into http://code.google.com/p/nativeclient/ as containment option without too much overhead  police

If it didn't contain raw code I would never be able to write custom formulas. Do you really want to deny to others the opportunity of helping Jesse? huh? sad
Logged

No sweat, guardian of wisdom!
marius
Fractal Lover
**
Posts: 206


« Reply #33 on: February 09, 2011, 09:21:49 AM »

Wait..  shocked the Mandelbulb3Dv16{..} descriptions actually contain raw code?!
You might want to look into http://code.google.com/p/nativeclient/ as containment option without too much overhead  police

If it didn't contain raw code I would never be able to write custom formulas. Do you really want to deny to others the opportunity of helping Jesse? huh? sad

No, not at all. Just suggesting perhaps some form of sand boxing of executable formula code would be prudent.

A scripting language could be safe but slow without compilation; native client tries to find a middle ground between native speeds yet offer sand boxing. Since the rendering formulas do not require any complicated input or output they are actually a perfect match for such an approach. And this still allows for anyone to contribute and mash-up efficient formula code.

You could see Mandelbulb3d as the analogue of a web browser, and formulas that of webpages.

I for one did not realize that cutting & pasting Mandelbulb3Dv16{..} amounted to running fresh raw binary. At some point, it becomes difficult to assess trustworthiness or origin of the formulas.

Then again, I'm a professional barely functional paranoid grin
Logged
DarkBeam
Global Moderator
Fractal Senior
******
Posts: 2512


Fragments of the fractal -like the tip of it


« Reply #34 on: February 09, 2011, 09:45:30 AM »

Then again, I'm a professional barely functional paranoid grin
tease  grin
Logged

No sweat, guardian of wisdom!
hobold
Fractal Bachius
*
Posts: 573


« Reply #35 on: February 09, 2011, 12:56:40 PM »

Computer security is an illness that hits those hardest who do not suffer from it. smiley
Logged
David Makin
Global Moderator
Fractal Senior
******
Posts: 2286



Makin' Magic Fractals
WWW
« Reply #36 on: February 09, 2011, 05:38:58 PM »

Computer security is an illness that hits those hardest who do not suffer from it. smiley

Computer security is a problem that hits those hardest who use anything remotely related to Microsoft or Adobe (unless you consider the Commodore Amiga/Atari ST).
« Last Edit: February 09, 2011, 05:40:31 PM by David Makin » Logged

The meaning and purpose of life is to give life purpose and meaning.

http://www.fractalgallery.co.uk/
"Makin' Magic Music" on Jango
DarkBeam
Global Moderator
Fractal Senior
******
Posts: 2512


Fragments of the fractal -like the tip of it


« Reply #37 on: February 09, 2011, 05:40:17 PM »

I was looking for some info on complex numbers and I found this article; http://en.wikipedia.org/wiki/Tricomplex_number
Considering the space as a vector field, we can compute the inverse of every point of the vector space and obtain an "inverse tricomplex field".  shocked

It required a lot of tricks in coding but finally "tricomplex inversion" is here, I upped it in the release folder cheesy
Logged

No sweat, guardian of wisdom!
David Makin
Global Moderator
Fractal Senior
******
Posts: 2286



Makin' Magic Fractals
WWW
« Reply #38 on: February 09, 2011, 05:42:15 PM »

I was looking for some info on complex numbers and I found this article; http://en.wikipedia.org/wiki/Tricomplex_number
Considering the space as a vector field, we can compute the inverse of every point of the vector space and obtain an "inverse tricomplex field".  shocked

It required a lot of tricks in coding but finally "tricomplex inversion" is here, I upped it in the release folder cheesy

What do you do in the case of inversion of a non-zero value having no inverse ?
Logged

The meaning and purpose of life is to give life purpose and meaning.

http://www.fractalgallery.co.uk/
"Makin' Magic Music" on Jango
DarkBeam
Global Moderator
Fractal Senior
******
Posts: 2512


Fragments of the fractal -like the tip of it


« Reply #39 on: February 09, 2011, 05:55:18 PM »

I was looking for some info on complex numbers and I found this article; http://en.wikipedia.org/wiki/Tricomplex_number
Considering the space as a vector field, we can compute the inverse of every point of the vector space and obtain an "inverse tricomplex field".  shocked

It required a lot of tricks in coding but finally "tricomplex inversion" is here, I upped it in the release folder cheesy

What do you do in the case of inversion of a non-zero value having no inverse ?

Mandelbulb3D has a very solid engine; in case of floating point errors, it simply discards. So I skip completely checks... smiley Jesse in his "_reciprocalX" formula does the same; simply computes the inverse without any check and it works. Probably he "turned off" fp errors. smiley
Logged

No sweat, guardian of wisdom!
Jesse
Download Section
Fractal Schemer
*
Posts: 1013


« Reply #40 on: February 09, 2011, 11:03:34 PM »

Wait..  shocked the Mandelbulb3Dv16{..} descriptions actually contain raw code?!

No, this text contains only parameters like the formula names, and absolute no sourcecode or things that could do harm!

Only the *.m3f formula files are containing code that will be directly executed, so be very careful when downloading formula files.
Be sure that you can trust the author.

Logged
hobold
Fractal Bachius
*
Posts: 573


« Reply #41 on: February 09, 2011, 11:19:56 PM »

Computer security is a problem that hits those hardest who use anything remotely related to Microsoft or Adobe (unless you consider the Commodore Amiga/Atari ST).
I was trying to coin a wittycism for the phenomenon that the only way to have a somewhat secure machine is to catch an unhealthy dose of paranoia. Choose your poison ...

Unfortunately, security and convenience are antagonists. When a computer system is very convenient for users, it probably is very convenient for malicious attackers as well. And conversely, when a computer system is solidly secured, the users will have to live with some inconveniences.

The market forces, which drive ever more powerful computers into the hands of more and more clueless users, do move computing hardware into a direction of ever more ease of use, ever more convenience. Smartphones are the currently latest example. These little devices know more sensitive data about their users (about their location and communication, for instance) than a typical desktop machine. But they are typically much less secure.

If you are truly paranoid, you do not have a smartphone. Information security is not a technical problem, and cannot be solved by mere technical measures. Security starts and ends with the behaviour of those who want to be secure.
Logged
kon16ov
Conqueror
*******
Posts: 105



warep kon16ov
« Reply #42 on: February 10, 2011, 04:22:23 AM »

I'm fond of saying, "The key to keeping the secret is the keeping of the key."  Big fan of encryption...unless your hard drive goes bing and your encrypted partitions won't mount. That's a problem.

Anyhoo -- I think my only problem with the formulas is not knowing where to begin or how to go about the creation/editing of the beasties.  There's probably been umpteen discussions on this and I should probably go poke around a bit.  I will say that my assembler is REALLY rusty -- the last ML work I did was on the 68000...(someone mentioned the Amiga?  smiley)  I like the idea of "sandboxing" and such since I have, every so often, this itch to bandy about an odd formula or two and just see what it produces.

Ah, well.  For now, I am more than happy to poke, prod and jostle the formulas in place, currently.  It's all great stuff!
Logged
lecristal
Navigator
*****
Posts: 60


a lover of beautiful things


lecristal
WWW
« Reply #43 on: February 10, 2011, 09:10:30 AM »

Welcome to FF Luca wink
embarrass Thanks a lot... I am a little devil angel

little devil???
is welcome as the
Logged

think of oneself is to think of others
DarkBeam
Global Moderator
Fractal Senior
******
Posts: 2512


Fragments of the fractal -like the tip of it


« Reply #44 on: February 10, 2011, 10:30:42 AM »

Welcome to FF Luca wink
embarrass Thanks a lot... I am a little devil angel

little devil???
is welcome as the

Thank you very much! Merci beaucoup  embarrass wink wink wink
Logged

No sweat, guardian of wisdom!
Pages: 1 2 [3] 4 5 ... 8   Go Down
  Print  
 
Jump to:  


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 28 queries. (Pretty URLs adds 0.014s, 2q)