File: site_settings.py

package info (click to toggle)
python-visual 1%3A5.12-1.6
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 7,708 kB
  • ctags: 7,635
  • sloc: cpp: 15,593; sh: 9,615; ansic: 6,631; python: 4,737; makefile: 384
file content (16 lines) | stat: -rw-r--r-- 707 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# This file may be modified by the user (or site administrator, in a
# multi-user environment) to change settings or modify VPython to work
# around local configuration issues.

from visual import *

## Disabling shaders may be necessary on some systems where Visual fails
## to detect that the video hardware or drivers are incapable of competently
## rendering the shaders used to implement certain materials.  This will
## revert all objects to legacy rendering regardless of what material is
## chosen:
#display.enable_shaders = False

## Alternatively, it might be possible to fix some systems by disabling
## only some materials, remapping them to ones that work:
#materials.rough = materials.diffuse