Skip to content

Commit 7333fda

Browse files
committed
Added info for additional options for the scenes
1 parent 94f2f4e commit 7333fda

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ To change the settings of our algorithm, navigate to the `IDSMRenderer` group in
4444

4545
For more infos on the `ParticlePass` see the [Testing with more Scenes](#testing-with-more-scenes) section.
4646

47+
The `Ship`, `ManyLights` and `BistroExterior` `.pyscene` have additional options at the top of the file. The `.pyscenes` can be found in the `scene/[SceneName]` folder.
48+
4749
Controls:
4850
- `WASD` - Camera movement
4951
- `Left Click` + `Mouse movement` - Change camera direction

scenes/AnimationWithManyLights/SmokeParticlesAnimationWithManyLights.pyscene

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#4 - Many Lights 1 Spot
77
#5 - Many Lights 4 Spots
88
#6 - Many Lights 8 Spots
9-
scenario = 5
9+
scenario = 0
1010

1111
# Load scene
1212
sceneBuilder.importScene("AnimationAndLightSources.gltf")

scenes/LumberyardBistro/BistroExteriorWithSmokeParticles.pyscene

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
sunDirection = 1 #0 - Teaser; 1 - Comparison
2+
13
# Load scene
24
sceneBuilder.importScene("BistroExterior.fbx")
35

@@ -57,12 +59,10 @@ sceneBuilder.removeLight("directionalLight1")
5759

5860
sun = DirectionalLight("Sun")
5961
sun.intensity = float3(1.0, 0.7921 ,0.5137) * 20.0
60-
#sun.direction = float3(-0.000,-0.876,-0.482) #Original Direction
61-
#sun.direction = float3(-0.1,-0.864,-0.493) #More visible errors
62-
#sun.direction = float3(0.078,-0.909,0.409) #For TeaserCamera
63-
sun.direction = float3(0.456,-0.874,0.169) #For Comparison
64-
#sun.direction = float3(0.199, -0.894, 0.402) #Video Presentation
65-
62+
if(sunDirection == 0):
63+
sun.direction = float3(0.078,-0.909,0.409) #For Teaser
64+
else:
65+
sun.direction = float3(0.456,-0.874,0.169) #For Comparison
6666
sceneBuilder.addLight(sun)
6767

6868
#Load environment map

0 commit comments

Comments
 (0)