This repository has been archived by the owner on Dec 25, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 26
/
config.json
68 lines (52 loc) · 2.99 KB
/
config.json
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
"fullScreen": false,
"vsync": false,
"windowWidth": 1280,
"windowHeight": 800,
"sampleCount": 4, // multisample anti-aliasing
"lodBias": 0, // sampler bias. positive is blurrier
"anisotropy": 4, // sampler anisotropy
"directStorage": true, // use directstorage vs. dedicated thread with ReadFile() and CopyTiles()
"stagingSizeMB": 128, // size of the staging buffer for DirectStorage or reference streaming code
// maximum number of in-flight batches of uploads
"numStreamingBatches": 1280,
"minNumUploadRequests": 2000, // # tiles. heuristic to reduce frequency of Submit() calls
"addAliasingBarriers": false, //// adds a barrier for each streaming resource: alias(nullptr, pResource)
"adapter": "", // create device on adapter with description containig substring ignoring case e.g. "intel"
"animationrate": 0, // rotation of individual objects
"cameraRate": 0, // camera motion rate
"rollerCoaster": false, // fly through, vs. orbiting, planets
"mediaDir": "media", // media directory
"skyTexture": "", // add a sky sphere. path relative to mediadir
"earthTexture": "earth", // when a texture containing this string is encountered, treat it as a mercator projection (no uv mirror)
"terrainTexture": "4kTiles.xet", // use this texture only for the terrain, no planets
"maxNumObjects": 985, // maximum total number of objects in the scene
"numSpheres": 0, // number of objects besides the terrain
"lightFromView": false, // light direction is look direction
"maxFeedbackTime": 5.0, // maximum milliseconds for GPU to resolve feedback
"visualizeMinMip": false, // color overlayed onto texture by PS corresponding to mip level
"hideFeedback": false, // hide the terrain feedback windows
"hideUI": false, // hide the UI
"miniUI": false, // use "lite" UI (bandwidth & heap occupancy only)
"updateAll": false, // update feedback for every object every frame
"heapSizeTiles": 24576, // size for each heap. 64KB per tile * 16384 tiles -> 1GB heap
"numHeaps": 1, // number of heaps. objects will be distributed among heaps
"maxTileUpdatesPerApiCall": 4096, // limit to # tiles passed to D3D12 UpdateTileMappings()
"waitForAssetLoad": false,
"timingStart": 0, // start recording statistics this frame
"timingStop": 0, // stop recording statistics this frame
"timingFileFrames": "", // file name for per-frame statistics. no statistics unless set. ".csv" will be appended
"exitImageFile": "", // if set, outputs final image on exit. extension (e.g. .png) will be appended
// sphere geometry
"sphereLong": 64, // # steps vertically. must be even
"sphereLat": 65, // # steps around. must be odd
// terrain (heightmap) geometry
"terrainSideSize": 128, // resolution of terrain vertex buffer, e.g. 256x256 grid
"heightScale": 50,
"noiseScale": 25,
"octaves": 8,
"mountainSize": 4000,
// applied to all internal threads: submit, fenceMonitor, processFeedback, updateResidency
// 1 prefers P cores, -1 prefers E cores. 0 is normal.
"threadPriority": 0
}