Logo by Trifox
News: Visit the Fractalforums.com User Gallery
 
*
Welcome, Guest. Please login or register. November 21, 2008, 02:23:18 AM


Login with username, password and session length



Pages: [1]
  Print  
Author Topic: Formula Raytrace modifications  (Read 260 times)
0 Members and 1 Guest are viewing this topic.
omightymega
Fractal Newbie
*
Posts: 2


View Profile
« 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
Fractal Bachius
*
Posts: 536



View Profile 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

Sincerely,
P.N.L.
-------------------------------------------------
http://home.att.net/~Paul.N.Lee/PNL_Fractals.html
http://www.Nahee.com/Fractals/
lycium
Fractal Bachius
*
Posts: 515



View Profile 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
Fractal Newbie
*
Posts: 2


View Profile
« 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
Fractal Bachius
*
Posts: 536



View Profile 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

Sincerely,
P.N.L.
-------------------------------------------------
http://home.att.net/~Paul.N.Lee/PNL_Fractals.html
http://www.Nahee.com/Fractals/
lycium
Fractal Bachius
*
Posts: 515



View Profile 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]
  Print  
GoogleTagged: raytrace formula

 
Jump to:  


Related Topics
Subject Started by Replies Views Last post
Searching formula / equation for z^4 and z^5 Help & Support maverdigitalarts 13 313 Last post November 26, 2006, 03:20:59 PM
by Trifox
A beta formula for Ultrafractal IFS - Iterated Function Systems David Makin 3 390 Last post December 13, 2006, 10:53:03 PM
by Nahee_Enterprises
A beta IFS formula for Ultrafractal Programming David Makin 5 245 Last post December 15, 2006, 07:11:15 PM
by David Makin
New 3D flame raytrace Images Showcase (Rate My Fractal) doncasteel8587 0 184 Last post June 04, 2007, 02:57:50 AM
by doncasteel8587
Ultrafractal 5 - Alternating Formula Ultrafractal Trifox 6 183 Last post July 27, 2008, 06:37:23 PM
by GFWorld

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.423 seconds with 27 queries. (Pretty URLs adds 0.031s, 2q)