|
|
Fixed it :)
#declare accel= pow(2*clock,4)*20.5;
#declare lift= pow(2.0*clock,(1/5));
#declare Powerup = pow(5.0*clock,(1/10))/100;
Yes yes, I know, my code is messy
"Data Banks" <da_### [at] ihugcomau> wrote in message
news:450e876d@news.povray.org...
>
> "Data Banks" <da_### [at] ihugcomau> wrote in message
> news:450e8700@news.povray.org...
>> Never mind, think I found it. Change ^ to e, right?
>>
> Well, that didn't work.
> Ah,
> exp(A) Exponential of A. Returns the value of e raised to the power A
> where e is the base of the natural logarithm, i.e. the non-repeating value
> approximately equal to 2.71828182846.
>
>
>
>> "Data Banks" <da_### [at] ihugcomau> wrote in message
>> news:450e866b@news.povray.org...
>>> Okay, it's been ages since I tinkered with a file of mine but I fired it
>>> up today. It'd been started in POV 3.1, then MegaPOV 0.7 and eventually
>>> POV3.5, without any hassles. But in 3.6 it hits the declare to set the
>>> (primative) acceleration control for an object's motion and I get a
>>> parse error.
>>>
>>> #declare accel= (2*clock)^4*20.5;
>>> #declare lift= (2.0*clock)^(1/5);
>>> #declare Powerup = ((5.0*clock)^(1/10))/100;
>>>
>>> It's moaning when it hits the ^4. Same again at every ^
>>> Okay, so I could probably do it another way but I haven't slept in 2
>>> days & I'm not all that good with animation anyway. What am I missing
>>> here?
>
>
Post a reply to this message
|
|