Re: VRML Spec.

Jim Terhorst ([email protected])
Thu, 11 May 1995 10:53:39 -0600


On May 11, 12:44pm, Thomas D. Citriniti wrote:
> Subject: VRML Spec.
>
> Can someone explain the occurance of a field called nearDistance in the
> PerspectiveCamera of several wrl files I have been trying to view?
>
> The "Official" VRML 1.0 spec calls for:
>
> OrthographicCamera {
> position 0 0 1 # SFVec3f
> orientation 0 0 1 0 # SFRotation
> focalDistance 5 # SFFloat
> height 2 # SFFloat
> }
>
> PerspectiveCamera {
> position 0 0 1 # SFVec3f
> orientation 0 0 1 0 # SFRotation
> focalDistance 5 # SFFloat
> heightAngle 0.785398 # SFFloat
> }
>
> and nowhere is there a field called nearDistance. Is this some residual from
> the OpenInventor format that is not described in the VRML spec?
nearDistance and farDistance are fields from the SoCamera node in OpenInventor.
They are defined in the SoCamera man page as "The distance from the camera
viewpoint to the near and far clipping planes."

jim terhorst (MountainTop::Computing) [email protected]