aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2020-01-09 15:18:18 +0100
committerAdrian Kummerlaender2020-01-09 15:21:15 +0100
commitace393dbc86ad332c0ecd374157640cbbd909938 (patch)
tree0def37791c9a7fcf58f5f14c53885d55ce7953a3
parented54f6f987decbbaefd59eee32326c750a3f2896 (diff)
downloadfirmament-ace393dbc86ad332c0ecd374157640cbbd909938.tar
firmament-ace393dbc86ad332c0ecd374157640cbbd909938.tar.gz
firmament-ace393dbc86ad332c0ecd374157640cbbd909938.tar.bz2
firmament-ace393dbc86ad332c0ecd374157640cbbd909938.tar.lz
firmament-ace393dbc86ad332c0ecd374157640cbbd909938.tar.xz
firmament-ace393dbc86ad332c0ecd374157640cbbd909938.tar.zst
firmament-ace393dbc86ad332c0ecd374157640cbbd909938.zip
Fix exposure value in bluedot example
-rw-r--r--bluedot.py6
-rw-r--r--planets.py1
2 files changed, 3 insertions, 4 deletions
diff --git a/bluedot.py b/bluedot.py
index 4b906a8..2f937e3 100644
--- a/bluedot.py
+++ b/bluedot.py
@@ -16,14 +16,14 @@ config = {
'ray_samples': 16,
'light_samples': 8,
- 'exposure': 20.0,
- 'zoom': 2.0,
+ 'exposure': 2.0,
+ 'zoom': 2.5,
'eye_pos': numpy.array([0, -3, 1.1]),
'eye_dir': numpy.array([0, 1, -0.35])
}
-sun_range = (0, 360, 1)
+sun_range = (0, 360, 10)
cl_platform = cl.get_platforms()[0]
cl_context = cl.Context(properties=[(cl.context_properties.PLATFORM, cl_platform)])
diff --git a/planets.py b/planets.py
index 1d955f5..50f6bd0 100644
--- a/planets.py
+++ b/planets.py
@@ -6,7 +6,6 @@ earth = {
'mie_atmos_height' : 1200,
'rayleigh_beta': (5.196e-6, 12.142e-6, 29.645e-6),
- #'rayleigh_beta': (3.8e-6, 13.5e-6, 33.1e-6),
'mie_beta' : (21e-6),
'mie_g' : 0.75
}