-
Notifications
You must be signed in to change notification settings - Fork 0
/
data.js
26 lines (24 loc) · 1.16 KB
/
data.js
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
/*
* Filename: data.js
* Description: Data (file references) to texture urls for the cylindrical display preview.
*
* Version: 2024.11
* Author: Nico Reski
* GitHub: https://github.com/nicoversity
*/
// array containing objects with references to all texture files for preview in the cylindrical display
// note: ideally, texture files are in a resolution and/or aspect ratio that are in line with the cylindrical display configuration (see CylindricalDisplayConfig in config.js)
// how to determine aspect ratio based on radius (r) and height (h) in CylindricalDisplayConfig:
// * step 1. determine cylindrical display circumference (c) = 2 * PI * r
// * step 2. determine aspect ratio (ar:1) = c / h
const CylindricalDisplayData = [
{
// test/reference image, dividing the cylindrical 360 space into eight equally sized sections; Nico Reski
textureUrl: "./public/cd_360_eighths-12288x1200px.png"
},
{
// 3D scene rendered with equirectangular projection (cylindrical equidistant projection); created using Unity; Nico Reski
textureUrl: "./public/unity_3d_test-4096x400px.png"
}
];
export { CylindricalDisplayData as CDData };