|
|
OK, folks, can someone help me on this?
I keep receiving an error from a camera statement that is
stright from the docs.
I get Parse Error: No matching } in 'camera', look_at found instead
I have looked through the ng's to fine a post that might talk about
this, but didn't find anything. I thought it might go away if I
rebooted, but no luck. Whats up?
Here is the bit of code that gives this error and some quotes
from the docs.
#declare Here=<0,0,0>;
#declare Long_Lens =
camera {
location -z*100
angle 3
}
#declare Short_Lens =
camera {
location -z*50
angle 15
}
camera {
Long_Lens // edit this line to change lenses
look_at Here
}
/*
CAMERA:
camera{ [CAMERA_ITEMS...] }
CAMERA_ITEM:
CAMERA_TYPE | CAMERA_VECTOR | CAMERA_MODIFIER |
CAMERA_IDENTIFIER
CAMERA_TYPE:
perspective | orthographic | fisheye | ultra_wide_angle |
omnimax | panoramic | cylinder CylinderType | spherical
CAMERA_VECTOR:
location <Location> | right <Right> | up <Up> |
direction <Direction> | sky <Sky>
CAMERA_MODIFIER:
angle HORIZONTAL [VERTICAL] | look_at <Look_At> |
blur_samples Num_of_Samples | aperture Size |
focal_point <Point> | confidence Blur_Confidence |
variance Blur_Variance | NORMAL | TRANSFORMATION
Camera identifiers may be declared to make scene files more
readable and to parameterize scenes so that changing a single
declaration changes many values. You may declare several camera
identifiers if you wish. This makes it easy to quickly change cameras.
An identifier is declared as follows.
CAMERA_DECLARATION:
#declare IDENTIFIER = CAMERA |
#local IDENTIFIER = CAMERA
Where IDENTIFIER is the name of the identifier up to 40 characters long
and CAMERA is any valid camera statement. See "#declare vs. #local" for
information on identifier scope. Here is an example...
#declare Long_Lens =
camera {
location -z*100
angle 3
}
#declare Short_Lens =
camera {
location -z*50
angle 15
}
camera {
Long_Lens // edit this line to change lenses
look_at Here
}
*/
Post a reply to this message
|
|