|
|
"nelviant" <nomail@nomail> wrote:
> Is it possible to debug an object property?
> #debug concat("ANGLE: ", camera.angle)
>
> to output the angle property of a camera, but it doesn work.
povray SDL is not object oriented. There are default values for all scene
objects that you may look up in the manual. Other than that, it's up to you to
set up the values you want.
Post a reply to this message
|
|
|
|
nemesis wrote:
> "nelviant" <nomail@nomail> wrote:
>> Is it possible to debug an object property?
>> #debug concat("ANGLE: ", camera.angle)
>>
>> to output the angle property of a camera, but it doesn work.
>
> povray SDL is not object oriented. There are default values for all scene
> objects that you may look up in the manual. Other than that, it's up to you to
> set up the values you want.
>
>
>
You can, however, use #debug with any variables that you have created to
define object parameters. For example:
#declare CAMERA_ANGLE = some calculations;
#debug concat("ANGLE: ", str(CAMERA_ANGLE, 3, 1)
camera {
other camera stuff
angle CAMERA_ANGLE
}
Hope this helps...
--Sherry Shaw
--
#macro T(E,N)sphere{x,.4rotate z*E*60translate y*N pigment{wrinkles scale
.3}finish{ambient 1}}#end#local I=0;#while(I<5)T(I,1)T(1-I,-1)#local I=I+
1;#end camera{location-5*z}plane{z,37 pigment{granite color_map{[.7rgb 0]
[1rgb 1]}}finish{ambient 2}}// TenMoons
Post a reply to this message
|
|