#2 Infinity input issue

open
nobody
None
5
2007-12-30
2007-12-30
kapost
No

Typing ‘Infinity’ as an input in one of the following fields (where maximum value is set to infinity) results in a POV-Ray Parse Error, during rendering, producing the message “Expected ‘numeric expression’, ? found instead”.

-General
*Trunk radius – Ratio, LobeDepth(provided Lobes>=1), 0Scale, 0ScaleV
*Leaves – LeafScale, LeafScaleX, LeafStemLen (also on ‘-Infinity’)

-Levels
*Curvature - nCurve(also on ‘-Infinity’), nCurveV, nCurveBack(also on ‘-Infinity’)
*Length and taper – (only on Levels 2,3)nLenghth

Also ‘Infinity’ produces an export error in the “Create and export tree” window, accompanied by an error message stating ‘-1’ or ‘0>=0’ on the following fields:

-General
*Tree shape – Scale, ScaleV, RatioPower(NOTE: ‘-Infinity’ works fine)
*Trunk radius – Flare

-Levels
*Length and taper – (only on levels 0,1)nLenghth, nLengthV

all of the above were tested individually, leaving all other fields on their default value.

This was tried out on WinXP SP2, Java sdk 1.4.2. POV-Ray 3.5

Discussion