VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtCurrentPassData.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2019 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <osg/Matrix>
13 
14 namespace osg
15 {
16  class Camera;
17 }
18 
19 namespace makVrv
20 {
21  class DtDe;
22 
23  struct DtPerChannelData;
24  class DtShadowSettingsObject;
25  class DtOsgShadowTechnique;
26 
27 
28  // helper class with all the current pass data
30  {
31  DtCurrentPassData(DtDe & myDe,
32  DtOsgShadowTechnique * technique, DtPerChannelData* _perChannelData,
33  DtShadowSettingsObject* _shadowSettings, osg::Camera* viewCamera,
34  const osg::Vec3d & _lightDirection);
35 
38  osg::Vec3d lightDirection;
39  osg::Matrix cameraViewMatrix;
43  osg::Vec3d cameraPos;
44  osg::Vec3d lightCamUp;
45  osg::Vec3d lightCamSide;
46  osg::Vec3d frustumMin;
47  osg::Vec3d frustumMax;
48 
49  static int s_update_count;
51  double fovY;
52  double aspectRatio;
53  double camNearPlane;
54  double camFarPlane;
56  double viewDistance;
57  double frame_dt;
60  };
61 }
bool nearCascadesActive
Definition: DtCurrentPassData.h:58
Definition: DtShadowSettingsObject.h:24
osg::Vec3d frustumMax
Definition: DtCurrentPassData.h:47
double aspectRatio
Definition: DtCurrentPassData.h:52
double camFarPlane
Definition: DtCurrentPassData.h:54
osg::Matrix cameraInverseViewMatrix
Definition: DtCurrentPassData.h:42
osg::Vec3d lightCamSide
Definition: DtCurrentPassData.h:45
osg::Vec3d lightCamUp
Definition: DtCurrentPassData.h:44
bool skipOtherCasters
Definition: DtCurrentPassData.h:59
int update_visuals
Definition: DtCurrentPassData.h:50
DtCurrentPassData(DtDe &myDe, DtOsgShadowTechnique *technique, DtPerChannelData *_perChannelData, DtShadowSettingsObject *_shadowSettings, osg::Camera *viewCamera, const osg::Vec3d &_lightDirection)
DtPerChannelData * perChannelData
Definition: DtCurrentPassData.h:36
Definition: DtCurrentPassData.h:29
DtShadowSettingsObject * shadowSettings
Definition: DtCurrentPassData.h:37
Definition: DtPerChannelData.h:49
osg::Matrix cameraProjectionClippedMatrix
Definition: DtCurrentPassData.h:41
The DtOsgShadowTechnique class implements a robust shadow mapping system.
Definition: DtOsgShadowTechnique.h:59
osg::Matrix cameraViewMatrix
Definition: DtCurrentPassData.h:39
double frame_dt
Definition: DtCurrentPassData.h:57
osg::Matrix cameraProjectionMatrix
Definition: DtCurrentPassData.h:40
osg::Vec3d lightDirection
Definition: DtCurrentPassData.h:38
double fovY
Definition: DtCurrentPassData.h:51
osg::Vec3d frustumMin
Definition: DtCurrentPassData.h:46
double camInitialFarPlane
Definition: DtCurrentPassData.h:55
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
double camNearPlane
Definition: DtCurrentPassData.h:53
osg::Vec3d cameraPos
Definition: DtCurrentPassData.h:43
double viewDistance
Definition: DtCurrentPassData.h:56
static int s_update_count
Definition: DtCurrentPassData.h:49

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)