forked from UL-FRI-LGM/RenderCore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRenderCore.js
178 lines (164 loc) · 8.14 KB
/
RenderCore.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
/**
* Main RenderCore class.
*
*/
// Constants
export * from './constants.js';
// Math
export {QuaternionLinearInterpolant} from './math/interpolants/QuaternionLinearInterpolant.js';
export {LinearInterpolant} from './math/interpolants/LinearInterpolant.js';
export {DiscreteInterpolant} from './math/interpolants/DiscreteInterpolant.js';
export {CubicInterpolant} from './math/interpolants/CubicInterpolant.js';
export {Interpolant} from './math/Interpolant.js';
export {Triangle} from './math/Triangle.js';
export {_Math} from './math/Math.js';
export {Spherical} from './math/Spherical.js';
export {Cylindrical} from './math/Cylindrical.js';
export {Plane} from './math/Plane.js';
export {Frustum} from './math/Frustum.js';
export {Sphere} from './math/Sphere.js';
export {Ray} from './math/Ray.js';
export {Matrix4} from './math/Matrix4.js';
export {Matrix3} from './math/Matrix3.js';
export {Box3} from './math/Box3.js';
export {Box2} from './math/Box2.js';
export {Line3} from './math/Line3.js';
export {Euler} from './math/Euler.js';
export {Vector4} from './math/Vector4.js';
export {Vector3} from './math/Vector3.js';
export {Vector2} from './math/Vector2.js';
export {Quaternion} from './math/Quaternion.js';
export {Color} from './math/Color.js';
export {SphericalHarmonics3} from './math/SphericalHarmonics3.js';
// Loaders
export {Cache} from './loaders/Cache.js';
export {ImageCache, TextureCache} from './loaders/ImageCache.js';
export {LoadingManager} from './loaders/LoadingManager.js';
export {XHRLoader} from './loaders/XHRLoader.js';
export {ShaderLoader} from './loaders/ShaderLoader.js';
export {ObjLoader} from './loaders/ObjLoader.js';
export {ImageLoader} from './loaders/ImageLoader.js';
export {MHDReader} from './loaders/MHDReader.js';
export {RAWLoader} from './loaders/RAWLoader.js';
export {XHRStreamer} from './loaders/XHRStreamer.js';
export {LASLoader} from './loaders/LASLoader.js';
// Online Interaction
export {UpdateListener} from './online_interaction/UpdateListener.js';
// Core
export * from './core/BufferAttribute.js';
export {GLAttributeManager} from './core/GLAttributeManager.js';
export {GLFrameBufferManager} from './core/GLFrameBufferManager.js';
export {GLTextureManager} from './core/GLTextureManager.js';
export {GLManager} from './core/GLManager.js';
export {Canvas} from './core/Canvas.js';
export {CanvasManager} from './core/CanvasManager.js';
export {Object3D} from './core/Object3D.js';
export {Raycaster} from './core/Raycaster.js';
export {Scene} from './core/Scene.js';
export {SceneManager} from './core/SceneManager.js';
export {EventDispatcher} from './core/EventDispatcher.js';
// Cameras
export {Camera} from './cameras/Camera.js';
export {PerspectiveCamera} from './cameras/PerspectiveCamera.js';
export {OrthographicCamera} from './cameras/OrthographicCamera.js';
export {CameraFactory} from './cameras/CameraFactory.js';
export {OrbitCameraControls} from './cameras/OrbitCameraControls.js';
export {FullOrbitCameraControls} from './cameras/FullOrbitCameraControls.js';
export {RegularCameraControls} from './cameras/RegularCameraControls.js';
export {CameraManager} from './cameras/CameraManager.js';
export {XRCamera} from './cameras/XRCamera.js';
export {XRPerspectiveCamera} from './cameras/XRPerspectiveCamera.js';
export {XROrthographicCamera} from './cameras/XROrthographicCamera.js';
// Lights
export {Light} from './lights/Light.js';
export {AmbientLight} from './lights/AmbientLight.js';
export {DirectionalLight} from './lights/DirectionalLight.js';
export {PointLight} from './lights/PointLight.js';
export {SpotLight} from './lights/SpotLight.js';
// Texture
export {Texture} from './textures/Texture.js';
export {CubeTexture} from './textures/CubeTexture.js';
// Materials
export {Material} from './materials/Material.js'
export {MeshBasicMaterial} from './materials/MeshBasicMaterial.js'
export {MeshLambertMaterial} from './materials/MeshLambertMaterial.js';
export {MeshPhongMaterial} from './materials/MeshPhongMaterial.js';
export {CustomShaderMaterial} from './materials/CustomShaderMaterial.js';
export {VolumeBasicMaterial} from './materials/VolumeBasicMaterial.js';
export {SpriteBasicMaterial} from './materials/SpriteBasicMaterial.js';
export {PickingShaderMaterial} from './materials/PickingShaderMaterial.js';
export {StripeBasicMaterial} from './materials/StripeBasicMaterial.js';
export {StripesBasicMaterial} from './materials/StripesBasicMaterial.js';
export {PointBasicMaterial} from './materials/PointBasicMaterial.js';
export {Text2DMaterial} from './materials/Text2DMaterial.js';
export {SkyBox2BasicMaterial} from './materials/SkyBox2BasicMaterial.js';
export {DirectionalShadowMaterial} from './materials/DirectionalShadowMaterial.js';
export {PointShadowMaterial} from './materials/PointShadowMaterial.js';
export {VertexNormalMaterial} from './materials/VertexNormalMaterial.js';
// Objects
export {Geometry} from './objects/Geometry.js';
export {Mesh} from './objects/Mesh.js';
export {Circle} from './objects/Circle.js';
export {Contour} from './objects/Contour.js';
export {Cube} from './objects/Cube.js';
export {GeoidSphere} from './objects/GeoidSphere.js';
export {IcoSphere} from './objects/IcoSphere.js';
export {Group} from './objects/Group.js';
export {Line} from './objects/Line.js';
export {Quad} from './objects/Quad.js';
export {TerrainPlane} from './objects/TerrainPlane.js';
export {Volume} from './objects/Volume.js';
export {PointCloud} from './objects/PointCloud.js';
export {Sprite} from './objects/Sprite.js';
export {SpriteGeometry} from './objects/SpriteGeometry.js';
export {Cone} from './objects/Cone.js';
export {ConeGeometry} from './objects/ConeGeometry.js';
export {SkyBox} from './objects/SkyBox.js';
export {SkyBox2} from './objects/SkyBox2.js';
export {SkyDome} from './objects/SkyDome.js'
export {Point} from './objects/Point.js';
export {Stripe} from './objects/Stripe.js';
export {Stripes} from './objects/Stripes.js';
export {StripesGeometry} from './objects/StripesGeometry.js';
export {VertexNormal} from './objects/VertexNormal.js';
export {Text2D} from './objects/Text2D.js';
export {Grid} from './objects/Grid.js';
// Instanced, instance-pickable, outline-supporting materials and objects
export {ZSpriteBasicMaterial} from './materials/ZSpriteBasicMaterial.js';
export {ZSprite} from './objects/ZSprite.js';
export {ZShapeBasicMaterial} from './materials/ZShapeBasicMaterial.js';
export {ZShape} from './objects/ZShape.js';
export {ZTextMaterial} from './materials/ZTextMaterial.js';
export {ZText} from './objects/ZText.js';
// Program Management
export {MaterialProgramTemplate} from './program_management/MaterialProgramTemplate.js';
export {GLProgramManager} from './program_management/GLProgramManager.js';
export {GLProgram} from './program_management/GLProgram.js';
export {ShaderBuilder} from './program_management/ShaderBuilder.js';
// Renderers
export {Renderer} from './renderers/Renderer.js';
export {RenderTarget} from './renderers/RenderTarget.js';
export {RenderPass} from './renderers/RenderPass.js';
export {RenderQueue} from './renderers/RenderQueue.js';
export {MeshRenderer} from './renderers/MeshRenderer.js';
export {VolumeRenderer} from './renderers/VolumeRenderer.js';
export {RendererManager} from './renderers/RendererManager.js';
export {RenderQueueManager} from './renderers/RenderQueueManager.js';
export {RenderArray} from './renderers/RenderArray.js';
export {RenderArrayManager} from './renderers/RenderArrayManager.js';
export {FX} from './renderers/FX/FX.js';
export {BloomFX} from './renderers/FX/BloomFX.js';
export {VolumetricLightFX} from './renderers/FX/VolumetricLightFX.js';
export {SSAOFX} from './renderers/FX/SSAOFX.js';
export {SSAAFX} from './renderers/FX/SSAAFX.js';
export {FogFX} from './renderers/FX/FogFX.js';
export {OutlineFX} from './renderers/FX/OutlineFX.js';
export {FXAAFX} from './renderers/FX/FXAAFX.js';
export {PickerFX} from './renderers/FX/PickerFX.js';
export {ToneMapperFX} from './renderers/FX/ToneMapperFX.js';
export {ShadowMapFX} from './renderers/FX/ShadowMapFX.js';
export {DoFFX} from './renderers/FX/DoFFX.js';
// Controls (Input)
export {KeyboardInput} from './controls/KeyboardInput.js';
export {MouseInput} from './controls/MouseInput.js';
export {GamepadInput} from './controls/GamepadInput.js';