Overview of cenv

The CENV file contains two broad sets of information: (1) information for cameras, lights and fogs, and (2) management and binding information for referencing cameras, lights and fogs from materials.

Information for cameras, lights and fogs

The file contains static settings for lights and cameras.
This is useful when you want to handle the scene settings as a single file holding the camera and light settings.
If animation data is required, you should handle the camera and light settings separately in their special format files (ascam and clgt files).

Management and binding information for referencing cameras, lights and fogs from materials

The management and binding information for referencing cameras, lights and fogs from materials is stored in <RenderEnvironmentSettings>.


cenv Element Structure

Metadata

      <EditData>
<MetaData>
<Key>
<Create>
<ToolDescriptions>

Scene environment

      <RenderEnvironmentSettings>

Lookup tables

      <LookupTableSetContents>
<LookupTableSetContentCtr>
<LookupTableSet>
<Samplers>
<ImageLookupTableCtr>
<CurveLookupTableCtr>
<SegmentsFloatCurve>
<Segments>
<HermiteFloatSegment>
<Keys>
<HermiteFloatKey>

Light Data

      <Lights>

Ambient Light Data

        <AmbientLightCtr>
<AnimationGroupDescriptions>
<Transform>
<Scale>
<Rotate>
<Translate>
<Ambient>

Fragment Light Data

        <FragmentLightCtr>

Enumerations of Animation Target Members

          <AnimationGroupDescriptions>
<GraphicsAnimationGroupDescription>
<MemberInformationSet>
<AnimationMemberDescription>
<Path>

Light Position

          <Transform>
<Scale>
<Rotate>
<Translate>

Light Parameter Settings

          <Ambient>
<Diffuse>
<Specular0>
<Specular1>
<Direction>
<NullDistanceSampler>

Attenuation Inside Spotlight Cone

          <AngleSampler>
<NullLookupTableCtr>
<ReferenceLookupTableCtr>
<LookupTableSetContentReferenceCtr>

Camera data.

      <Cameras>
<Camera>
<UserData>

Enumerations of Animation Target Members

          <AnimationGroupDescriptions>
<GraphicsAnimationGroupDescription>
<MemberInformationSet>
<AnimationMemberDescription>
<Path>

Camera Positions

          <Transform>
<Scale>
<Rotate>
<Translate>

Camera Orientation Data

          <AimTargetViewUpdater>
<TargetPosition>
<LookAtTargetViewUpdater>
<TargetPosition>
<UpwardVector>
<RotateViewUpdater>
<ViewRotate>

Projection Settings Data

          <PerspectiveProjectionUpdater>
<OrthoProjectionUpdater>

CONFIDENTIAL