Logo by mrob - 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: Support us via Flattr FLATTR Link
 
*
Welcome, Guest. Please login or register. November 30, 2025, 07:59:19 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: Formula Raytrace modifications  (Read 1558 times)
0 Members and 1 Guest are viewing this topic.
omightymega
Guest
« on: November 15, 2007, 05:18:14 PM »

Let me preface this post by saying that I am somewhat challanged mathmatically. I am however fairly adept at problem solving through process, but quite frankly when high school introduced me to algebra, I went to sleep.  Anyhoo......   I'm working with Ron Barnett's formula raytrace algorithm, specifically the toroidal spiral function. The params I'm specifically working on concern the xmax, xmin, xstep, and xradius, which are arrayed in the global section. I've added a param "slide" and given it a default value. Arrays in the global section read as such, and are separate arrays:
radius=@radius
xlimit=round((@xmax-@xmin)/@xstep)

 xmax determines the maximum length of the "rope" numerically, and vice versa for the minimum.
radius determines the size of the "balls" that are strung together to form the "rope"
step determines the numerical distance between the "balls" within the xmax-xmin range.

What I want to do, is tell the argument that I want the radius to be reduced, according to my @slide parameter, progressively at each increment moving away from xmax until xmin is reached.
 My attempted statement reads:  radius= radius-(@slide*x)  where "x" is an integer on a sliding scale based on the xlimit increment position as it relates to xmax and xmin.
  My chief problem is that I don't know how to tell the argument (@"x")to recognize the increment position rather than it's numerical value.

                                                  Any help?
Logged
Nahee_Enterprises
World Renowned
Fractal Senior
******
Posts: 2250


use email to contact


nahee_enterprises Nahee.Enterprises NaheeEnterprise
WWW
« Reply #1 on: November 21, 2007, 09:07:18 AM »

Let me preface this post by saying that I am somewhat challanged mathmatically.
I am however fairly adept at problem solving through process, but quite frankly
when high school introduced me to algebra, I went to sleep.

Greetings, and Welcome to this particular Forum!!    smiley

I believe 99.9 percent of the world's population is mathematically challenged at some level or other.  The other 1/10th would never admit it.    wink    cheesy

Have you tried discussing your problem directly with Ron Barnett??  He is usually quite helpful to those that show a real interest in working with his formulas.
Logged

lycium
Fractal Supremo
*****
Posts: 1158



WWW
« Reply #2 on: November 21, 2007, 11:19:46 AM »

I believe 99.9 percent of the world's population is mathematically challenged at some level or other.  The other 1/10th would never admit it.    wink    cheesy

99.9% + 10% = 109.9% > 100% wink
Logged

omightymega
Guest
« Reply #3 on: November 23, 2007, 05:41:33 AM »

  I sent an e-mail from his "e-mail me" link on his website, but never got a response. I was probably spammed out.   Do you have a current addy for him?
Logged
Nahee_Enterprises
World Renowned
Fractal Senior
******
Posts: 2250


use email to contact


nahee_enterprises Nahee.Enterprises NaheeEnterprise
WWW
« Reply #4 on: November 25, 2007, 09:32:54 PM »

99.9% + 10% = 109.9% > 100%   wink

I can see quite clearly that English is not a language you understand very well !!     wink

First of all, I was discussing percentages as the primary subject.  The prepositional phrase "of the world's population" was only a qualifier, and not the actual numeric quantities being discussed.

So....  the "other 1/10th" was referring to a single percentage.

If you need assistance again with English, and/or with your math, please do not hesitate to speak up.    cheesy    grin

Logged

lycium
Fractal Supremo
*****
Posts: 1158



WWW
« Reply #5 on: November 26, 2007, 09:25:03 AM »

I can see quite clearly that English is not a language you understand very well !!     wink

lol

If you need assistance again with English, and/or with your math, please do not hesitate to speak up.    cheesy    grin

it's nice to know you deem yourself to be one in a thousand wink
Logged

Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
A beta formula for Ultrafractal IFS - Iterated Function Systems David Makin 3 7346 Last post December 13, 2006, 10:53:03 PM
by Nahee_Enterprises
New 3D flame raytrace Images Showcase (Rate My Fractal) doncasteel8587 0 1231 Last post June 04, 2007, 02:57:50 AM
by doncasteel8587
Fractal Formula Help Help & Support fractalwizz 5 7972 Last post November 30, 2008, 03:30:03 PM
by David Makin
Gallery Modifications / Hacks Fractal Forums News cKleinhuis 1 1334 Last post February 02, 2010, 11:48:04 PM
by bib
3d complex triplex absolute modifications (correct 2d M-set cross-sections) Images Showcase (Rate My Fractal) M Benesi 0 1675 Last post September 25, 2010, 03:31:31 AM
by M Benesi

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.337 seconds with 25 queries. (Pretty URLs adds 0.01s, 2q)