STK Graphics PrimitivesSend comments on this topic.
ProjectionDistance Property (IAgStkGraphicsStereoscopic)
See Also
Windows





Windows & Linux

Description

Gets or sets the projection distance. If Projection Mode is set to eStkGraphicsStereoProjectionAutomatic, the value of this property will be ignored.

Property type

Read-write property

Syntax

[Visual Basic .NET]
Public Property ProjectionDistance() As Double
[C#]
public double ProjectionDistance {get; set;}
[Managed C++]
public: __property double get_ProjectionDistance();
public: __property void set_ProjectionDistance( double );
[Unmanaged C++]
public: HRESULT get_ProjectionDistance(
    double * pRetVal
);
public: HRESULT put_ProjectionDistance(
    double ProjectionDistance
);
[Java]
public double getProjectionDistance();
public void setProjectionDistance(
    double
);
[Python - STK API ]
@property
def ProjectionDistance(self) -> float:

@ProjectionDistance.setter
def ProjectionDistance(self, ProjectionDistance:float) -> None:

Remarks

When displaying in stereo there are two virtual cameras, one for the left eye and one for the right eye. These cameras both look in the same general direction, each aimed at a point a fixed distance away. This distance is called the Projection Distance. It should be about the same distance that the cameras are from the nearest visible object.

Objects in the scene that get closer than the projection distance will appear to pop out of the display in 3D. If this is done carefully, it can create a dramatic 3D effect. If it is pushed too far, the 3D effect will break down or cause eye strain.

See Also

© 2024 Analytical Graphics, Inc. All Rights Reserved.