mirror of
https://forge.apps.education.fr/blender-edutech/ropy.git
synced 2024-01-27 08:23:20 +01:00
Migration vers UPBGE 0.36
This commit is contained in:
parent
d1b72bcfa6
commit
b51c70b8d6
BIN
ropy-33.blend
Normal file
BIN
ropy-33.blend
Normal file
Binary file not shown.
BIN
ropy_33.blend
Normal file
BIN
ropy_33.blend
Normal file
Binary file not shown.
3
rp.py
3
rp.py
@ -132,7 +132,8 @@ def terrain_init (cont):
|
||||
return False
|
||||
|
||||
# Configuration du moteur de rendu
|
||||
eevee.use_eevee_smaa = True
|
||||
# eevee.use_eevee_smaa = True # Option obsolète depuis la version UPBGE 0.36
|
||||
eevee.use_taa_reprojection = True
|
||||
|
||||
# Ajout du Hud
|
||||
scene.active_camera = scene.objects["Camera"]
|
||||
|
23
rp_about.py
23
rp_about.py
@ -423,7 +423,8 @@ def quality_apply(quality, start_flag=False):
|
||||
|
||||
# Inconvenant
|
||||
if quality== 0:
|
||||
eevee.use_eevee_smaa = False # Subpixel Morphological Antialiasing
|
||||
# eevee.use_eevee_smaa = False # Option obsolète depuis la version UPBGE 0.36
|
||||
eevee.use_taa_reprojection = False
|
||||
eevee.use_ssr = False # Screen space reflection
|
||||
eevee.use_gtao = False # Ambient occlusion
|
||||
eevee.taa_render_samples = 1
|
||||
@ -435,8 +436,9 @@ def quality_apply(quality, start_flag=False):
|
||||
|
||||
# Basse
|
||||
if quality== 1:
|
||||
eevee.use_eevee_smaa = True
|
||||
eevee.smaa_quality= 'LOW'
|
||||
# eevee.use_eevee_smaa = True # Option obsolète depuis la version UPBGE 0.36
|
||||
eevee.use_taa_reprojection = True
|
||||
# eevee.smaa_quality= 'LOW' # Option obsolète depuis la version UPBGE 0.36
|
||||
eevee.use_ssr = True # Screen space reflection
|
||||
eevee.use_ssr_refraction = False # Screen space refractions
|
||||
eevee.use_ssr_halfres = True
|
||||
@ -450,8 +452,9 @@ def quality_apply(quality, start_flag=False):
|
||||
|
||||
# Moyenne
|
||||
if quality== 2:
|
||||
eevee.use_eevee_smaa = True
|
||||
eevee.smaa_quality= 'MEDIUM'
|
||||
# eevee.use_eevee_smaa = True # Option obsolète depuis la version UPBGE 0.36
|
||||
eevee.use_taa_reprojection = True
|
||||
# eevee.smaa_quality= 'MEDIUM' # Option obsolète depuis la version UPBGE 0.36
|
||||
eevee.use_ssr = True # Screen space reflection
|
||||
eevee.use_ssr_refraction = True # Screen space refractions
|
||||
eevee.use_ssr_halfres = True
|
||||
@ -465,8 +468,9 @@ def quality_apply(quality, start_flag=False):
|
||||
|
||||
# Haute
|
||||
if quality== 3:
|
||||
eevee.use_eevee_smaa = True
|
||||
eevee.smaa_quality= 'HIGH'
|
||||
# eevee.use_eevee_smaa = True # Option obsolète depuis la version UPBGE 0.36
|
||||
eevee.use_taa_reprojection = True
|
||||
# eevee.smaa_quality= 'HIGH' # Option obsolète depuis la version UPBGE 0.36
|
||||
eevee.use_ssr = True
|
||||
eevee.use_ssr_refraction = True
|
||||
eevee.use_ssr_halfres = False
|
||||
@ -480,8 +484,9 @@ def quality_apply(quality, start_flag=False):
|
||||
|
||||
# Épique
|
||||
if quality== 4:
|
||||
eevee.use_eevee_smaa = True
|
||||
eevee.smaa_quality= 'ULTRA'
|
||||
# eevee.use_eevee_smaa = True # Option obsolète depuis la version UPBGE 0.36
|
||||
eevee.use_taa_reprojection = True
|
||||
# eevee.smaa_quality= 'ULTRA' # Option obsolète depuis la version UPBGE 0.36
|
||||
eevee.use_ssr = True
|
||||
eevee.use_ssr_refraction = True
|
||||
eevee.use_ssr_halfres = False
|
||||
|
@ -3,13 +3,13 @@
|
||||
<speed>1.0</speed>
|
||||
<sound>False</sound>
|
||||
<cam>
|
||||
<worldPosition.x>0.0057830810546875</worldPosition.x>
|
||||
<worldPosition.y>-26.440298080444336</worldPosition.y>
|
||||
<worldPosition.z>20.22315788269043</worldPosition.z>
|
||||
<worldPosition.x>-11.044218063354492</worldPosition.x>
|
||||
<worldPosition.y>1.4581406116485596</worldPosition.y>
|
||||
<worldPosition.z>1.424286127090454</worldPosition.z>
|
||||
</cam>
|
||||
<screen>
|
||||
<width>1557</width>
|
||||
<height>875</height>
|
||||
<width>1297</width>
|
||||
<height>730</height>
|
||||
<quality>4</quality>
|
||||
</screen>
|
||||
</config>
|
||||
|
Loading…
Reference in New Issue
Block a user