-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.def
53 lines (48 loc) · 3.1 KB
/
config.def
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
// The UI theme: light, mid, dark, darkest
type(fltk_viewer_window):theme=dark
// Data
// - dataset to load
//type(on_tube_vis):datapath=""
// - initial glyph layer config
type(on_tube_vis):layer_config_file="./testdata/layerconf_1layer_defaultprocedural.xml"
// Visualization and general settings
// - How node attributes are made available to the spline tube shader when using the rasterization render path
// 0 ... classical - [DEFAULT] use attributes of the proxy geometry
// 1 ... partial attribute-less - don't store curve data in proxy geometry attributes
// 2 ... partial attribute-less - don't store node color in proxy geometry attributes
// 3 ... fully attribute-less - fetch everything from GPU storage buffer
//type(on_tube_vis):attrib_mode=0
// - What type of proxy geometry to use for rasterization
// 0 ... oriented bounding boxes - may require using one of the attribute-less modes on older GPUs
// 1 ... approximate billboard - quadrilateral built from encapsulating the bounding box in a rounded cone and using the resulting analytic rounded cone billboard
// 2 ... exact polygon - flat polygon with 4 or 6 corners exactly covering the screen space silhouette of the oriented bounding box
// 3 ... box billboard - a single quadrilateral covering the full bounding box
// 4 ... aligned box billboard - [DEFAULT] use the front side of a view-aligned bounding box (use any of the other modes if very long segments dissapear when viewed up close)
//type(on_tube_vis):bounding_geometry=4
// - Enable benchmark mode if desired
//type(on_tube_vis):benchmark_mode=true
// - Bounding box visibility
type(on_tube_vis):show_bounding_box=false
type(on_tube_vis):show_wireframe_box=true
// - Grid mode: GM_NONE - no grid, GM_COLOR - color only, GM_NORMAL - normal mapping only, GM_COLOR_AND_NORMAL - color and normal mapping (default)
type(on_tube_vis):grid_mode=GM_COLOR_AND_NORMAL
// - Debugging
type(on_tube_vis):show_hidden_glyphs=false
// - Use ambient occlusion
type(on_tube_vis):ambient_occlusion=true
// - Voxelization device
//type(on_tube_vis):voxelize_gpu=true
// Framework settings
name(Stereo Interactor):clip_relative_to_extent=false
// Raycasted ribbon renderer settings
// - threshold for the linearity measure under which a (sub-)curve is considered linear (0 means actual true mathematical linearity)
//type(on_tube_vis):render_style.rcribbon_linearity_thr=0.015625
// - threshold for dot product between subsequent (unit-length) bitangents under which the curve is considered to be screwy
//type(on_tube_vis):render_style.rcribbon_screwiness_thr=0.9375
// - minimum length of a (sub-)curve at which no subdivisions will be performed anymore, in multiples of machine epsilon (roughly 0.00000012)
//type(on_tube_vis):render_style.rcribbon_subdiv_abort_thr=512
// - maximum size the in-shader subcurve stack is allowed to grow to (one element is one potential sub curve to intersect)
//type(on_tube_vis):render_style.rcribbon_max_intersection_stack_size=8
// - make this persistent in you local .cfg
type(on_tube_vis):instant_redraw_proxy=false
type(on_tube_vis):fix_view_up_dir_proxy=false