AVSim/simulation-package
Simulation runtime: the third-party half of the AVSim data generation package This repository holds the third-party runtime of the Simulation data generation package, version 3: the pieces the pipeline needs that were not written by the authors. It contains no code and no data of the authors. It is not usable on its own: the private half of the package, AVSim/simulation, downloads this repository into the same directory at a pinned revision with its fetch_runtime.sh script and… See the full description on the dataset page: https://huggingface.co/datasets/AVSim/simulation-package.
03.7k
1mdl 1.4;
2import ::anno::*;
3
4export const string TRANSFORM_NONE = "NONE";
5export const string TRANSFORM_UNORM_VECTOR = "UNORM_VECTOR";
6
7export const string FORMAT_RGBA8_UNORM = "RGBA8_UNORM";
8export const string FORMAT_R8_UNORM = "R8_UNORM";
9export const string FORMAT_RGBA16_SFLOAT = "RGBA16_SFLOAT";
10
11export const string BLEND_MODE_OPACITY = "opacity_blend";
12export const string BLEND_MODE_REPLACE = "replace";
13
14// This annotation is used to mark a material as target material for baking.
15// It is that is detected by the MDL SDK and neuray.
16export annotation target_material_model();
17
18export annotation target_material_rendering(
19 string rendering_material_override = "" // if set, the baked material will be rendering using this material,
20 // otherwise the target itself is used
21);
22
23export annotation target_baked_argument(
24 // the name of the baked texture parameter in the rendering material
25 string baked_name,
26
27 // the name of the constant parameter in the rendering material in case baking was not necessary
28 string constant_name = "",
29
30 // texture format to bake to
31 string format = "",
32
33 // transformations, like encoding normals into [0,1] range
34 string transform = TRANSFORM_NONE,
35
36 // blending, e.g., based on alpha or replace
37 string blend_mode = BLEND_MODE_OPACITY
38);
39 