VR-Forces 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) 2026 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  class 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;
42  osg::Vec3d cameraPos;
43  osg::Vec3d lightCamUp;
44  osg::Vec3d lightCamSide;
45  osg::Vec3d frustumMin;
46  osg::Vec3d frustumMax;
47 
48  static int s_update_count;
50  double fovY;
51  double aspectRatio;
52  double camNearPlane;
53  double camFarPlane;
55  double viewDistance;
56  double frame_dt;
59  };
60 }
bool nearCascadesActive
Definition: DtCurrentPassData.h:57
Definition: DtPerChannelData.h:102
Definition: DtShadowSettingsObject.h:24
osg::Vec3d frustumMax
Definition: DtCurrentPassData.h:46
double aspectRatio
Definition: DtCurrentPassData.h:51
double camFarPlane
Definition: DtCurrentPassData.h:53
osg::Matrix cameraInverseViewMatrix
Definition: DtCurrentPassData.h:41
osg::Vec3d lightCamSide
Definition: DtCurrentPassData.h:44
osg::Vec3d lightCamUp
Definition: DtCurrentPassData.h:43
bool skipOtherCasters
Definition: DtCurrentPassData.h:58
int update_visuals
Definition: DtCurrentPassData.h:49
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
Implements cascaded shadow mapping (CSM) for the VRV rendering pipeline.
Definition: DtOsgShadowTechnique.h:87
osg::Matrix cameraViewMatrix
Definition: DtCurrentPassData.h:39
double frame_dt
Definition: DtCurrentPassData.h:56
osg::Matrix cameraProjectionMatrix
Definition: DtCurrentPassData.h:40
osg::Vec3d lightDirection
Definition: DtCurrentPassData.h:38
double fovY
Definition: DtCurrentPassData.h:50
osg::Vec3d frustumMin
Definition: DtCurrentPassData.h:45
double camInitialFarPlane
Definition: DtCurrentPassData.h:54
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:76
double camNearPlane
Definition: DtCurrentPassData.h:52
osg::Vec3d cameraPos
Definition: DtCurrentPassData.h:42
double viewDistance
Definition: DtCurrentPassData.h:55
static int s_update_count
Definition: DtCurrentPassData.h:48

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)