Преглед изворни кода

Add path tracing to tweakpane editor

master
Palash Bansal пре 11 месеци
родитељ
комит
d31899c178
No account linked to committer's email address
3 измењених фајлова са 5 додато и 1 уклоњено
  1. 1
    0
      .idea/threepipe.iml
  2. 3
    1
      examples/tweakpane-editor/ThreeEditor.ts
  3. 1
    0
      examples/tweakpane-editor/index.html

+ 1
- 0
.idea/threepipe.iml Прегледај датотеку

<excludeFolder url="file://$MODULE_DIR$/plugins/3d-tiles-renderer/dist" /> <excludeFolder url="file://$MODULE_DIR$/plugins/3d-tiles-renderer/dist" />
<excludeFolder url="file://$MODULE_DIR$/plugins/3d-tiles-renderer/docs" /> <excludeFolder url="file://$MODULE_DIR$/plugins/3d-tiles-renderer/docs" />
<excludeFolder url="file://$MODULE_DIR$/plugins/assimpjs/docs" /> <excludeFolder url="file://$MODULE_DIR$/plugins/assimpjs/docs" />
<excludeFolder url="file://$MODULE_DIR$/plugins/path-tracing/docs" />
</content> </content>
<orderEntry type="inheritedJdk" /> <orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" /> <orderEntry type="sourceFolder" forTests="false" />

+ 3
- 1
examples/tweakpane-editor/ThreeEditor.ts Прегледај датотеку

GlobeControlsPlugin, GlobeControlsPlugin,
} from '@threepipe/plugin-3d-tiles-renderer' } from '@threepipe/plugin-3d-tiles-renderer'
import {AssimpJsPlugin} from '@threepipe/plugin-assimpjs' import {AssimpJsPlugin} from '@threepipe/plugin-assimpjs'
import {ThreeGpuPathTracerPlugin} from '@threepipe/plugin-path-tracing'
// @ts-expect-error todo fix import // @ts-expect-error todo fix import
import {BloomPlugin, DepthOfFieldPlugin, SSContactShadowsPlugin, SSReflectionPlugin, TemporalAAPlugin, VelocityBufferPlugin, OutlinePlugin, SSGIPlugin, AnisotropyPlugin} from '@threepipe/webgi-plugins' import {BloomPlugin, DepthOfFieldPlugin, SSContactShadowsPlugin, SSReflectionPlugin, TemporalAAPlugin, VelocityBufferPlugin, OutlinePlugin, SSGIPlugin, AnisotropyPlugin} from '@threepipe/webgi-plugins'


B3DMLoadPlugin, I3DMLoadPlugin, PNTSLoadPlugin, CMPTLoadPlugin, B3DMLoadPlugin, I3DMLoadPlugin, PNTSLoadPlugin, CMPTLoadPlugin,
TilesRendererPlugin, DeepZoomImageLoadPlugin, /* SlippyMapTilesLoadPlugin,*/ TilesRendererPlugin, DeepZoomImageLoadPlugin, /* SlippyMapTilesLoadPlugin,*/
new AssimpJsPlugin(false), new AssimpJsPlugin(false),
new ThreeGpuPathTracerPlugin(false),
] ]


editorModes: Record<string, Class<IViewerPlugin<any>>[]> = { editorModes: Record<string, Class<IViewerPlugin<any>>[]> = {
['Viewer']: [ViewerUiConfigPlugin, DropzonePlugin, FullScreenPlugin, TweakpaneUiPlugin, LoadingScreenPlugin, InteractionPromptPlugin],
['Viewer']: [ViewerUiConfigPlugin, DropzonePlugin, FullScreenPlugin, TweakpaneUiPlugin, LoadingScreenPlugin, InteractionPromptPlugin, ThreeGpuPathTracerPlugin],
['Scene']: [SSAAPlugin, BaseGroundPlugin, SceneUiConfigPlugin, ContactShadowGroundPlugin], ['Scene']: [SSAAPlugin, BaseGroundPlugin, SceneUiConfigPlugin, ContactShadowGroundPlugin],
['Interaction']: [HierarchyUiPlugin, TransformControlsPlugin, PickingPlugin, OutlinePlugin, Object3DGeneratorPlugin, GeometryGeneratorPlugin, EditorViewWidgetPlugin, Object3DWidgetsPlugin, MeshOptSimplifyModifierPlugin], ['Interaction']: [HierarchyUiPlugin, TransformControlsPlugin, PickingPlugin, OutlinePlugin, Object3DGeneratorPlugin, GeometryGeneratorPlugin, EditorViewWidgetPlugin, Object3DWidgetsPlugin, MeshOptSimplifyModifierPlugin],
['GBuffer']: [GBufferPlugin, DepthBufferPlugin, NormalBufferPlugin], ['GBuffer']: [GBufferPlugin, DepthBufferPlugin, NormalBufferPlugin],

+ 1
- 0
examples/tweakpane-editor/index.html Прегледај датотеку

"@threepipe/plugin-gaussian-splatting": "./../../plugins/gaussian-splatting/dist/index.mjs", "@threepipe/plugin-gaussian-splatting": "./../../plugins/gaussian-splatting/dist/index.mjs",
"@threepipe/plugin-3d-tiles-renderer": "./../../plugins/3d-tiles-renderer/dist/index.mjs", "@threepipe/plugin-3d-tiles-renderer": "./../../plugins/3d-tiles-renderer/dist/index.mjs",
"@threepipe/plugin-assimpjs": "./../../plugins/assimpjs/dist/index.mjs", "@threepipe/plugin-assimpjs": "./../../plugins/assimpjs/dist/index.mjs",
"@threepipe/plugin-path-tracing": "./../../plugins/path-tracing/dist/index.mjs",
"@threepipe/webgi-plugins": "https://unpkg.com/@threepipe/webgi-plugins@0.4.1/dist/index.mjs" "@threepipe/webgi-plugins": "https://unpkg.com/@threepipe/webgi-plugins@0.4.1/dist/index.mjs"
} }
} }

Loading…
Откажи
Сачувај