forked from GameTechDev/SamplerFeedbackStreaming
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json
66 lines (52 loc) · 3.05 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
{
"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": 256, // size of the staging buffer for DirectStorage or reference streaming code
"addAliasingBarriers": false, //// adds a barrier for each streaming resource: alias(nullptr, pResource)
"adapter": "", // in a multi-adapter system, searches description for 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
"texture": "", // setting this overrides all textures, invalidates mediadir
"skyTexture": "", // add a sky sphere. path relative to mediadir
"earthTexture": "", // when this texture is encountered, treat it as spherically projected (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()
// maximum number of in-flight command lists
// note a command list can only target a single resource
// based on guidance around maximum outstanding SSD read requests: drives aren't expected to benefit from lots of queueing
// more queueing is counter-productive, as copies might arrive after the target is no longer visible
"numStreamingBatches": 64,
"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
}