Reference documentation
asset_preparation_api/common/chunk.proto
This file describes the messages used for import/export.
Chunk
A block of data.
Note: The recommended size is in the range 256kB to 1MB.
No data higher than 2GB can be handled.
| Field | Type | Label | Description |
|---|---|---|---|
| metadata | Chunk.MetadataEntry | repeated | |
| bytes | bytes |
Chunk-MetadataEntry
| Field | Type | Label | Description |
|---|---|---|---|
| key | string | ||
| value | string |
asset_preparation_api/common/common.proto
This file describes the messages used in several proto files.
ColorHsv
Hsv value of a color.
| Field | Type | Label | Description |
|---|---|---|---|
| hue | google.protobuf.DoubleValue | Unit: Degree Note: Must be a double in the range [0,360]. | |
| saturation | google.protobuf.DoubleValue | Note: Must be a double in the range [0,100]. | |
| value | google.protobuf.DoubleValue | Note: Must be a double in the range [0,100]. |
ColorRgb
RGB value of a color.
| Field | Type | Label | Description |
|---|---|---|---|
| red | google.protobuf.Int32Value | Note: Must be an integer in the range [0,255]. | |
| green | google.protobuf.Int32Value | Note: Must be an integer in the range [0,255]. | |
| blue | google.protobuf.Int32Value | Note: Must be an integer in the range [0,255]. |
Empty
An empty message used for none type.
ConflictPolicy
The conflict policy to define what should be imported when there is any name conflict detected between objects from the environment or scene tree to import and the objects already existing on the server.
Note: Scene trees, light instances, nodes and material parts cannot have name conflicts.
| Name | Number | Description |
|---|---|---|
| CONFLICT_POLICY_UNSPECIFIED | 0 | Unspecified conflict policy. |
| CONFLICT_POLICY_STOP | 1 | The import operation is canceled when there is a conflict with the server's objects. Note: This is the default behavior when no policy is specified. |
| CONFLICT_POLICY_KEEP_EXISTING | 2 | When there is a conflict with the server's objects, the import operation continues without importing the conflicting objects. The already existing objects are used in the imported environment/scene tree. |
| CONFLICT_POLICY_OVERRIDE | 3 | When there is a conflict with the server's objects, the import operation continues and the objects from the imported environment/scene tree override the already existing objects. |
| CONFLICT_POLICY_KEEP_BOTH | 4 | When there is a conflict with the server's objects, the import operation continues and both conflicting objects are kept: the objects already existing remains on the server and the objects coming from the import operation are automatically renamed and used in the imported environment/scene tree. |
asset_preparation_api/common/reset.proto
This file describes the service used to reset the server.
Reset
Reset Preparation Service
This service is used to clear the server.
Note: Resetting the server removes from the server all the "in-memory" data, namely all the data imported or created, collections and identifiers.
| Method Name | Request Type | Response Type | Description |
|---|---|---|---|
| Reset | .google.protobuf.Empty | ResetResponse | Reset server, all collections and identifiers. |
asset_preparation_api/common/reset_description.proto
This file describes the messages used to reset the server.
ResetResponse
The information required to reset the server.
| Field | Type | Label | Description |
|---|---|---|---|
| status | asset_preparation.v3.common.Status | The feedback status of the reset operation. |
asset_preparation_api/common/status.proto
This file describes the status messages used in several proto files.
Status
A status message informing about the success of a request.
| Field | Type | Label | Description |
|---|---|---|---|
| code | int32 | The status code. | |
| feedback_message | string | The feedback message. | |
| level | Level | The severity level. |
Level
The severity of the feedback on an operation.
| Name | Number | Description |
|---|---|---|
| LEVEL_UNSPECIFIED | 0 | The severity is unspecified. |
| LEVEL_ERROR | 1 | The operation returned an error. |
| LEVEL_WARNING | 2 | The operation succeeded with warnings. |
| LEVEL_INFORMATION | 3 | The operation fully succeeded. |
asset_preparation_api/common/tag.proto
This file describes the messages used to define tags.
Properties
The properties of a tag.
| Field | Type | Label | Description |
|---|---|---|---|
| label | google.protobuf.StringValue | Optional label. Note: It can be added only for the tags with the following types: BASIC_TYPE_PEDESTRIAN BASIC_TYPE_VEHICLE BASIC_TYPE_ANIMAL BASIC_TYPE_STREET_LIGHT BASIC_TYPE_ROAD_SIGN BASIC_TYPE_SIMULATION_OBJECT BASIC_TYPE_CUSTOM_OBJECT BASIC_TYPE_ILLUMINANCE_SENSOR | |
| name | google.protobuf.StringValue | The name of the custom tag. Note: Needed only for the tags with the BASIC_TYPE_CUSTOM_OBJECT type. | |
| identifier | google.protobuf.Int32Value | The identifier of the wheel tag. Note: Needed only for the tags with the BASIC_TYPE_WHEEL type. Here is the convention for wheel identifier in AVX: The front left wheel identifier must be 0. The front right wheel identifier must be 1. The rear left wheel identifier must be 2. The rear right wheel identifier must be 3. | |
| position | SidePosition | The position of the lighting element. Note: Needed only for the tags with the LIGHTING_TYPE_TURN_INDICATOR and LIGHTING_TYPE_DAYTIME_RUNNING_LIGHT types. | |
| irradiance_map_identifier | google.protobuf.Int32Value | Optional identifier of the irradiance map. Note: It can be added only for the tags with the BASIC_TYPE_VEHICLE type. |
Tag
The definition of a tag.
| Field | Type | Label | Description |
|---|---|---|---|
| basic_type | BasicType | Basic tag type. | |
| lighting_type | LightingType | Lighting tag type. | |
| properties | Properties | Properties of the tag. |
TagIdentity
The identity of a tag.
| Field | Type | Label | Description |
|---|---|---|---|
| basic_type | BasicType | Basic tag type. | |
| lighting_type | LightingType | Lighting tag type. | |
| name | google.protobuf.StringValue | The name of the tag. Note: Needed only for the tags with the BASIC_TYPE_CUSTOM_OBJECT type. |
BasicType
Types for a basic element tag.
| Name | Number | Description |
|---|---|---|
| BASIC_TYPE_UNSPECIFIED | 0 | The basic tag type is unspecified. |
| BASIC_TYPE_PEDESTRIAN | 1 | The element is tagged as a pedestrian. |
| BASIC_TYPE_VEHICLE | 2 | The element is tagged as a vehicle. |
| BASIC_TYPE_ANIMAL | 3 | The element is tagged as an animal. |
| BASIC_TYPE_STREET_LIGHT | 4 | The element is tagged as a street light. |
| BASIC_TYPE_ROAD_SIGN | 5 | The element is tagged as a road sign. |
| BASIC_TYPE_SIMULATION_OBJECT | 6 | The element is tagged as a simulation object. |
| BASIC_TYPE_CUSTOM_OBJECT | 7 | The element is tagged as a custom simulation object. Note: If you want to tag a dynamic asset as a custom simulation object, you must add the custom tag first, then add a second asset tag: BASIC_TYPE_VEHICLE, BASIC_TYPE_PEDESTRIAN or BASIC_TYPE_ANIMAL, in this specific order. |
| BASIC_TYPE_VEHICLE_BODY | 8 | The element is tagged as a vehicle body. |
| BASIC_TYPE_SENSOR_REFERENTIAL | 9 | The element is tagged as the sensor referential of a vehicle. |
| BASIC_TYPE_LIGHTING_SYSTEM_REFERENTIAL | 10 | The element is tagged as the lighting system referential of a vehicle. |
| BASIC_TYPE_WHEEL | 11 | The element is tagged as a wheel of a vehicle. |
| BASIC_TYPE_STEERING_WHEEL | 12 | The element is tagged as the steering wheel of a vehicle. |
| BASIC_TYPE_ILLUMINANCE_SENSOR | 13 | The element is tagged as the illuminance sensor anchor node of a vehicle. |
LightingType
Types for a lighting element tag.
| Name | Number | Description |
|---|---|---|
| LIGHTING_TYPE_UNSPECIFIED | 0 | The lighting tag type is unspecified. |
| LIGHTING_TYPE_BRAKE_LIGHT | 1 | The lighting element is tagged as a brake light. |
| LIGHTING_TYPE_LOW_BEAM | 2 | The lighting element is tagged as a low beam. |
| LIGHTING_TYPE_HIGH_BEAM | 3 | The lighting element is tagged as a high beam. |
| LIGHTING_TYPE_TURN_INDICATOR | 4 | The lighting element is tagged as a turn indicator. |
| LIGHTING_TYPE_REAR_FOG_LIGHT | 5 | The lighting element is tagged as a rear fog light. |
| LIGHTING_TYPE_FRONT_FOG_LIGHT | 6 | The lighting element is tagged as a front fog light. |
| LIGHTING_TYPE_SIDE_LIGHT | 7 | The lighting element is tagged as a side light. |
| LIGHTING_TYPE_REAR_POSITION_LIGHT | 8 | The lighting element is tagged as a rear position light. |
| LIGHTING_TYPE_REVERSE_LIGHT | 9 | The lighting element is tagged as a reverse light. |
| LIGHTING_TYPE_LICENSE_PLATE_LIGHT | 10 | The lighting element is tagged as a license plate light. |
| LIGHTING_TYPE_DAYTIME_RUNNING_LIGHT | 11 | The lighting element is tagged as a daytime running light. |
SidePosition
The position of the lighting element.
Note: Needed only for the tags with the LIGHTING_TYPE_TURN_INDICATOR and LIGHTING_TYPE_DAYTIME_RUNNING_LIGHT types.
| Name | Number | Description |
|---|---|---|
| SIDE_POSITION_UNSPECIFIED | 0 | The position of the lighting element is unspecified. |
| SIDE_POSITION_LEFT | 1 | The lighting element is on the left side of the vehicle. |
| SIDE_POSITION_RIGHT | 2 | The lighting element is on the right side of the vehicle. |
asset_preparation_api/directionalLight/directional_light.proto
This file describes the service used to create, edit and manage directional lights.
DirectionalLightPreparation
Directional Light Preparation Service
This service is used to create, edit and manage directional lights.
| Method Name | Request Type | Response Type | Description |
|---|---|---|---|
| CreateDirectionalLight | CreateDirectionalLightRequest | CreateDirectionalLightResponse | Creates a new directional light with an optional name, type and shadows. Note: Names must be unique amongst directional lights. Note: If unspecified, default values are used. Returns the identifier of the created directional light. |
| GetDirectionalLight | GetDirectionalLightRequest | GetDirectionalLightResponse | Gets the properties of a directional light, given its identifier. Returns the directional light properties. |
| ListDirectionalLights | .google.protobuf.Empty | ListDirectionalLightsResponse | Lists all the created directional lights. Returns the identifiers and names of the directional lights. |
| UpdateDirectionalLight | UpdateDirectionalLightRequest | UpdateDirectionalLightResponse | Edits the properties of a directional light, given its identifier. Note: Names must be unique amongst directional lights. |
| DeleteDirectionalLight | DeleteDirectionalLightRequest | DeleteDirectionalLightResponse | Deletes a directional light, given its identifier. |
| CreateDirectionalLightState | CreateDirectionalLightStateRequest | CreateDirectionalLightStateResponse | Creates a new directional light state with optional properties. Note: Names must be unique amongst sibling directional light states. Note: "Default" name is reserved. Note: If some properties are not specified, default values are used. Returns the information about the created directional light state. |
| GetDirectionalLightState | GetDirectionalLightStateRequest | GetDirectionalLightStateResponse | Gets the properties of a directional light state, given the parent directional light identifier and the state name. Returns the directional light state properties. |
| UpdateDirectionalLightState | UpdateDirectionalLightStateRequest | UpdateDirectionalLightStateResponse | Edits the properties of a state, given the parent directional light identifier and the state name. Note: Names must be unique amongst sibling directional light states. Note: "Default" name is reserved. |
| DeleteDirectionalLightState | DeleteDirectionalLightStateRequest | DeleteDirectionalLightStateResponse | Deletes a directional light state, given the parent directional light identifier and the state name. |
asset_preparation_api/directionalLight/directional_light_description.proto
This file describes the messages used to create, edit and manage directional lights.
BlackBody
Spectrum based on a black body.
| Field | Type | Label | Description |
|---|---|---|---|
| temperature | google.protobuf.DoubleValue | The temperature of the black body. Unit: Kelvin (K) Note: Must be in the range [0,30000]. Note: The default value is 5500. |
CreateDirectionalLightRequest
The information required to create a directional light.
| Field | Type | Label | Description |
|---|---|---|---|
| name | google.protobuf.StringValue | The directional light name. Note: Names must be unique amongst directional lights. Note: If no name is defined, a default unique name is automatically set. | |
| properties | DirectionalLightProperties | The directional light properties. |
CreateDirectionalLightResponse
The identifier of the created directional light.
| Field | Type | Label | Description |
|---|---|---|---|
| identity | DirectionalLightIdentity | The identity of the directional light. Returns null in case of failure. | |
| status | asset_preparation.v3.common.Status | The feedback status of the creation operation. |
CreateDirectionalLightStateRequest
The information required to create a directional light state.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The directional light identifier. | |
| state_name | string | The state name. Note: Names must be unique amongst sibling directional light states. Note: "Default" name is reserved. | |
| base_state_name | google.protobuf.StringValue | The name of an already existing state on which will be based the state to create. Note: If not defined, the directional light properties are used. | |
| state_properties | DirectionalLightProperties | The state properties. |
CreateDirectionalLightStateResponse
The response returned when creating a directional light state.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | int32 | The directional light identifier. | |
| state_name | string | The new state name. | |
| status | asset_preparation.v3.common.Status | The feedback status of the creation operation. |
Custom
The properties of a custom directional light.
| Field | Type | Label | Description |
|---|---|---|---|
| exitance | google.protobuf.DoubleValue | The directional light exitance. Unit: lm/m2 Note: Must be positive. Note: The default value is 40000. | |
| spectrum_library | SpectrumLibrary | Spectrum based on a spectrum file. Note: This is the default type of spectrum. | |
| black_body | BlackBody | Spectrum based on a black body. | |
| monochromatic | Monochromatic | Monochromatic spectrum. | |
| color_rgb | asset_preparation.v3.common.ColorRgb | Spectrum based on a RGB color. Note: Default value is (255,255,255). | |
| color_hsv | asset_preparation.v3.common.ColorHsv | Spectrum based on an HSV color. Note: Default value is (0,0,100). |
DeleteDirectionalLightRequest
The information required to delete a directional light.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The identifier of the directional light to delete. |
DeleteDirectionalLightResponse
The response returned when deleting a directional light.
| Field | Type | Label | Description |
|---|---|---|---|
| status | asset_preparation.v3.common.Status | The feedback status of the delete operation. |
DeleteDirectionalLightStateRequest
The information required to delete a directional light state.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The directional light identifier. | |
| state_name | string | The name of the state to delete. |
DeleteDirectionalLightStateResponse
The response returned when deleting a directional light state.
| Field | Type | Label | Description |
|---|---|---|---|
| status | asset_preparation.v3.common.Status | The feedback status of the delete operation. |
DirectionalLightIdentity
The full identity of a directional light, consisting of an identifier and a name.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | int32 | The directional light identifier. | |
| name | string | The directional light name. |
DirectionalLightProperties
The properties of a directional light.
| Field | Type | Label | Description |
|---|---|---|---|
| sun | Sun | Sun directional light. Note: This is the default type of directional light. | |
| custom | Custom | Custom directional light. | |
| no_shadow | asset_preparation.v3.common.Empty | The directional light does not cast shadows. | |
| dynamic_accurate_shadows | DynamicAccurateShadows | The directional light produces shadows with Parallel-Split Shadow Maps with adaptive details. Note: This is the default type of shadows. |
DynamicAccurateShadows
The properties of dynamic accurate shadows.
| Field | Type | Label | Description |
|---|---|---|---|
| shadow_offset_ratio | google.protobuf.DoubleValue | The shadow offset ratio. Note: Must be above 0.00001. Note: The default value is 0.01. | |
| shadow_radius | google.protobuf.DoubleValue | The shadow radius. Note: Must be equal or superior to 0. Note: The default value is 0. | |
| softness | google.protobuf.DoubleValue | The softness. Note: Must be in the range [0,2]. Note: The default value is 0. | |
| resolution | google.protobuf.Int32Value | The resolution. Note: Must be an integer in the range [1,8]. Note: The default value is 4. | |
| near_field_precision | google.protobuf.DoubleValue | The near field precision. Note: Must be in the range [0,1]. Note: The default value is 0.99. |
GetDirectionalLightRequest
The information required to examine a directional light.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The identifier of the directional light to examine. |
GetDirectionalLightResponse
The information about a directional light.
| Field | Type | Label | Description |
|---|---|---|---|
| identity | DirectionalLightIdentity | The directional light identity. | |
| properties | DirectionalLightProperties | The directional light properties. | |
| state_names | string | repeated | The names of the directional light states. |
| status | asset_preparation.v3.common.Status | The feedback status of the examination operation. |
GetDirectionalLightStateRequest
The information required to examine a state.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The identifier of the directional light. | |
| state_name | string | The name of the state to examine. |
GetDirectionalLightStateResponse
The information about a directional light state.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | int32 | The identifier of the examined directional light. | |
| state_name | string | The state name. | |
| state_properties | DirectionalLightProperties | The properties of the examined state. | |
| status | asset_preparation.v3.common.Status | The feedback status of the reading operation. |
ListDirectionalLightsResponse
The identities of all directional lights in the collection.
| Field | Type | Label | Description |
|---|---|---|---|
| directional_lights | DirectionalLightIdentity | repeated | Directional light identities. |
| status | asset_preparation.v3.common.Status | The feedback status of the listing operation. |
Monochromatic
Monochromatic spectrum.
| Field | Type | Label | Description |
|---|---|---|---|
| wavelength | google.protobuf.DoubleValue | The emission wavelength of the Spectrum. Unit: nanometer (nm) Note: Must be in the range [360,813]. Note: The default value is 580. |
SpectrumLibrary
Spectrum based on a spectrum file.
| Field | Type | Label | Description |
|---|---|---|---|
| spectrum_identifier | google.protobuf.Int32Value | The identifier of the spectrum (created using the Resource service) referenced in the directional light. Note: The spectrum reference can be removed by setting the value '-1'. |
Sun
The properties of a sun directional light.
| Field | Type | Label | Description |
|---|---|---|---|
| turbidity | google.protobuf.DoubleValue | The sun turbidity. Note: Must be in the range [2,9]. Note: The default value is 3. |
UpdateDirectionalLightRequest
The information required to update a directional light.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The identifier of the directional light to update. | |
| name | google.protobuf.StringValue | The directional light name. Note: Names must be unique amongst directional lights. Note: If no name is defined, the name is not updated. | |
| properties | DirectionalLightProperties | The directional light properties. Note: All the properties are optional. |
UpdateDirectionalLightResponse
The response returned when updating a directional light.
| Field | Type | Label | Description |
|---|---|---|---|
| status | asset_preparation.v3.common.Status | The feedback status of the update operation. |
UpdateDirectionalLightStateRequest
The information required to update a directional light state.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The directional light identifier. | |
| state_name | string | The current name of the state. | |
| state_new_name | google.protobuf.StringValue | The new name of the state. Note: Names must be unique amongst sibling directional light states. Note: "Default" name is reserved. | |
| state_properties | DirectionalLightProperties | The new state properties. |
UpdateDirectionalLightStateResponse
The response returned when updating a directional light state.
| Field | Type | Label | Description |
|---|---|---|---|
| state_name | string | The state name. | |
| status | asset_preparation.v3.common.Status | The feedback status of the update operation. |
asset_preparation_api/environment/environment.proto
This file describes the service used to create, edit and manage environments.
EnvironmentPreparation
Environment Preparation Service
This service is used to create, edit and manage environments.
| Method Name | Request Type | Response Type | Description |
|---|---|---|---|
| CreateEnvironment | CreateEnvironmentRequest | CreateEnvironmentResponse | Creates a new environment with an optional given name. Note: Names must be unique amongst environments. Returns the identifier of the created environment. |
| GetEnvironment | GetEnvironmentRequest | GetEnvironmentResponse | Gets an environment properties, given its identifier. Returns the environment properties. |
| ListEnvironments | .google.protobuf.Empty | ListEnvironmentsResponse | Lists all the created environments. Returns the identifiers and names of the environments. |
| UpdateEnvironment | UpdateEnvironmentRequest | UpdateEnvironmentResponse | Edits the properties of an environment, given its identifier. Note: Names must be unique amongst environments. |
| DeleteEnvironment | DeleteEnvironmentRequest | DeleteEnvironmentResponse | Deletes an environment, given its identifier. |
| PutEnvironmentFromTrackChunks | .asset_preparation.v3.common.Chunk stream | PutEnvironmentFromTrackResponse | Creates a new environment on the server by uploading a track as a given stream of chunks containing the "AVX ConflictPolicy" metadata. All dependencies are uploaded into corresponding services, depending on the given conflict policy. Note: It is not possible to upload a track including an object in which several states have the same name, or including a geometry with several material parts with the same name. |
| PutEnvironmentFromTrackFile | PutEnvironmentFromTrackFileRequest | PutEnvironmentFromTrackResponse | Creates a new environment on the server by uploading a given track file. All dependencies are uploaded into corresponding services, depending on the given conflict policy. Note: It is not possible to upload a track including an object in which several states have the same name, or including a geometry with several material parts with the same name. |
| GetTrackChunks | GetTrackChunksRequest | .asset_preparation.v3.common.Chunk stream | Packages the environment as a track and exports it as a byte stream. Note: The last chunk of the stream provides the metadata "AVX Status Error" if an error occurred, "AVX Status Warning" or "AVX Status Info" if the export succeeded. |
| GetTrackFile | GetTrackFileRequest | GetTrackFileResponse | Packages the environment as a track and exports it as a .track file. |
asset_preparation_api/environment/environment_description.proto
This file describes the messages used to create, edit and manage environments.
CreateEnvironmentRequest
The information required to create an environment.
| Field | Type | Label | Description |
|---|---|---|---|
| name | google.protobuf.StringValue | The environment name. Note: Names must be unique amongst environments. Note: If no name is defined, a default unique name is automatically set. | |
| properties | EnvironmentProperties | The environment properties. |
CreateEnvironmentResponse
The identifier of the created environment.
| Field | Type | Label | Description |
|---|---|---|---|
| identity | EnvironmentIdentity | The environment identity. Returns null in case of failure. | |
| status | asset_preparation.v3.common.Status | The feedback status of the creation operation. |
DeleteEnvironmentRequest
The information required to delete an environment.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The identifier of the environment to delete. |
DeleteEnvironmentResponse
The response returned when deleting an environment.
| Field | Type | Label | Description |
|---|---|---|---|
| status | asset_preparation.v3.common.Status | The feedback status of the delete operation. |
EnvironmentIdentity
The full identity of an environment, consisting of an identifier and a name.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | int32 | The environment identifier. | |
| name | string | The environment name. |
EnvironmentProperties
The properties of an environment.
| Field | Type | Label | Description |
|---|---|---|---|
| scene_tree | google.protobuf.Int32Value | The identifier of the scene tree referenced in the environment. Note: The scene tree reference can be removed by setting the value '-1'. Note: A scene tree reference must be provided before exporting the track. | |
| added_skies | SkyLists | The identifiers of the skies to add to the environment. | |
| removed_skies | SkyLists | The identifiers of the skies to remove from the environment. | |
| no_active_sky | asset_preparation.v3.common.Empty | No active sky. Note: If the active sky is not defined, the first sky added to the environment will be set as active. If there is no sky in the environment, a default natural sky is created at export and set as active. | |
| active_natural_sky | int32 | The natural sky to set as active. | |
| active_hdri_sky | int32 | The HDRI sky to set as active. |
GetEnvironmentRequest
The information required to examine an environment.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The identifier of the environment to examine. |
GetEnvironmentResponse
The information about an environment.
| Field | Type | Label | Description |
|---|---|---|---|
| identity | EnvironmentIdentity | The environment identity. | |
| properties | EnvironmentProperties | The environment properties. | |
| status | asset_preparation.v3.common.Status | The feedback status of the examination operation. |
GetTrackChunksRequest
The information required to export an environment as a stream of track chunks.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The identifier of the environment to export. |
GetTrackFileRequest
The information required to export an environment as a track file.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The identifier of the environment to export. | |
| file_path | string | The path of the exported file. | |
| overwrite | google.protobuf.BoolValue | Describes whether the file should be overwritten. Note: The default value is true. |
GetTrackFileResponse
The response returned when exporting an environment as a track file.
| Field | Type | Label | Description |
|---|---|---|---|
| status | asset_preparation.v3.common.Status | The feedback status of the export operation. |
ListEnvironmentsResponse
The identities of all environments in the collection.
| Field | Type | Label | Description |
|---|---|---|---|
| environments | EnvironmentIdentity | repeated | Environment identities. |
| status | asset_preparation.v3.common.Status | The feedback status of the listing operation. |
PutEnvironmentFromTrackFileRequest
The information required to create an environment from an uploaded track file.
| Field | Type | Label | Description |
|---|---|---|---|
| file_path | string | The path of the .track file to upload. | |
| name_conflict_policy | asset_preparation.v3.common.ConflictPolicy | The policy to follow in case of name conflict with server's objects. |
PutEnvironmentFromTrackResponse
The response returned when uploading a track.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | int32 | The imported environment identifier. | |
| status | asset_preparation.v3.common.Status | The feedback status of the upload operation. |
SkyLists
Lists of identifiers for natural skies and HDRI skies.
| Field | Type | Label | Description |
|---|---|---|---|
| hdri_skies | int32 | repeated | The identifiers of HDRI skies. |
| natural_skies | int32 | repeated | The identifiers of natural skies. |
UpdateEnvironmentRequest
The information required to update an environment.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The identifier of the environment to update. | |
| name | google.protobuf.StringValue | The environment name. Note: Names must be unique amongst environments. Note: If no name is defined, the name is not updated. | |
| properties | EnvironmentProperties | The environment properties. Note: All the properties are optional. |
UpdateEnvironmentResponse
The response returned when updating an environment.
| Field | Type | Label | Description |
|---|---|---|---|
| status | asset_preparation.v3.common.Status | The feedback status of the update operation. |
asset_preparation_api/geometry/geometry.proto
This file describes the service used to create, edit and manage geometries.
GeometryPreparation
Geometry Preparation Service
This service is used to create, edit and manage geometries.
| Method Name | Request Type | Response Type | Description |
|---|---|---|---|
| CreateGeometry | CreateGeometryRequest | CreateGeometryResponse | Creates a new geometry with an optional given name and winding order. Note: Names must be unique amongst geometries. Returns the identifier of the created geometry. |
| GetGeometry | GetGeometryRequest | GetGeometryResponse | Gets the properties of a geometry, given its identifier. Returns the geometry properties. |
| ListGeometries | .google.protobuf.Empty | ListGeometriesResponse | Lists all the created geometries. Returns the identifiers and names of the geometries. |
| UpdateGeometry | UpdateGeometryRequest | UpdateGeometryResponse | Edits the properties of a geometry, given its identifier. Note: Names must be unique amongst geometries. |
| DeleteGeometry | DeleteGeometryRequest | DeleteGeometryResponse | Deletes a geometry, given its identifier. |
| CreateMaterialPart | CreateMaterialPartRequest | CreateMaterialPartResponse | Creates a material part as a child of a geometry, given the parent geometry identifier, with optional material part parameters. Note: Names must be unique amongst sibling material parts. Returns the identifier of the created material part. |
| GetMaterialPart | GetMaterialPartRequest | GetMaterialPartResponse | Gets the properties of a material part, given its identifier. Returns the material part properties. |
| UpdateMaterialPart | UpdateMaterialPartRequest | UpdateMaterialPartResponse | Edits the properties of a material part, given its identifier. Note: Names must be unique amongst sibling material parts. |
| DeleteMaterialPart | DeleteMaterialPartRequest | DeleteMaterialPartResponse | Deletes a material part, given its identifier. |
| PushVertices | PushVerticesRequest stream | PushVerticesResponse | Pushes vertices to a geometry, given a stream of geometry identifiers and vertices to push. |
| PushIndices | PushIndicesRequest stream | PushIndicesResponse | Pushes indices to a geometry, given a stream of geometry identifiers and indices to push. Note: Indices must reference already pushed vertices. |
| GetGeometryVertices | GetGeometryVerticesRequest | GetGeometryVerticesResponse stream | Gets the vertices of a geometry, given its identifier. |
| GetGeometryIndices | GetGeometryIndicesRequest | GetGeometryIndicesResponse stream | Gets the indices of a geometry, given its identifier. |
asset_preparation_api/geometry/geometry_description.proto
This file describes the messages used to create, edit and manage geometries.
CreateGeometryRequest
The information required to create a geometry.
| Field | Type | Label | Description |
|---|---|---|---|
| name | google.protobuf.StringValue | The geometry name. Note: Names must be unique amongst geometries. Note: If no name is defined, a default unique name is automatically set. | |
| properties | GeometryProperties | The properties of a geometry. |
CreateGeometryResponse
The identity of the created geometry.
| Field | Type | Label | Description |
|---|---|---|---|
| identity | GeometryIdentity | The identity of the geometry. Returns null in case of failure. | |
| status | asset_preparation.v3.common.Status | The feedback status of the creation operation. |
CreateMaterialPartRequest
The information required to create a material part under a geometry.
| Field | Type | Label | Description |
|---|---|---|---|
| geometry_identifier | google.protobuf.Int32Value | The identifier of the parent geometry. | |
| name | google.protobuf.StringValue | The material part name. Note: Names must be unique amongst sibling material parts. Note: If no name is defined, a default unique name is automatically set. | |
| properties | MaterialPartProperties | The properties of the material part. |
CreateMaterialPartResponse
The identifier of the created material part.
| Field | Type | Label | Description |
|---|---|---|---|
| geometry_identifier | google.protobuf.Int32Value | The identifier of the parent geometry. | |
| material_part_identity | MaterialPartIdentity | The identity of the material part. Returns null in case of failure. | |
| status | asset_preparation.v3.common.Status | The feedback status of the creation operation. |
DeleteGeometryRequest
The information required to delete a geometry.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The identifier of the geometry to delete. |
DeleteGeometryResponse
The response returned when deleting a geometry.
| Field | Type | Label | Description |
|---|---|---|---|
| status | asset_preparation.v3.common.Status | The feedback status of the delete operation. |
DeleteMaterialPartRequest
The information required to delete a material part.
| Field | Type | Label | Description |
|---|---|---|---|
| geometry_identifier | google.protobuf.Int32Value | The identifier of the parent geometry. | |
| material_part_identifier | google.protobuf.Int32Value | The identifier of the material part. |
DeleteMaterialPartResponse
The response returned when deleting a material part.
| Field | Type | Label | Description |
|---|---|---|---|
| status | asset_preparation.v3.common.Status | The feedback status of the delete operation. |
GeometryIdentity
The full identity of a geometry, consisting of an identifier and a name.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | int32 | The geometry identifier. | |
| name | string | The geometry name. |
GeometryProperties
The properties of a geometry.
| Field | Type | Label | Description |
|---|---|---|---|
| winding_order | WindingOrder | The geometry winding order. | |
| has_binormals | google.protobuf.BoolValue | Whether the vertices should have binormals defined. Note: The default value is false. | |
| has_tangents | google.protobuf.BoolValue | Whether the vertices should have tangents defined. Note: The default value is false. | |
| uv_count | google.protobuf.Int32Value | The number of UV coordinates that the vertices should have defined. Note: The UV count should be in the range [0, 4]. Note: The default value is 0. |
GetGeometryIndicesRequest
The information required to get the geometry indices.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The identifier of the geometry. |
GetGeometryIndicesResponse
The information about the geometry indices.
| Field | Type | Label | Description |
|---|---|---|---|
| indices | int32 | repeated | The indices of the geometry. |
| status | asset_preparation.v3.common.Status | The feedback status of the get indices operation. |
GetGeometryRequest
The information required to examine a geometry.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The identifier of the geometry to examine. |
GetGeometryResponse
The information about a geometry.
| Field | Type | Label | Description |
|---|---|---|---|
| identity | GeometryIdentity | The identity of the geometry. | |
| properties | GeometryProperties | The geometry properties. | |
| material_parts | MaterialPartIdentity | repeated | The identities of the material parts composing the geometry. |
| status | asset_preparation.v3.common.Status | The feedback status of the examination operation. |
GetGeometryVerticesRequest
The information required to get the geometry vertices.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The identifier of the geometry. |
GetGeometryVerticesResponse
The information about the geometry vertices.
| Field | Type | Label | Description |
|---|---|---|---|
| vertices | Vertex | repeated | The vertices of the geometry. |
| status | asset_preparation.v3.common.Status | The feedback status of the get vertices operation. |
GetMaterialPartRequest
The information required to examine a material part.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The identifier of the material part to examine. |
GetMaterialPartResponse
The information about a material part.
| Field | Type | Label | Description |
|---|---|---|---|
| identity | MaterialPartIdentity | The identity of the material part. | |
| properties | MaterialPartProperties | The material part properties. | |
| status | asset_preparation.v3.common.Status | The feedback status of the examination operation. |
ListGeometriesResponse
The identities of all geometries in the collection.
| Field | Type | Label | Description |
|---|---|---|---|
| geometries | GeometryIdentity | repeated | Geometry identities. |
| status | asset_preparation.v3.common.Status | The feedback status of the listing operation. |
MaterialPartIdentity
The full identity of a material part, consisting of an identifier and a name.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | int32 | The material part identifier. | |
| name | string | The material part name. |
MaterialPartProperties
The properties of the material part.
| Field | Type | Label | Description |
|---|---|---|---|
| transparency_mode | TransparencyMode | The material part transparency mode. | |
| surface_source_identifier | google.protobuf.Int32Value | The identifier of the surface source. Note: Optional field. Note: The surface source reference can be removed by setting the value '-1'. | |
| material_identifier | google.protobuf.Int32Value | The identifier of the material. Note: The material reference can be removed by setting the value '-1' and the default material is applied in this case. | |
| start_index | google.protobuf.Int32Value | The position of the first index from the indices array to reference vertices where the associated material should be applied. | |
| indices_count | google.protobuf.Int32Value | The number of indices from the indices array to reference vertices where the associated material should be applied. | |
| temperature_variation_texture_identifier | google.protobuf.Int32Value | The identifier of the temperature variation texture. Note: Optional field. Note: The temperature variation texture reference can be removed by setting the value '-1'. | |
| temperature_variation_uv_channel | google.protobuf.Int32Value | The temperature variation UV channel. Note: Must be 1, 2, 3 or 4. Note: The default value is 1. | |
| temperature_variation_amplitude | google.protobuf.DoubleValue | The temperature variation amplitude. Unit: Degree Note: Must be a double in the range [0,2000]. Note: The default value is 0. Note: If the temperature variation texture is not defined, the amplitude will be ignored. | |
| removed_tags | asset_preparation.v3.common.TagIdentity | repeated | Tag(s) to remove from the material part. |
| added_tags | asset_preparation.v3.common.Tag | repeated | Tag(s) to add to the material part. Note: Only LightingType Tags are allowed. |
PushIndicesRequest
The information required to push indices to a geometry. The recommended size of the request is in range 256kB to 1MB.
| Field | Type | Label | Description |
|---|---|---|---|
| geometry_identifier | google.protobuf.Int32Value | The identifier of the geometry. | |
| indices | int32 | repeated | The indices to push in the geometry. |
PushIndicesResponse
The response returned when pushing indices to a geometry.
| Field | Type | Label | Description |
|---|---|---|---|
| status | asset_preparation.v3.common.Status | The feedback status of the push operation. |
PushVerticesRequest
The information required to push vertices to a geometry. The recommended size of the request is in range 256kB to 1MB.
| Field | Type | Label | Description |
|---|---|---|---|
| geometry_identifier | google.protobuf.Int32Value | The identifier of the geometry. | |
| vertices | Vertex | repeated | The vertices to push in the geometry. |
PushVerticesResponse
The response returned when pushing vertices to a geometry.
| Field | Type | Label | Description |
|---|---|---|---|
| status | asset_preparation.v3.common.Status | The feedback status of the push operation. |
UpdateGeometryRequest
The information required to update a geometry.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The identifier of the geometry to update. | |
| name | google.protobuf.StringValue | The geometry name. Note: Names must be unique amongst geometries. Note: If no name is defined, the name is not updated. | |
| properties | GeometryProperties | The geometry properties. Note: All the properties are optional. |
UpdateGeometryResponse
The response returned when updating a geometry.
| Field | Type | Label | Description |
|---|---|---|---|
| status | asset_preparation.v3.common.Status | The feedback status of the update operation. |
UpdateMaterialPartRequest
The information required to update a material part.
| Field | Type | Label | Description |
|---|---|---|---|
| geometry_identifier | google.protobuf.Int32Value | The identifier of the parent geometry. | |
| material_part_identifier | google.protobuf.Int32Value | The identifier of the material part. | |
| name | google.protobuf.StringValue | The material part name. Note: Names must be unique amongst sibling material parts. Note: If no name is defined, the name is not updated. | |
| properties | MaterialPartProperties | The material part properties. Note: All the properties are optional. |
UpdateMaterialPartResponse
The response returned when updating a material part.
| Field | Type | Label | Description |
|---|---|---|---|
| status | asset_preparation.v3.common.Status | The feedback status of the update operation. |
UvCoordinates
The UV coordinates.
| Field | Type | Label | Description |
|---|---|---|---|
| x | google.protobuf.DoubleValue | Coordinate along the X axis. | |
| y | google.protobuf.DoubleValue | Coordinate along the Y axis. |
Vertex
The properties of a vertex.
Note: The X, Y and Z coordinates of the binormals are required only when has_binormals is set to true.
Note: The X, Y and Z coordinates of the tangents are required only when has_tangents is set to true.
| Field | Type | Label | Description |
|---|---|---|---|
| x_position | google.protobuf.DoubleValue | The position of the vertex along the X axis. Unit: Meter | |
| y_position | google.protobuf.DoubleValue | The position of the vertex along the Y axis. Unit: Meter | |
| z_position | google.protobuf.DoubleValue | The position of the vertex along the Z axis. Unit: Meter | |
| x_normal | google.protobuf.DoubleValue | The X-coordinate of the normal of the vertex. Unit: Meter | |
| y_normal | google.protobuf.DoubleValue | The Y-coordinate of the normal of the vertex. Unit: Meter | |
| z_normal | google.protobuf.DoubleValue | The Z-coordinate of the normal of the vertex. Unit: Meter | |
| x_binormal | google.protobuf.DoubleValue | The X-coordinate of the binormal of the vertex. Unit: Meter Note: Required only when has_binormals is set to true. | |
| y_binormal | google.protobuf.DoubleValue | The Y-coordinate of the binormal of the vertex. Unit: Meter Note: Required only when has_binormals is set to true. | |
| z_binormal | google.protobuf.DoubleValue | The Z-coordinate of the binormal of the vertex. Unit: Meter Note: Required only when has_binormals is set to true. | |
| x_tangent | google.protobuf.DoubleValue | The X-coordinate of the tangent of the vertex. Unit: Meter Note: Required only when has_tangents is set to true. | |
| y_tangent | google.protobuf.DoubleValue | The Y-coordinate of the tangent of the vertex. Unit: Meter Note: Required only when has_tangents is set to true. | |
| z_tangent | google.protobuf.DoubleValue | The Z-coordinate of the tangent of the vertex. Unit: Meter Note: Required only when has_tangents is set to true. | |
| uv_coordinates | UvCoordinates | repeated | The UV coordinates for each UV layer defined for the vertex. |
| ambient_occlusion | google.protobuf.DoubleValue | The ambient occlusion of the vertex. |
TransparencyMode
Transparency mode of a material part.
| Name | Number | Description |
|---|---|---|
| TRANSPARENCY_MODE_UNSPECIFIED | 0 | Unspecified transparency mode. |
| TRANSPARENCY_MODE_OPAQUE | 1 | The material part is opaque. |
| TRANSPARENCY_MODE_WITH_HOLES | 2 | The material part contains holes. |
| TRANSPARENCY_MODE_SEMI_TRANSPARENT | 3 | The material part is semi-transparent. |
WindingOrder
Winding order of the vertices inside a geometry.
| Name | Number | Description |
|---|---|---|
| WINDING_ORDER_UNSPECIFIED | 0 | Unspecified winding order. |
| WINDING_ORDER_DOUBLE_SIDED | 1 | For double-sided meshes. |
| WINDING_ORDER_CLOCKWISE | 2 | Vertices are ordered clockwise. |
| WINDING_ORDER_COUNTER_CLOCKWISE | 3 | Vertices are ordered counter-clockwise. |
asset_preparation_api/hdriSky/hdri_sky.proto
This file describes the service used to create, edit and manage HDRI skies.
HdriSkyPreparation
HDRI Sky Preparation Service
This service is used to create, edit and manage HDRI skies.
| Method Name | Request Type | Response Type | Description |
|---|---|---|---|
| CreateHdriSky | CreateHdriSkyRequest | CreateHdriSkyResponse | Creates a new HDRI sky with an optional name. Note: Names must be unique amongst skies. Note: If unspecified, default values are used. Returns the identifier of the created HDRI sky. |
| GetHdriSky | GetHdriSkyRequest | GetHdriSkyResponse | Gets the properties of an HDRI sky, given its identifier. Returns the HDRI sky properties. |
| ListHdriSkies | .google.protobuf.Empty | ListHdriSkiesResponse | Lists all the created HDRI skies. Returns the identifiers and names of the HDRI skies. |
| UpdateHdriSky | UpdateHdriSkyRequest | UpdateHdriSkyResponse | Edits the properties of an HDRI sky, given its identifier. Note: Names must be unique amongst skies. |
| DeleteHdriSky | DeleteHdriSkyRequest | DeleteHdriSkyResponse | Deletes an HDRI sky, given its identifier. Note: If you delete an HDRI sky that is set as the active_sky in an environment, the environment is updated with the default sky set as the active sky. |
| CreateHdriSkyState | CreateHdriSkyStateRequest | CreateHdriSkyStateResponse | Creates a new HDRI sky state with optional properties. Note: Names must be unique amongst sibling states. Note: "Default" name is reserved. Note: If some properties are not specified, default values are used. Returns the information about the created HDRI sky state. |
| GetHdriSkyState | GetHdriSkyStateRequest | GetHdriSkyStateResponse | Gets the properties of an HDRI sky state, given the parent HDRI sky identifier and the state name. Returns the HDRI sky state properties. |
| UpdateHdriSkyState | UpdateHdriSkyStateRequest | UpdateHdriSkyStateResponse | Edits the properties of a state, given the parent HDRI sky identifier and the state name. Note: Names must be unique amongst sibling states. Note: "Default" name is reserved. |
| DeleteHdriSkyState | DeleteHdriSkyStateRequest | DeleteHdriSkyStateResponse | Deletes an HDRI sky state, given the parent HDRI sky identifier and the state name. |
asset_preparation_api/hdriSky/hdri_sky_description.proto
This file describes the messages used to create, edit and manage HDRI skies.
CreateHdriSkyRequest
The information required to create an HDRI sky.
| Field | Type | Label | Description |
|---|---|---|---|
| name | google.protobuf.StringValue | The HDRI sky name. Note: Names must be unique amongst skies. Note: If no name is defined, a default unique name is automatically set. | |
| properties | HdriSkyProperties | The HDRI sky properties. |
CreateHdriSkyResponse
The identifier of the created HDRI sky.
| Field | Type | Label | Description |
|---|---|---|---|
| identity | HdriSkyIdentity | The identity of an HDRI sky. Returns null in case of failure. | |
| status | asset_preparation.v3.common.Status | The feedback status of the creation operation. |
CreateHdriSkyStateRequest
The information required to create an HDRI sky state.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The HDRI sky identifier. | |
| state_name | string | The state name. Note: Names must be unique amongst sibling HDRI sky states. Note: "Default" name is reserved. | |
| base_state_name | google.protobuf.StringValue | The name of an already existing state on which will be based the state to create. Note: If not defined, the HDRI sky properties are used. | |
| state_properties | HdriSkyProperties | The state properties. |
CreateHdriSkyStateResponse
The response returned when creating an HDRI sky state.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | int32 | The HDRI sky identifier. | |
| state_name | string | The new state name. | |
| status | asset_preparation.v3.common.Status | The feedback status of the creation operation. |
DeleteHdriSkyRequest
The information required to delete an HDRI sky.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The identifier of the HDRI sky to delete. |
DeleteHdriSkyResponse
The response returned when deleting an HDRI sky.
| Field | Type | Label | Description |
|---|---|---|---|
| status | asset_preparation.v3.common.Status | The feedback status of the delete operation. |
DeleteHdriSkyStateRequest
The information required to delete an HDRI sky state.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The HDRI sky identifier. | |
| state_name | string | The name of the state to delete. |
DeleteHdriSkyStateResponse
The response returned when deleting an HDRI sky state.
| Field | Type | Label | Description |
|---|---|---|---|
| status | asset_preparation.v3.common.Status | The feedback status of the delete operation. |
GetHdriSkyRequest
The information required to examine an HDRI sky.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The identifier of the HDRI sky to examine. |
GetHdriSkyResponse
The information about an HDRI sky.
| Field | Type | Label | Description |
|---|---|---|---|
| identity | HdriSkyIdentity | The HDRI sky identity. | |
| properties | HdriSkyProperties | The HDRI sky properties. | |
| state_names | string | repeated | The names of the HDRI sky states. |
| status | asset_preparation.v3.common.Status | The feedback status of the examination operation. |
GetHdriSkyStateRequest
The information required to examine a state.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The identifier of the HDRI sky. | |
| state_name | string | The name of the state to examine. |
GetHdriSkyStateResponse
The information about an HDRI sky state.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | int32 | The identifier of the examined HDRI sky. | |
| state_name | string | The state name. | |
| state_properties | HdriSkyProperties | The properties of the examined state. | |
| status | asset_preparation.v3.common.Status | The feedback status of the reading operation. |
HdriSkyIdentity
The full identity of an HDRI sky, consisting of an identifier and a name.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | int32 | The HDRI sky identifier. | |
| name | string | The HDRI sky name. |
HdriSkyProperties
The properties of an HDRI sky.
| Field | Type | Label | Description |
|---|---|---|---|
| texture_identifier | google.protobuf.Int32Value | The identifier of the texture (created using the Resource service) referenced in the HDRI sky. Note: The texture reference can be removed by setting the value '-1'. Note: The identifier must reference a texture with ".hdr" extension. | |
| projection_type | ProjectionType | The type of projection. Note: The default value is SPHERE. | |
| ground_radius | google.protobuf.DoubleValue | The radius of the virtual ground. Note: Must be equal or superior to 0. Note: The default value is 0. | |
| orientation | google.protobuf.DoubleValue | The HDRI sky orientation. Unit: Degree Note: Must be in the range [0,359]. Note: The default value is 0. | |
| luminance_factor | google.protobuf.DoubleValue | The luminance factor applied to the HDRI texture. Note: Must be equal or superior to 0. Note: The default value is 1. | |
| ambient_factor | google.protobuf.DoubleValue | The ambient factor for opaque objects in Shadics rendering engine. Note: Must be equal or superior to 0. Note: The default value is 1. |
ListHdriSkiesResponse
The identities of all HDRI skies in the collection.
| Field | Type | Label | Description |
|---|---|---|---|
| skies | HdriSkyIdentity | repeated | HDRI sky identities. |
| status | asset_preparation.v3.common.Status | The feedback status of the listing operation. |
UpdateHdriSkyRequest
The information required to update an HDRI sky.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The identifier of the HDRI sky to update. | |
| name | google.protobuf.StringValue | The new HDRI sky name. Note: Names must be unique amongst skies. Note: If no name is defined, the name is not updated. | |
| properties | HdriSkyProperties | The HDRI sky properties. Note: All the properties are optional. |
UpdateHdriSkyResponse
The response returned when updating an HDRI sky.
| Field | Type | Label | Description |
|---|---|---|---|
| status | asset_preparation.v3.common.Status | The feedback status of the update operation. |
UpdateHdriSkyStateRequest
The information required to update an HDRI sky state.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The HDRI sky identifier. | |
| state_name | string | The current name of the state. | |
| state_new_name | google.protobuf.StringValue | The new name of the state. Note: Names must be unique amongst sibling HDRI sky states. Note: "Default" name is reserved. | |
| state_properties | HdriSkyProperties | The new state properties. |
UpdateHdriSkyStateResponse
The response returned when updating an HDRI sky state.
| Field | Type | Label | Description |
|---|---|---|---|
| state_name | string | The state name. | |
| status | asset_preparation.v3.common.Status | The feedback status of the update operation. |
ProjectionType
The type of projection.
| Name | Number | Description |
|---|---|---|
| PROJECTION_TYPE_UNSPECIFIED | 0 | Unspecified projection type. |
| PROJECTION_TYPE_SPHERE | 1 | The sphere projection. |
| PROJECTION_TYPE_DOME | 2 | The dome projection. |
asset_preparation_api/information/health.proto
This file describes the Asset Preparation API services' health.
GetHealthResponse
This message describes the health response.
| Field | Type | Label | Description |
|---|---|---|---|
| is_healthy | bool | Whether the server is healthy. |
asset_preparation_api/information/information.proto
This file describes the service used to check the Asset Preparation API services' health.
Information
Information Service
This service is used to get information about the API services.
| Method Name | Request Type | Response Type | Description |
|---|---|---|---|
| GetHealth | .google.protobuf.Empty | GetHealthResponse | Tests if the server is healthy. Note: Checks that all repositories are available for all services to work correctly. |
asset_preparation_api/material/material.proto
This file describes the service used to create, edit and manage materials.
MaterialPreparation
Material Preparation Service
This service is used to create, edit and manage materials.
| Method Name | Request Type | Response Type | Description |
|---|---|---|---|
| CreateMaterial | CreateMaterialRequest | CreateMaterialResponse | Creates a new material with optional properties. Note: Names must be unique amongst materials. Note: If some properties are not specified, default values are used and no dielectric properties are defined. Returns the information about the created material. |
| GetMaterial | GetMaterialRequest | GetMaterialResponse | Gets the properties of a material, given its identifier. Returns the material properties. |
| ListMaterials | .google.protobuf.Empty | ListMaterialsResponse | Lists all the stored materials. Returns the identifiers and names of the stored materials. |
| UpdateMaterial | UpdateMaterialRequest | UpdateMaterialResponse | Edits the properties of a material, given its identifier. Note: Names must be unique amongst materials. |
| DeleteMaterial | DeleteMaterialRequest | DeleteMaterialResponse | Deletes a material, given its identifier. |
| CreateMaterialState | CreateMaterialStateRequest | CreateMaterialStateResponse | Creates a new material state with optional properties. Note: Names must be unique amongst sibling material states. Note: "Default" name is reserved. Note: If some properties are not specified, default values are used and no dielectric properties are defined. Returns the information about the created material state. |
| GetMaterialState | GetMaterialStateRequest | GetMaterialStateResponse | Gets the properties of a material state, given the parent material identifier and the state name. Returns the material state properties. |
| UpdateMaterialState | UpdateMaterialStateRequest | UpdateMaterialStateResponse | Edits the properties of a state, given the parent material identifier and the state name. Note: Names must be unique amongst sibling material states. Note: "Default" name is reserved. |
| DeleteMaterialState | DeleteMaterialStateRequest | DeleteMaterialStateResponse | Deletes a material state, given the parent material identifier and the state name. |
asset_preparation_api/material/material_description.proto
This file describes the messages used to create, edit and manage materials.
AnisotropyProperties
The anisotropy properties of a material.
| Field | Type | Label | Description |
|---|---|---|---|
| no_anisotropy | asset_preparation.v3.common.Empty | No anisotropy. Note: This is the default anisotropy contribution type. | |
| texture | AnisotropyTexture | Anisotropy based on an anisotropic tangent map file. | |
| color | GreyLevel | Anisotropy based on a color, in grey level. |
AnisotropyTexture
The texture properties of an anisotropy.
| Field | Type | Label | Description |
|---|---|---|---|
| map_identifier | google.protobuf.Int32Value | The identifier of the anisotropy map referenced in the material. Note: The anisotropy map reference can be removed by setting the value '-1'. | |
| map_uv_channel | google.protobuf.Int32Value | The anisotropy map UV channel. Note: Must be 1, 2, 3 or 4. Note: The default value is 1. |
CreateMaterialRequest
The information required to create a material.
| Field | Type | Label | Description |
|---|---|---|---|
| name | google.protobuf.StringValue | The material name. Note: Names must be unique amongst materials. Note: If no name is defined, a default unique name is automatically set. | |
| properties | MaterialProperties | The properties of a material. Note: If no properties are defined, the default properties are automatically set. |
CreateMaterialResponse
The identifier of the created material.
| Field | Type | Label | Description |
|---|---|---|---|
| identity | MaterialIdentity | The new material identity. Returns null in case of failure. | |
| status | asset_preparation.v3.common.Status | The feedback status of the creation operation. |
CreateMaterialStateRequest
The information required to create a material state.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The material identifier. | |
| state_name | string | The state name. Note: Names must be unique amongst sibling material states. Note: "Default" name is reserved. | |
| base_state_name | google.protobuf.StringValue | The name of an already existing state on which will be based the state to create. Note: If not defined, the material properties are used. | |
| state_properties | MaterialProperties | The state properties. |
CreateMaterialStateResponse
The response returned when creating a material state.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | int32 | The material identifier. | |
| state_name | string | The new state name. | |
| status | asset_preparation.v3.common.Status | The feedback status of the creation operation. |
DeleteMaterialRequest
The information required to delete a material.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The identifier of the material to delete. |
DeleteMaterialResponse
The response returned when deleting a material.
| Field | Type | Label | Description |
|---|---|---|---|
| status | asset_preparation.v3.common.Status | The feedback status of the delete operation. |
DeleteMaterialStateRequest
The information required to delete a material state.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The material identifier. | |
| state_name | string | The name of the state to delete. |
DeleteMaterialStateResponse
The response returned when deleting a material state.
| Field | Type | Label | Description |
|---|---|---|---|
| status | asset_preparation.v3.common.Status | The feedback status of the delete operation. |
DielectricProperties
The dielectric properties of a material.
| Field | Type | Label | Description |
|---|---|---|---|
| dielectric_material_identifier | google.protobuf.Int32Value | The identifier of the dielectric material referenced in the material. Note: The dielectric material reference can be removed by setting the value '-1'. |
DiffuseProperties
The diffuse properties of a material.
| Field | Type | Label | Description |
|---|---|---|---|
| color_rgb | Rgb | Diffuse based on a RGB color. | |
| color_hsv | Hsv | Diffuse based on an HSV color. | |
| texture | DiffuseTexture | Diffuse based on a diffuse map file. Note: This is the default diffuse contribution type. |
DiffuseTexture
Texture properties for diffuse contribution.
| Field | Type | Label | Description |
|---|---|---|---|
| map_identifier | google.protobuf.Int32Value | The identifier of the diffuse map referenced in the material. Note: The diffuse map reference can be removed by setting the value '-1'. | |
| map_uv_channel | google.protobuf.Int32Value | The diffuse map UV channel. Note: Must be 1, 2, 3 or 4. Note: The default value is 1. | |
| alpha_uv_channel | google.protobuf.Int32Value | The diffuse alpha map UV channel. Note: Must be 1, 2, 3 or 4. Note: The default value is 1. Note: It can be set only for layer 1. |
GetMaterialRequest
The information required to examine a material.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The identifier of the material to examine. |
GetMaterialResponse
The information about a material.
| Field | Type | Label | Description |
|---|---|---|---|
| identity | MaterialIdentity | The material identity. | |
| properties | MaterialProperties | The material properties. | |
| state_names | string | repeated | The names of the material states. |
| status | asset_preparation.v3.common.Status | The feedback status of the examination operation. |
GetMaterialStateRequest
The information required to examine a state.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The identifier of the material. | |
| state_name | string | The name of the state to examine. |
GetMaterialStateResponse
The information about a material state.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | int32 | The identifier of the examined material. | |
| state_name | string | The state name. | |
| state_properties | MaterialProperties | The properties of the examined state. | |
| status | asset_preparation.v3.common.Status | The feedback status of the reading operation. |
GreyLevel
Grey level value.
Note: Default value is 128.
| Field | Type | Label | Description |
|---|---|---|---|
| level | int32 | Note: Must be an integer in the range [0,255]. |
Hsv
HSV value of a color.
Note: Default value is (0,0,50).
| Field | Type | Label | Description |
|---|---|---|---|
| hue | double | Unit: Degree Note: Must be a double in the range [0,360]. | |
| saturation | double | Note: Must be a double in the range [0,100]. | |
| value | double | Note: Must be a double in the range [0,100]. |
LambertianLayer
The properties of the lambertian layer.
| Field | Type | Label | Description |
|---|---|---|---|
| absorption | google.protobuf.DoubleValue | The Lambertian absorption. Unit: Percentage (%) Note: Must be a double in the range [0,100]. Note: The default value is 0. | |
| diffuse_properties | DiffuseProperties | The diffuse properties. | |
| normal_properties | NormalProperties | The normal properties. | |
| anisotropy_properties | AnisotropyProperties | The anisotropy properties. | |
| mask_properties | MaskProperties | The Mask properties. Note: Layer 1 must not contain a Mask. |
Layer
The layer properties of a material.
| Field | Type | Label | Description |
|---|---|---|---|
| no_layer | asset_preparation.v3.common.Empty | No layer. Note: This is the default type for layer 2 and layer 3. | |
| lambertian_layer | LambertianLayer | Lambertian layer type. Note: This is the default type for layer 1. | |
| mirror_layer | MirrorLayer | Mirror layer type. | |
| optical_polish_layer | OpticalPolishLayer | Optical polish layer type. | |
| library_layer | LibraryLayer | Library layer type. | |
| rendering_layer | RenderingLayer | Rendering layer type. |
LibraryLayer
The properties of the library layer.
| Field | Type | Label | Description |
|---|---|---|---|
| surface_state_identifier | google.protobuf.Int32Value | The identifier of the surface state referenced in the material. Note: The surface state reference can be removed by setting the value '-1'. | |
| diffuse_properties | DiffuseProperties | The diffuse properties. | |
| normal_properties | NormalProperties | The normal properties. | |
| anisotropy_properties | AnisotropyProperties | The anisotropy properties. | |
| mask_properties | MaskProperties | The Mask properties. Note: Layer 1 must not contain a Mask. |
LibraryVolumeOpticalProperties
The library volume optical properties of a material.
| Field | Type | Label | Description |
|---|---|---|---|
| volume_material_identifier | google.protobuf.Int32Value | The identifier of the volume material referenced in the material. Note: The volume material reference can be removed by setting the value '-1'. |
ListMaterialsResponse
The identities of all materials in the collection.
| Field | Type | Label | Description |
|---|---|---|---|
| materials | MaterialIdentity | repeated | Material identities. |
| status | asset_preparation.v3.common.Status | The feedback status of the listing operation. |
MaskProperties
The mask properties of a material.
Note: No mask properties should be set for layer 1.
| Field | Type | Label | Description |
|---|---|---|---|
| color | GreyLevel | Mask based on a color in grey level. | |
| texture | MaskTexture | Mask based on a texture file. Note: This is the default mask contribution type. |
MaskTexture
Texture properties for mask.
| Field | Type | Label | Description |
|---|---|---|---|
| map_identifier | google.protobuf.Int32Value | The identifier of the mask map referenced in the material. Note: The mask map reference can be removed by setting the value '-1'. | |
| map_uv_channel | google.protobuf.Int32Value | The mask map UV channel. Note: Must be 1, 2, 3 or 4. Note: The default value is 1. |
MaterialIdentity
The full identity of a material, consisting of an identifier and a name.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | int32 | The material identifier. | |
| name | string | The material name. |
MaterialProperties
The properties of a material.
| Field | Type | Label | Description |
|---|---|---|---|
| surface_optical_properties | SurfaceOpticalProperties | The surface optical properties. | |
| volume_optical_properties | VolumeOpticalProperties | The volume optical properties. | |
| thermal_properties | ThermalProperties | The thermal properties. | |
| dielectric_properties | DielectricProperties | The dielectric properties. Note: Optional field. | |
| reflection_effect | ReflectionEffectProperties | The reflection effect properties. |
MirrorLayer
The properties of the mirror layer.
| Field | Type | Label | Description |
|---|---|---|---|
| reflectivity | google.protobuf.DoubleValue | The mirror reflectivity. Unit: Percentage (%) Note: Must be a double in the range [0,100]. Note: The default value is 100. | |
| diffuse_properties | DiffuseProperties | The diffuse properties. | |
| normal_properties | NormalProperties | The normal properties. | |
| anisotropy_properties | AnisotropyProperties | The anisotropy properties. | |
| mask_properties | MaskProperties | The Mask properties. Note: Layer 1 must not contain a Mask. |
NormalProperties
The normal properties of a material.
| Field | Type | Label | Description |
|---|---|---|---|
| no_normal | asset_preparation.v3.common.Empty | No normal. | |
| texture | NormalTexture | Normal properties based on a normal map. Note: This is the default normal contribution type. |
NormalTexture
Texture properties for normal contribution.
| Field | Type | Label | Description |
|---|---|---|---|
| map_identifier | google.protobuf.Int32Value | The identifier of the normal map referenced in the material. Note: The normal map reference can be removed by setting the value '-1'. | |
| map_uv_channel | google.protobuf.Int32Value | The normal map UV channel. Note: Must be 1, 2, 3 or 4. Note: The default value is 1. | |
| intensity | google.protobuf.DoubleValue | The normal intensity. Unit: Percentage (%) Note: Must be a double in the range [-100,100]. Note: The default value is 100. Note: If the normal map is not defined, the intensity will be ignored. |
Opaque
The opaque volume optical type.
OpticVolumeOpticalProperties
The optic volume optical properties of a material.
| Field | Type | Label | Description |
|---|---|---|---|
| absorption | google.protobuf.DoubleValue | The optical absorption. Unit: Inverse millimeter (mm-1) Note: Must be equal or superior to 0. Note: The default value is 0. | |
| refractive_index | google.protobuf.DoubleValue | The refractive index. Note: The default value is 1.52. | |
| constringency | google.protobuf.DoubleValue | The constringency. Note: Must be a double in the range [20,90]. Note: The default value is 40. |
OpticalPolishLayer
The properties of the optical polish layer.
| Field | Type | Label | Description |
|---|---|---|---|
| diffuse_properties | DiffuseProperties | The diffuse properties. | |
| normal_properties | NormalProperties | The normal properties. | |
| anisotropy_properties | AnisotropyProperties | The anisotropy properties. | |
| mask_properties | MaskProperties | The Mask properties. Note: Layer 1 must not contain a Mask. |
ReflectionEffect
The reflection effect properties of a material.
| Field | Type | Label | Description |
|---|---|---|---|
| reflectivity | google.protobuf.DoubleValue | The reflection effect reflectivity. Unit: Percentage (%) Note: Must be a double in the range [0,100]. Note: The default value is 100. | |
| size | google.protobuf.DoubleValue | The reflection effect size. Unit: meter (m) Note: The default value is 0. | |
| index_of_refraction | google.protobuf.DoubleValue | The index of refraction. Note: Must be a double in the range [1,100]. Note: The default value is 1.45. |
ReflectionEffectProperties
The reflection effect properties of a material.
| Field | Type | Label | Description |
|---|---|---|---|
| no_reflection_effect | asset_preparation.v3.common.Empty | No reflection effect on material. note This is the default reflection effect contribution type. | |
| scene_hdri | ReflectionEffect | Apply a reflection effect that projects an HDRI Sky on the material. |
RenderingLayer
The properties of the rendering layer.
| Field | Type | Label | Description |
|---|---|---|---|
| specular_properties | SpecularProperties | The specular properties. | |
| roughness_properties | RoughnessProperties | The roughness properties. | |
| diffuse_properties | DiffuseProperties | The diffuse properties. | |
| normal_properties | NormalProperties | The normal properties. | |
| anisotropy_properties | AnisotropyProperties | The anisotropy properties. | |
| mask_properties | MaskProperties | The Mask properties. Note: Layer 1 must not contain a Mask. |
Rgb
RGB value of a color.
Note: Default value is (128,128,128).
| Field | Type | Label | Description |
|---|---|---|---|
| red | int32 | Note: Must be an integer in the range [0,255]. | |
| green | int32 | Note: Must be an integer in the range [0,255]. | |
| blue | int32 | Note: Must be an integer in the range [0,255]. |
RoughnessProperties
The roughness properties of a material.
| Field | Type | Label | Description |
|---|---|---|---|
| texture | RoughnessTexture | Roughness texture type. Note: This is the default roughness contribution type. | |
| color | GreyLevel | Color roughness type, in grey level. |
RoughnessTexture
The roughness texture properties.
| Field | Type | Label | Description |
|---|---|---|---|
| map_identifier | google.protobuf.Int32Value | The identifier of the roughness map referenced in the material. Note: The roughness map reference can be removed by setting the value '-1'. | |
| map_uv_channel | google.protobuf.Int32Value | The roughness map UV channel. Note: Must be an integer in the range [1,4]. Note: The default value is 1. | |
| intensity | google.protobuf.DoubleValue | The roughness intensity. Note: Must be a double in the range [0,200]. Note: The default value is 100. Note: If the roughness map is not defined, the intensity will be ignored. |
SpecularProperties
The specular properties of a material.
| Field | Type | Label | Description |
|---|---|---|---|
| color_rgb | Rgb | Specular based on a RGB color. | |
| color_hsv | Hsv | Specular based on an HSV color. | |
| texture | SpecularTexture | Specular based on a specular map file. Note: This is the default specular contribution type. |
SpecularTexture
Texture properties for specular contribution.
| Field | Type | Label | Description |
|---|---|---|---|
| map_identifier | google.protobuf.Int32Value | The identifier of the specular map referenced in the material. Note: The specular map reference can be removed by setting the value '-1'. | |
| map_uv_channel | google.protobuf.Int32Value | The UV channel. Note: Must be 1, 2, 3 or 4. Note: The default value is 1. | |
| intensity | google.protobuf.DoubleValue | The specular intensity. Note: Must be a double in the range [0,200]. Note: The default value is 100. Note: If the specular map is not defined, the intensity will be ignored. |
SurfaceOpticalProperties
The surface optical properties of a material.
| Field | Type | Label | Description |
|---|---|---|---|
| texture_normalization | TextureNormalization | Texture normalization type. Note: The default value is None. | |
| layer_1 | Layer | The surface optical layers. Note: Layer 1 is mandatory. Layers 2 and 3 are optional. Note: Layer 3 must not be set without layer 2. | |
| layer_2 | Layer | ||
| layer_3 | Layer |
ThermalProperties
The thermal properties of a material.
| Field | Type | Label | Description |
|---|---|---|---|
| emissivity | google.protobuf.DoubleValue | The emissivity. Unit: Percentage (%) Note: Must be a double in the range [0,100]. Note: The default value is 0. | |
| emissivity_variation_texture_identifier | google.protobuf.Int32Value | The identifier of the emissivity variation texture referenced in the material. Note: Optional field. Note: The emissivity variation texture reference can be removed by setting the value '-1'. | |
| emissivity_variation_uv_channel | google.protobuf.Int32Value | The emissivity variation UV channel. Note: Must be 1, 2, 3 or 4. Note: The default value is 1. | |
| emissivity_variation_amplitude | google.protobuf.DoubleValue | The emissivity variation amplitude. Unit: Percentage (%) Note: Must be a double in the range [0,100]. Note: The default value is 0. Note: If the emissivity variation texture is not defined, the amplitude will be ignored. | |
| reflection_coefficient | google.protobuf.DoubleValue | The reflection coefficient. Unit: Percentage (%) Note: Must be a double in the range [0,100]. Note: The default value is 0. | |
| shininess | google.protobuf.DoubleValue | The shininess. Note: Must be a double in the range [1,10]. Note: The default value is 1. | |
| thermal_coefficient | google.protobuf.DoubleValue | The thermal coefficient. Note: Must be a double in the range [0,1]. Note: The default value is 1. |
UpdateMaterialRequest
The information required to update a material.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The identifier of the material to update. | |
| name | google.protobuf.StringValue | The material name. Note: Names must be unique amongst materials. Note: If no name is defined, the name is not updated. | |
| properties | MaterialProperties | The material properties. Note: All the properties are optional. |
UpdateMaterialResponse
The response returned when updating a material.
| Field | Type | Label | Description |
|---|---|---|---|
| status | asset_preparation.v3.common.Status | The feedback status of the update operation. |
UpdateMaterialStateRequest
The information required to update a material state.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The material identifier. | |
| state_name | string | The current name of the state. | |
| state_new_name | google.protobuf.StringValue | The new name of the state. Note: Names must be unique amongst sibling material states. Note: "Default" name is reserved. | |
| state_properties | MaterialProperties | The new state properties. |
UpdateMaterialStateResponse
The response returned when updating a material state.
| Field | Type | Label | Description |
|---|---|---|---|
| state_name | string | The state name. | |
| status | asset_preparation.v3.common.Status | The feedback status of the update operation. |
VolumeOpticalProperties
The volume optical properties of a material.
| Field | Type | Label | Description |
|---|---|---|---|
| opaque | Opaque | Opaque for non transparent material. Note: This is the default volume optical properties contribution type. | |
| optic | OpticVolumeOpticalProperties | Optic for transparent colorless material without bulk scattering. | |
| volume_optical_library | LibraryVolumeOpticalProperties | Volume optical property based on a VOP file. | |
| fast_transmission_gathering | google.protobuf.BoolValue | Enable fast transmission gathering. Note: The default value is false. |
TextureNormalization
The possible types of texture normalization method.
| Name | Number | Description |
|---|---|---|
| TEXTURE_NORMALIZATION_UNSPECIFIED | 0 | Unspecified texture normalization type. |
| TEXTURE_NORMALIZATION_NONE | 1 | No texture normalization. Note: The BRDF is blended with the texture not preserving the color and luminance. |
| TEXTURE_NORMALIZATION_COLOR_FROM_TEXTURE | 2 | Blend using the Color from texture mode. |
| TEXTURE_NORMALIZATION_COLOR_FROM_BRDF | 3 | Blend using the Color from BRDF mode. |
asset_preparation_api/naturalSky/natural_sky.proto
This file describes the service used to create, edit and manage natural skies.
NaturalSkyPreparation
Natural Sky Preparation Service
This service is used to create, edit and manage natural skies.
| Method Name | Request Type | Response Type | Description |
|---|---|---|---|
| CreateNaturalSky | CreateNaturalSkyRequest | CreateNaturalSkyResponse | Creates a new natural sky with an optional name. Note: Names must be unique amongst skies. Note: If unspecified, default values are used. Returns the identifier of the created natural sky. |
| GetNaturalSky | GetNaturalSkyRequest | GetNaturalSkyResponse | Gets the properties of a natural sky, given its identifier. Returns the natural sky properties. |
| ListNaturalSkies | .google.protobuf.Empty | ListNaturalSkiesResponse | Lists all the created natural skies. Returns the identifiers and names of the natural skies. |
| UpdateNaturalSky | UpdateNaturalSkyRequest | UpdateNaturalSkyResponse | Edits the properties of a natural sky, given its identifier. Note: Names must be unique amongst skies. |
| DeleteNaturalSky | DeleteNaturalSkyRequest | DeleteNaturalSkyResponse | Deletes a natural sky, given its identifier. Note: If you delete a natural sky that is set as the active_sky in an environment, the environment is updated with the default sky set as the active sky. |
| CreateNaturalSkyState | CreateNaturalSkyStateRequest | CreateNaturalSkyStateResponse | Creates a new natural sky state with optional properties. Note: Names must be unique amongst sibling states. Note: "Default" name is reserved. Note: If some properties are not specified, default values are used. Returns the information about the created natural sky state. |
| GetNaturalSkyState | GetNaturalSkyStateRequest | GetNaturalSkyStateResponse | Gets the properties of a natural sky state, given the parent natural sky identifier and the state name. Returns the natural sky state properties. |
| UpdateNaturalSkyState | UpdateNaturalSkyStateRequest | UpdateNaturalSkyStateResponse | Edits the properties of a state, given the parent natural sky identifier and the state name. Note: Names must be unique amongst sibling states. Note: "Default" name is reserved. |
| DeleteNaturalSkyState | DeleteNaturalSkyStateRequest | DeleteNaturalSkyStateResponse | Deletes a natural sky state, given the parent natural sky identifier and the state name. |
asset_preparation_api/naturalSky/natural_sky_description.proto
This file describes the messages used to create, edit and manage natural skies.
AmbientConditions
The ambient conditions properties.
| Field | Type | Label | Description |
|---|---|---|---|
| turbidity | google.protobuf.DoubleValue | The sky turbidity. Note: Must be in the range [2,9]. Note: The default value is 3. | |
| ambient_temperature | google.protobuf.DoubleValue | The ambient temperature. Unit: Degree Celsius Note: Must be in the range [-25,65]. Note: The default value is 25. | |
| relative_humidity | google.protobuf.DoubleValue | The relative humidity. Unit: Percentage (%) Note: Must be in the range [0,100]. Note: The default value is 50. | |
| no_override | asset_preparation.v3.common.Empty | The maximum solar warming is not overridden. Note: This is the default mode. Note: With this mode, the max_solar_warming is automatically computed. | |
| max_solar_warming | google.protobuf.DoubleValue | The maximum solar warming, describing the maximal temperature difference between shadowed and sun-exposed road. Unit: Degree Celsius Note: Must be in the range [0,100]. Note: The default value is 0. | |
| mean_road_emissivity | google.protobuf.DoubleValue | Mean road emissivity. Unit: Percentage (%) Note: Must be in the range [0,100]. Note: The default value is 10. |
CreateNaturalSkyRequest
The information required to create a natural sky.
| Field | Type | Label | Description |
|---|---|---|---|
| name | google.protobuf.StringValue | The natural sky name. Note: Names must be unique amongst skies. Note: If no name is defined, a default unique name is automatically set. | |
| properties | NaturalSkyProperties | The natural sky properties. |
CreateNaturalSkyResponse
The identifier of the created natural sky.
| Field | Type | Label | Description |
|---|---|---|---|
| identity | NaturalSkyIdentity | The identity of a natural sky. Returns null in case of failure. | |
| status | asset_preparation.v3.common.Status | The feedback status of the creation operation. |
CreateNaturalSkyStateRequest
The information required to create a natural sky state.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The natural sky identifier. | |
| state_name | string | The state name. Note: Names must be unique amongst sibling states. Note: "Default" name is reserved. | |
| base_state_name | google.protobuf.StringValue | The name of an already existing state on which will be based the state to create. Note: If not defined, the natural sky properties are used. | |
| state_properties | NaturalSkyProperties | The state properties. |
CreateNaturalSkyStateResponse
The response returned when creating a natural sky state.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | int32 | The natural sky identifier. | |
| state_name | string | The new state name. | |
| status | asset_preparation.v3.common.Status | The feedback status of the creation operation. |
Date
The date of a natural sky.
| Field | Type | Label | Description |
|---|---|---|---|
| day | int32 | ||
| month | int32 | ||
| year | int32 |
DeleteNaturalSkyRequest
The information required to delete a natural sky.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The identifier of the natural sky to delete. |
DeleteNaturalSkyResponse
The response returned when deleting a natural sky.
| Field | Type | Label | Description |
|---|---|---|---|
| status | asset_preparation.v3.common.Status | The feedback status of the delete operation. |
DeleteNaturalSkyStateRequest
The information required to delete a natural sky state.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The natural sky identifier. | |
| state_name | string | The name of the state to delete. |
DeleteNaturalSkyStateResponse
The response returned when deleting a natural sky state.
| Field | Type | Label | Description |
|---|---|---|---|
| status | asset_preparation.v3.common.Status | The feedback status of the delete operation. |
DynamicAccurateShadows
The properties of dynamic accurate shadows.
| Field | Type | Label | Description |
|---|---|---|---|
| shadow_offset_ratio | google.protobuf.DoubleValue | The shadow offset ratio. Note: Must be above 0.00001. Note: The default value is 0.01. | |
| shadow_radius | google.protobuf.DoubleValue | The shadow radius. Note: Must be equal or superior to 0. Note: The default value is 0. | |
| softness | google.protobuf.DoubleValue | The softness. Note: Must be in the range [0,2]. Note: The default value is 0. | |
| resolution | google.protobuf.Int32Value | The resolution. Note: Must be an integer in the range [1,8]. Note: The default value is 4. | |
| near_field_precision | google.protobuf.DoubleValue | The near field precision. Note: Must be in the range [0,1]. Note: The default value is 0.99. |
GetNaturalSkyRequest
The information required to examine a natural sky.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The identifier of the natural sky to examine. |
GetNaturalSkyResponse
The information about a natural sky.
| Field | Type | Label | Description |
|---|---|---|---|
| identity | NaturalSkyIdentity | The natural sky identity. | |
| properties | NaturalSkyProperties | The natural sky properties. | |
| state_names | string | repeated | The names of the natural sky states. |
| status | asset_preparation.v3.common.Status | The feedback status of the examination operation. |
GetNaturalSkyStateRequest
The information required to examine a state.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The identifier of the natural sky. | |
| state_name | string | The name of the state to examine. |
GetNaturalSkyStateResponse
The information about a natural sky state.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | int32 | The identifier of the examined natural sky. | |
| state_name | string | The state name. | |
| state_properties | NaturalSkyProperties | The properties of the examined state. | |
| status | asset_preparation.v3.common.Status | The feedback status of the reading operation. |
ListNaturalSkiesResponse
The identities of all the natural skies in the collection.
| Field | Type | Label | Description |
|---|---|---|---|
| skies | NaturalSkyIdentity | repeated | Natural sky identities. |
| status | asset_preparation.v3.common.Status | The feedback status of the listing operation. |
Location
The location properties.
| Field | Type | Label | Description |
|---|---|---|---|
| latitude | google.protobuf.DoubleValue | The latitude describing the south-north position. Unit: Degree Note: Must be in the range [-90,90]. Note: The default value is 48. | |
| longitude | google.protobuf.DoubleValue | The longitude describing the east-west position. Unit: Degree Note: Must be in the range [-180,180]. Note: The default value is 2. | |
| cardinal_direction | google.protobuf.DoubleValue | The cardinal direction for the X axis of the environment. Unit: Degree Note: Must be in the range [0,359]. Note: The default value is 0. |
NaturalSkyIdentity
The full identity of a natural sky, consisting of an identifier and a name.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | int32 | The natural sky identifier. | |
| name | string | The natural sky name. |
NaturalSkyProperties
The properties of a natural sky.
| Field | Type | Label | Description |
|---|---|---|---|
| time | Time | The time of the day. Note: The default value is 12:00. | |
| date | Date | The date. Note: The default value is 02-15-2018 (mm-dd-yyyy). | |
| location | Location | The location. | |
| ambient_conditions | AmbientConditions | The ambient conditions. | |
| no_shadow | asset_preparation.v3.common.Empty | The sky does not cast shadows. | |
| dynamic_accurate_shadows | DynamicAccurateShadows | The sky produces shadows with Parallel-Split Shadow Maps with adaptive detailed. Note: this is the default type of shadows. |
Time
The time of a natural sky.
| Field | Type | Label | Description |
|---|---|---|---|
| hours | int32 | ||
| minutes | int32 |
UpdateNaturalSkyRequest
The information required to update a natural sky.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The identifier of the natural sky to update. | |
| name | google.protobuf.StringValue | The new natural sky name. Note: Names must be unique amongst skies. Note: If no name is defined, the name is not updated. | |
| properties | NaturalSkyProperties | The natural sky properties. Note: All the properties are optional. |
UpdateNaturalSkyResponse
The response returned when updating a natural sky.
| Field | Type | Label | Description |
|---|---|---|---|
| status | asset_preparation.v3.common.Status | The feedback status of the update operation. |
UpdateNaturalSkyStateRequest
The information required to update a natural sky state.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The natural sky identifier. | |
| state_name | string | The current name of the state. | |
| state_new_name | google.protobuf.StringValue | The new name of the state. Note: Names must be unique amongst sibling states. Note: "Default" name is reserved. | |
| state_properties | NaturalSkyProperties | The new state properties. |
UpdateNaturalSkyStateResponse
The response returned when updating a natural sky state.
| Field | Type | Label | Description |
|---|---|---|---|
| state_name | string | The state name. | |
| status | asset_preparation.v3.common.Status | The feedback status of the update operation. |
asset_preparation_api/pointLight/point_light.proto
This file describes the service used to create, edit and manage point lights.
PointLightPreparation
Point Light Preparation Service
This service is used to create, edit and manage point lights.
| Method Name | Request Type | Response Type | Description |
|---|---|---|---|
| CreatePointLight | CreatePointLightRequest | CreatePointLightResponse | Creates a new point light with optional properties. Note: Names must be unique amongst point lights. Note: If unspecified, default values are used. Returns the identifier of the created point light. |
| GetPointLight | GetPointLightRequest | GetPointLightResponse | Gets the properties of a point light, given its identifier. Returns the point light properties. |
| ListPointLights | .google.protobuf.Empty | ListPointLightsResponse | Lists all the created point lights. Returns the identifiers and names of the point lights. |
| UpdatePointLight | UpdatePointLightRequest | UpdatePointLightResponse | Edits the properties of a point light, given its identifier. Note: Names must be unique amongst point lights. |
| DeletePointLight | DeletePointLightRequest | DeletePointLightResponse | Deletes a point light, given its identifier. |
| CreatePointLightState | CreatePointLightStateRequest | CreatePointLightStateResponse | Creates a new point light state with optional properties. Note: Names must be unique amongst sibling point light states. Note: "Default" name is reserved. Note: If some properties are not specified, default values are used. Returns the information about the created point light state. |
| GetPointLightState | GetPointLightStateRequest | GetPointLightStateResponse | Gets the properties of a point light state, given the parent point light identifier and the state name. Returns the point light state properties. |
| UpdatePointLightState | UpdatePointLightStateRequest | UpdatePointLightStateResponse | Edits the properties of a state, given the parent point light identifier and the state name. Note: Names must be unique amongst sibling point light states. Note: "Default" name is reserved. |
| DeletePointLightState | DeletePointLightStateRequest | DeletePointLightStateResponse | Deletes a point light state, given the parent point light identifier and the state name. |
asset_preparation_api/pointLight/point_light_description.proto
This file describes the messages used to create, edit and manage point lights.
BlackBody
Spectrum based on a black body.
| Field | Type | Label | Description |
|---|---|---|---|
| temperature | google.protobuf.DoubleValue | The temperature of the black body. Unit: Kelvin (K) Note: Must be in the range [0,30000]. Note: The default value is 5500. |
CreatePointLightRequest
The information required to create a point light.
| Field | Type | Label | Description |
|---|---|---|---|
| name | google.protobuf.StringValue | The point light name. Note: Names must be unique amongst point lights. Note: If no name is defined, a default unique name is automatically set. | |
| properties | PointLightProperties | The point light properties. |
CreatePointLightResponse
The identifier of the created point light.
| Field | Type | Label | Description |
|---|---|---|---|
| identity | PointLightIdentity | The identity of a point light. Returns null in case of failure. | |
| status | asset_preparation.v3.common.Status | The feedback status of the creation operation. |
CreatePointLightStateRequest
The information required to create a point light state.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The point light identifier. | |
| state_name | string | The state name. Note: Names must be unique amongst sibling point light states. Note: "Default" name is reserved. | |
| base_state_name | google.protobuf.StringValue | The name of an already existing state on which will be based the state to create. Note: If not defined, the point light properties are used. | |
| state_properties | PointLightProperties | The state properties. |
CreatePointLightStateResponse
The response returned when creating a point light state.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | int32 | The point light identifier. | |
| state_name | string | The new state name. | |
| status | asset_preparation.v3.common.Status | The feedback status of the creation operation. |
DeletePointLightRequest
The information required to delete a point light.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The identifier of the point light to delete. |
DeletePointLightResponse
The response returned when deleting a point light.
| Field | Type | Label | Description |
|---|---|---|---|
| status | asset_preparation.v3.common.Status | The feedback status of the delete operation. |
DeletePointLightStateRequest
The information required to delete a point light state.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The point light identifier. | |
| state_name | string | The name of the state to delete. |
DeletePointLightStateResponse
The response returned when deleting a point light state.
| Field | Type | Label | Description |
|---|---|---|---|
| status | asset_preparation.v3.common.Status | The feedback status of the delete operation. |
GaussianDiagram
The properties of gaussian angular diagram.
| Field | Type | Label | Description |
|---|---|---|---|
| x | google.protobuf.DoubleValue | Value along the X axis. Unit: Degree Note: Must be in the range [0,180]. Note: The default value is 45. | |
| y | google.protobuf.DoubleValue | Value along the Y axis. Unit: Degree Note: Must be in the range [0,180]. Note: The default value is 45. |
GetPointLightRequest
The information required to examine a point light.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The identifier of the point light to examine. |
GetPointLightResponse
The information about a point light.
| Field | Type | Label | Description |
|---|---|---|---|
| identity | PointLightIdentity | The point light identity. | |
| properties | PointLightProperties | The point light properties. | |
| state_names | string | repeated | The names of the point light states. |
| status | asset_preparation.v3.common.Status | The feedback status of the examination operation. |
GetPointLightStateRequest
The information required to examine a state.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The identifier of the point light. | |
| state_name | string | The name of the state to examine. |
GetPointLightStateResponse
The information about a point light state.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | int32 | The identifier of the examined point light. | |
| state_name | string | The state name. | |
| state_properties | PointLightProperties | The properties of the examined state. | |
| status | asset_preparation.v3.common.Status | The feedback status of the reading operation. |
Intensity
The properties of a custom point light.
| Field | Type | Label | Description |
|---|---|---|---|
| flux | google.protobuf.DoubleValue | The flux. Unit: lm Note: Must be positive. Note: The default value is 1000. | |
| angular_precision | google.protobuf.DoubleValue | The angular precision. Unit: Degree Note: Must be in the range [0,57]. Note: The default value is 0. | |
| diagram_library | LibraryDiagram | Intensity based on a library angular diagram. | |
| lambertian | LambertianDiagram | Intensity based on a lambertian angular diagram. | |
| gaussian | GaussianDiagram | Intensity based on a gaussian angular diagram. | |
| isotropic | IsotropicDiagram | Intensity based on an isotropic angular diagram. Note: This is the default type of angular diagram. |
IsotropicDiagram
Isotropic angular diagram.
LambertianDiagram
Lambertian angular diagram.
LibraryDiagram
The properties of library angular diagram.
| Field | Type | Label | Description |
|---|---|---|---|
| diagram_identifier | google.protobuf.Int32Value | The identifier of the intensity diagram (created using the Resource service) referenced in the point light. Note: The intensity diagram reference can be removed by setting the value '-1'. |
ListPointLightsResponse
The identities of all point lights in the collection.
| Field | Type | Label | Description |
|---|---|---|---|
| point_lights | PointLightIdentity | repeated | Point light identities. |
| status | asset_preparation.v3.common.Status | The feedback status of the listing operation. |
Monochromatic
Monochromatic spectrum.
| Field | Type | Label | Description |
|---|---|---|---|
| wavelength | google.protobuf.DoubleValue | The emission wavelength of the Spectrum. Unit: nanometer (nm) Note: Must be in the range [360,813]. Note: The default value is 580. |
PointLightIdentity
The full identity of a point light, consisting of an identifier and a name.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | int32 | The point light identifier. | |
| name | string | The point light name. |
PointLightProperties
The properties of a point light.
| Field | Type | Label | Description |
|---|---|---|---|
| intensity | Intensity | The intensity. | |
| spectrum_library | SpectrumLibrary | Spectrum based on a spectrum file. | |
| black_body | BlackBody | Spectrum based on a black body. Note: This is the default type of spectrum. | |
| monochromatic | Monochromatic | Monochromatic spectrum. | |
| color_rgb | asset_preparation.v3.common.ColorRgb | Spectrum based on a RGB color. Note: Default value is (255,255,255). | |
| color_hsv | asset_preparation.v3.common.ColorHsv | Spectrum based on an HSV color. Note: Default value is (0,0,100). | |
| no_shadow | asset_preparation.v3.common.Empty | The point light does not cast shadows. | |
| static_shadows | Shadows | The point light produces static shadows. | |
| dynamic_shadows | Shadows | The point light produces dynamic shadows. Note: This is the default type of shadows. | |
| rendering | Rendering | The rendering properties. |
Rendering
The rendering properties.
| Field | Type | Label | Description |
|---|---|---|---|
| range | google.protobuf.DoubleValue | The range describing the maximum distance of the light radiation. Unit: Meter (m) Note: Must be positive. Note: The default value is 128. |
Shadows
The properties of shadows.
| Field | Type | Label | Description |
|---|---|---|---|
| near_clip | google.protobuf.DoubleValue | The near clip. Unit: Meter (m) Note: Must be positive. Note: The default value is 0.1. | |
| shadows_offset_ratio | google.protobuf.DoubleValue | The shadow offset ratio. Note: Must be above 0.00001. Note: The default value is 0.01. | |
| softness | google.protobuf.DoubleValue | The softness. Note: Must be in the range [0,2]. Note: The default value is 0. |
SpectrumLibrary
Spectrum based on a spectrum file.
| Field | Type | Label | Description |
|---|---|---|---|
| spectrum_identifier | google.protobuf.Int32Value | The identifier of the spectrum (created using the Resource service) referenced in the point light. Note: The spectrum reference can be removed by setting the value '-1'. |
UpdatePointLightRequest
The information required to update a point light.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The identifier of the point light to update. | |
| name | google.protobuf.StringValue | The point light name. Note: Names must be unique amongst point lights. Note: If no name is defined, the name is not updated. | |
| properties | PointLightProperties | The point light properties. Note: All the properties are optional. |
UpdatePointLightResponse
The response returned when updating a point light.
| Field | Type | Label | Description |
|---|---|---|---|
| status | asset_preparation.v3.common.Status | The feedback status of the update operation. |
UpdatePointLightStateRequest
The information required to update a point light state.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The point light identifier. | |
| state_name | string | The current name of the state. | |
| state_new_name | google.protobuf.StringValue | The new name of the state. Note: Names must be unique amongst sibling point light states. Note: "Default" name is reserved. | |
| state_properties | PointLightProperties | The new state properties. |
UpdatePointLightStateResponse
The response returned when updating a point light state.
| Field | Type | Label | Description |
|---|---|---|---|
| state_name | string | The state name. | |
| status | asset_preparation.v3.common.Status | The feedback status of the update operation. |
asset_preparation_api/resource/resource.proto
This file describes the service used to manage resources.
ResourcePreparation
Resource Preparation Service
This service is used to manage resources.
| Method Name | Request Type | Response Type | Description |
|---|---|---|---|
| UploadResource | .asset_preparation.v3.common.Chunk stream | UploadResourceResponse | Uploads a new resource with a given stream of chunks containing the "AVX MIMEType" metadata. Note: A resource name can be provided using the "AVX DataName" key in the metadata. Note: Importing an irradiance map may take several minutes. The server response may be "freezing" during the import time. Returns the identity of the created resource. |
| DownloadResourceAsChunks | DownloadResourceAsChunksRequest | .asset_preparation.v3.common.Chunk stream | Downloads a resource binary content as a stream of chunks with a given identifier and type. Note: The first chunk of the stream provides the metadata "AVX MIMEType" and "AVX DataName". The last chunk of the stream provides the metadata "AVX Status Error" if an error occurred, "AVX Status Warning" or "AVX Status Info" if the export succeeded. Note: Irradiance maps cannot be downloaded. |
| DownloadResourceAsFile | DownloadResourceAsFileRequest | DownloadResourceAsFileResponse | Downloads a resource file with a given identifier, type and destination path. Note: Irradiance maps cannot be downloaded. |
| ListResources | ListResourcesRequest | ListResourcesResponse | Lists the identity of each resource of the given type. Note: If no type is provided, all the resources are listed. |
| DeleteResource | DeleteResourceRequest | DeleteResourceResponse | Deletes a resource, given its identifier and type. Note: If no identifier and type are provided, all the resources are released. Note: If only the type is provided, all the resources of the given type are released. |
asset_preparation_api/resource/resource_description.proto
This file describes the messages used to manage resources.
DeleteResourceRequest
The information required to delete a resource from the collection.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The identifier of the resource to delete. | |
| type | google.protobuf.StringValue | The type of the resource to delete. |
DeleteResourceResponse
The response returned when deleting a resource.
| Field | Type | Label | Description |
|---|---|---|---|
| status | asset_preparation.v3.common.Status | The feedback status of the delete operation. |
DownloadResourceAsChunksRequest
The request to export a resource as a stream.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The identifier of the resource to download. | |
| type | string | The type of the resource to download. |
DownloadResourceAsFileRequest
The request to export a resource as a file.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The identifier of the resource to download. | |
| type | string | The type of the resource to download. | |
| file_path | string | The path of the exported file. Note: The file extension must be correct according to the resource type. | |
| overwrite | google.protobuf.BoolValue | Describes whether the file should be overwritten. Note: The default value is true. |
DownloadResourceAsFileResponse
The response returned when downloading a resource as a file.
| Field | Type | Label | Description |
|---|---|---|---|
| status | asset_preparation.v3.common.Status | The feedback status of the download operation. |
ListResourcesRequest
The request to list all the uploaded resources of a specific type, if defined.
| Field | Type | Label | Description |
|---|---|---|---|
| type | google.protobuf.StringValue | The type of resources to list. |
ListResourcesResponse
The identities of all resources in the collection.
| Field | Type | Label | Description |
|---|---|---|---|
| identifiers | ResourceIdentity | repeated | Resource identities. |
| status | asset_preparation.v3.common.Status | The feedback status of the listing operation. |
ResourceIdentity
The full identity of a resource, consisting of an identifier, a type and a name.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | int32 | The identifier of the resource. | |
| type | string | The type of the resource. | |
| name | string | The name of the resource. |
UploadResourceResponse
The identity of the uploaded resource.
| Field | Type | Label | Description |
|---|---|---|---|
| identity | ResourceIdentity | The resource identity. | |
| status | asset_preparation.v3.common.Status | The feedback status of the upload operation. |
asset_preparation_api/scenetree/scenetree.proto
This file describes the service used to define, edit and manage scene trees.
SceneTreePreparation
Scene Tree Preparation Service
This service is used to create, edit and manage scene trees.
| Method Name | Request Type | Response Type | Description |
|---|---|---|---|
| CreateSceneTree | CreateSceneTreeRequest | CreateSceneTreeResponse | Creates a new scene tree with an optional given name. Returns the identifier of the created scene tree. |
| GetSceneTree | GetSceneTreeRequest | GetSceneTreeResponse | Gets the properties of a scene tree, given its identifier. Returns the scene tree properties. |
| ListSceneTrees | .google.protobuf.Empty | ListSceneTreesResponse | Lists all the created scene trees. Returns the identifiers and names of the scene trees. |
| UpdateSceneTree | UpdateSceneTreeRequest | UpdateSceneTreeResponse | Edits the properties of a scene tree, given its identifier. |
| DeleteSceneTree | DeleteSceneTreeRequest | DeleteSceneTreeResponse | Deletes a scene tree, given its identifier. |
| CreateNode | CreateNodeRequest | CreateNodeResponse | Creates a node given the parent scene tree or node identifier, with optional node parameters. Note: Names must be unique amongst sibling nodes. Note: The node is visible by default. Returns the identifier of the created node. |
| GetNode | GetNodeRequest | GetNodeResponse | Gets the properties of a node, given its identifier. Returns the node properties. |
| UpdateNode | UpdateNodeRequest | UpdateNodeResponse | Edits the properties of a node, given its identifier. Note: Names must be unique amongst sibling nodes. |
| DeleteNode | DeleteNodeRequest | DeleteNodeResponse | Deletes a node, given its identifier. |
| CreateGeometryInstance | CreateGeometryInstanceRequest | CreateGeometryInstanceResponse | Creates a geometry instance under a node, given the node identifier and geometry instance parameters. Note: The geometry instance is visible by default. Returns the identifier of the created geometry instance. |
| GetGeometryInstance | GetGeometryInstanceRequest | GetGeometryInstanceResponse | Gets the properties of a geometry instance, given its identifier. Returns the geometry instances properties. |
| UpdateGeometryInstance | UpdateGeometryInstanceRequest | UpdateGeometryInstanceResponse | Edits the properties of a geometry instance, given its identifier. |
| DeleteGeometryInstance | DeleteGeometryInstanceRequest | DeleteGeometryInstanceResponse | Deletes a geometry instance, given its identifier. |
| CreateDirectionalLightInstance | CreateDirectionalLightInstanceRequest | CreateDirectionalLightInstanceResponse | Creates a directional light instance under a node, given the node identifier and directional light instance parameters. Note: The directional light instance is visible by default. Returns the identifier of the created directional light instance. |
| GetDirectionalLightInstance | GetDirectionalLightInstanceRequest | GetDirectionalLightInstanceResponse | Gets the properties of a directional light instance, given its identifier. Returns the directional light instance properties. |
| UpdateDirectionalLightInstance | UpdateDirectionalLightInstanceRequest | UpdateDirectionalLightInstanceResponse | Edits the properties of a directional light instance, given its identifier. |
| DeleteDirectionalLightInstance | DeleteDirectionalLightInstanceRequest | DeleteDirectionalLightInstanceResponse | Deletes a directional light instance, given its identifier. |
| CreatePointLightInstance | CreatePointLightInstanceRequest | CreatePointLightInstanceResponse | Creates a point light instance under a node, given the node identifier and point light instance parameters. Note: The point light instance is visible by default. Returns the identifier of the created point light instance. |
| GetPointLightInstance | GetPointLightInstanceRequest | GetPointLightInstanceResponse | Gets the properties of a point light instance, given its identifier. Returns the point light instance properties. |
| UpdatePointLightInstance | UpdatePointLightInstanceRequest | UpdatePointLightInstanceResponse | Edits the properties of a point light instance, given its identifier. |
| DeletePointLightInstance | DeletePointLightInstanceRequest | DeletePointLightInstanceResponse | Deletes a point light instance, given its identifier. |
| PutSceneTreeFromAssetChunks | .asset_preparation.v3.common.Chunk stream | PutSceneTreeFromAssetResponse | Creates a new scene tree on the server by uploading an asset as a given stream of chunks containing the "AVX ConflictPolicy" metadata. All dependencies are uploaded into corresponding services, depending on the given conflict policy. Note: It is not possible to upload an asset including an object in which several states have the same name, or including a geometry with several material parts with the same name. |
| PutSceneTreeFromAssetFile | PutSceneTreeFromAssetFileRequest | PutSceneTreeFromAssetResponse | Creates a new scene tree on the server by uploading a given asset file. All dependencies are uploaded into corresponding services, depending on the given conflict policy. Note: It is not possible to upload an asset including an object in which several states have the same name, or including a geometry with several material parts with the same name. |
| GetAssetChunks | GetAssetChunksRequest | .asset_preparation.v3.common.Chunk stream | Packages the scene tree as an asset and exports it as a byte stream. Note: The last chunk of the stream provides the metadata "AVX Status Error" if an error occurred, "AVX Status Warning" or "AVX Status Info" if the export succeeded. |
| GetAssetFile | GetAssetFileRequest | GetAssetFileResponse | Packages the scene tree as an asset and exports it as a .asset file. |
asset_preparation_api/scenetree/scenetree_description.proto
This file describes the messages used to define, edit and manage scene trees.
CreateDirectionalLightInstanceRequest
The information required to create a directional light instance under a node.
Note: The directional light instance is visible by default.
| Field | Type | Label | Description |
|---|---|---|---|
| node_identifier | google.protobuf.Int32Value | The identifier of the parent node. | |
| name | google.protobuf.StringValue | The name of the directional light instance. Note: Names must be unique amongst siblings (nodes, geometries and light instances). Note: If no name is defined, a default unique name is automatically set. | |
| properties | DirectionalLightInstanceProperties | The directional light instance properties. |
CreateDirectionalLightInstanceResponse
The identifier of the created directional light instance.
| Field | Type | Label | Description |
|---|---|---|---|
| node_identifier | google.protobuf.Int32Value | The identifier of the parent node. | |
| instance_identity | DirectionalLightInstanceIdentity | The identifier of the directional light instance. Returns null in case of failure. | |
| status | asset_preparation.v3.common.Status | The feedback status of the creation operation. |
CreateGeometryInstanceRequest
The information required to create a geometry instance under a node.
Note: The geometry instance is visible by default.
| Field | Type | Label | Description |
|---|---|---|---|
| node_identifier | google.protobuf.Int32Value | The identifier of the parent node. | |
| name | google.protobuf.StringValue | The name of the geometry instance. Note: Names must be unique amongst siblings (nodes, geometries and light instances). Note: If no name is defined, a default unique name is automatically set. | |
| properties | GeometryInstanceProperties | The geometry instance properties. |
CreateGeometryInstanceResponse
The identifier of the created geometry instance.
| Field | Type | Label | Description |
|---|---|---|---|
| node_identifier | google.protobuf.Int32Value | The identifier of the parent node. | |
| instance_identity | GeometryInstanceIdentity | The identity of the geometry instance. Returns null in case of failure. | |
| status | asset_preparation.v3.common.Status | The feedback status of the creation operation. |
CreateNodeRequest
The information required to create a node under a scene tree or a node.
Note: The node is visible by default.
| Field | Type | Label | Description |
|---|---|---|---|
| scene_tree_identifier | int32 | The identifier of the parent scene tree. | |
| node_identifier | int32 | The identifier of the parent node. | |
| name | google.protobuf.StringValue | The node name. Note: Names must be unique amongst siblings (nodes, geometries and light instances). Note: If no name is defined, a default unique name is automatically set. | |
| properties | NodeProperties | The node properties. |
CreateNodeResponse
The identifier of the created node.
| Field | Type | Label | Description |
|---|---|---|---|
| scene_tree_identifier | int32 | The identifier of the parent scene tree. | |
| node_identifier | int32 | The identifier of the parent node. | |
| identity | NodeIdentity | The identity of the node. Returns null in case of failure. | |
| status | asset_preparation.v3.common.Status | The feedback status of the creation operation. |
CreatePointLightInstanceRequest
The information required to create a point light instance under a node.
Note: The point light instance is visible by default.
| Field | Type | Label | Description |
|---|---|---|---|
| node_identifier | google.protobuf.Int32Value | The identifier of the parent node. | |
| name | google.protobuf.StringValue | The name of the point light instance. Note: Names must be unique amongst siblings (nodes, geometries and light instances). Note: If no name is defined, a default unique name is automatically set. | |
| properties | PointLightInstanceProperties | The point light instance properties. |
CreatePointLightInstanceResponse
The identifier of the created point light instance.
| Field | Type | Label | Description |
|---|---|---|---|
| node_identifier | google.protobuf.Int32Value | The identifier of the parent node. | |
| instance_identity | PointLightInstanceIdentity | The identity of the point light instance. Returns null in case of failure. | |
| status | asset_preparation.v3.common.Status | The feedback status of the creation operation. |
CreateSceneTreeRequest
The information required to create a scene tree.
| Field | Type | Label | Description |
|---|---|---|---|
| name | google.protobuf.StringValue | The scene tree name. Note: If no name is defined, a default unique name is automatically set. |
CreateSceneTreeResponse
The identity of the created scene tree.
| Field | Type | Label | Description |
|---|---|---|---|
| identity | SceneTreeIdentity | The scene tree identity. Returns null in case of failure. | |
| status | asset_preparation.v3.common.Status | The feedback status of the creation operation. |
CustomTemperature
The custom temperature.
Unit: Degree Celsius
Note: Must be in the range [-40,100].
Note: The default value is 0.
| Field | Type | Label | Description |
|---|---|---|---|
| value | google.protobuf.DoubleValue | The temperature value. |
DeleteDirectionalLightInstanceRequest
The information required to delete a directional light instance.
| Field | Type | Label | Description |
|---|---|---|---|
| node_identifier | google.protobuf.Int32Value | The identifier of the parent node. | |
| instance_identifier | google.protobuf.Int32Value | The identifier of the directional light instance. |
DeleteDirectionalLightInstanceResponse
The response returned when deleting a directional light instance.
| Field | Type | Label | Description |
|---|---|---|---|
| status | asset_preparation.v3.common.Status | The feedback status of the delete operation. |
DeleteGeometryInstanceRequest
The information required to delete a geometry instance.
| Field | Type | Label | Description |
|---|---|---|---|
| node_identifier | google.protobuf.Int32Value | The identifier of the parent node. | |
| instance_identifier | google.protobuf.Int32Value | The identifier of the geometry instance. |
DeleteGeometryInstanceResponse
The response returned when deleting a geometry instance.
| Field | Type | Label | Description |
|---|---|---|---|
| status | asset_preparation.v3.common.Status | The feedback status of the delete operation. |
DeleteNodeRequest
The information required to delete a node.
| Field | Type | Label | Description |
|---|---|---|---|
| scene_tree_identifier | int32 | The identifier of the parent scene tree. | |
| node_identifier | int32 | The identifier of the parent node. | |
| identifier | google.protobuf.Int32Value | The identifier of the node. |
DeleteNodeResponse
The response returned when deleting a node.
| Field | Type | Label | Description |
|---|---|---|---|
| status | asset_preparation.v3.common.Status | The feedback status of the delete operation. |
DeletePointLightInstanceRequest
The information required to delete a point light instance.
| Field | Type | Label | Description |
|---|---|---|---|
| node_identifier | google.protobuf.Int32Value | The identifier of the parent node. | |
| instance_identifier | google.protobuf.Int32Value | The identifier of the point light instance. |
DeletePointLightInstanceResponse
The response returned when deleting a point light instance.
| Field | Type | Label | Description |
|---|---|---|---|
| status | asset_preparation.v3.common.Status | The feedback status of the delete operation. |
DeleteSceneTreeRequest
The information required to delete a scene tree.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The identifier of the scene tree to delete. |
DeleteSceneTreeResponse
The response returned when deleting a scene tree.
| Field | Type | Label | Description |
|---|---|---|---|
| status | asset_preparation.v3.common.Status | The feedback status of the delete operation. |
DirectionalLightInstanceIdentity
The full identity of a directional light instance, consisting of an identifier and a name.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | int32 | The directional light instance identifier. | |
| name | string | The directional light instance name. |
DirectionalLightInstanceProperties
The properties of a directional light instance.
| Field | Type | Label | Description |
|---|---|---|---|
| directional_light_identifier | google.protobuf.Int32Value | The identifier of the referenced directional light. Note: Mandatory for creation. Ignored during edition. | |
| transform | Transform | The directional light instance transformation. Note: The scale should not be set for light instances. If defined, it will be ignored. | |
| visibility | google.protobuf.BoolValue | The directional light instance visibility. Note: The directional light instance is visible by default. |
GeometryInstanceIdentity
The full identity of a geometry instance, consisting of an identifier and a name.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | int32 | The geometry instance identifier. | |
| name | string | The geometry instance name. |
GeometryInstanceProperties
The properties of a geometry instance.
| Field | Type | Label | Description |
|---|---|---|---|
| geometry_identifier | google.protobuf.Int32Value | The identifier of the referenced geometry. Note: Mandatory for creation. Ignored during edition. | |
| transform | Transform | The geometry instance transformation. | |
| visibility | google.protobuf.BoolValue | The geometry instance visibility. Note: The geometry instance is visible by default. | |
| thermal_properties | ThermalProperties | The thermal properties of the instance. Note: The thermal properties are not set by default. | |
| removed_tags | asset_preparation.v3.common.TagIdentity | repeated | Tags to remove from the geometry instance. |
| added_tags | asset_preparation.v3.common.Tag | repeated | Tag(s) to add to the geometry instance. Note: If you want to tag a dynamic asset as a custom simulation object, you must add the custom tag first, then add a second asset tag: BASIC_TYPE_VEHICLE, BASIC_TYPE_PEDESTRIAN or BASIC_TYPE_ANIMAL, in this specific order. |
GetAssetChunksRequest
The information required to export a scene tree as a stream of asset chunks.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The identifier of the scene tree to export. |
GetAssetFileRequest
The information required to export a scene tree as an asset file.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The identifier of the scene tree to export. | |
| file_path | string | The path of the exported file. | |
| overwrite | google.protobuf.BoolValue | Describes whether the file should be overwritten. |
GetAssetFileResponse
The response returned when exporting a scene tree as an asset file.
| Field | Type | Label | Description |
|---|---|---|---|
| status | asset_preparation.v3.common.Status | The feedback status of the export operation. |
GetDirectionalLightInstanceRequest
The information required to examine a directional light instance.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The identifier of the directional light instance to examine. |
GetDirectionalLightInstanceResponse
The information about a directional light instance.
| Field | Type | Label | Description |
|---|---|---|---|
| identity | DirectionalLightInstanceIdentity | The identity of the directional light instance. | |
| properties | DirectionalLightInstanceProperties | The directional light instance properties. | |
| status | asset_preparation.v3.common.Status | The feedback status of the examination operation. |
GetGeometryInstanceRequest
The information required to examine a geometry instance.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The identifier of the geometry instance to examine. |
GetGeometryInstanceResponse
The information about a geometry instance.
| Field | Type | Label | Description |
|---|---|---|---|
| identity | GeometryInstanceIdentity | The identity of the geometry instance. | |
| properties | GeometryInstanceProperties | The geometry instance properties. | |
| status | asset_preparation.v3.common.Status | The feedback status of the examination operation. |
GetNodeRequest
The information required to examine a node.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The identifier of the node to examine. |
GetNodeResponse
The information about a node.
| Field | Type | Label | Description |
|---|---|---|---|
| identity | NodeIdentity | The identity of the node. | |
| properties | NodeProperties | The node properties. | |
| nodes | NodeIdentity | repeated | The identities of all the direct child nodes. |
| geometry_instances | GeometryInstanceIdentity | repeated | The identities of all the geometries instantiated under the current node. |
| directional_light_instances | DirectionalLightInstanceIdentity | repeated | The identities of all the directional lights instantiated under the current node. |
| point_light_instances | PointLightInstanceIdentity | repeated | The identities of all the point lights instantiated under the current node. |
| status | asset_preparation.v3.common.Status | The feedback status of the examination operation. |
GetPointLightInstanceRequest
The information required to examine a point light instance.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The identifier of the point light instance to examine. |
GetPointLightInstanceResponse
The information about a point light instance.
| Field | Type | Label | Description |
|---|---|---|---|
| identity | PointLightInstanceIdentity | The identity of the point light instance. | |
| properties | PointLightInstanceProperties | The point light instance properties. | |
| status | asset_preparation.v3.common.Status | The feedback status of the examination operation. |
GetSceneTreeRequest
The information required to examine a scene tree.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The identifier of the scene tree to examine. |
GetSceneTreeResponse
The information about a scene tree.
| Field | Type | Label | Description |
|---|---|---|---|
| identity | SceneTreeIdentity | The scene tree identity. | |
| nodes | NodeIdentity | repeated | The identities of all the nodes in the scene tree (direct children only). |
| status | asset_preparation.v3.common.Status | The feedback status of the examination operation. |
ListSceneTreesResponse
The identities of all scene trees in the collection.
| Field | Type | Label | Description |
|---|---|---|---|
| scene_trees | SceneTreeIdentity | repeated | Scene tree identities. |
| status | asset_preparation.v3.common.Status | The feedback status of the listing operation. |
NodeIdentity
The full identity of a node, consisting of an identifier and a name.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | int32 | The node identifier. | |
| name | string | The node name. |
NodeProperties
The properties of a node.
| Field | Type | Label | Description |
|---|---|---|---|
| transform | Transform | The node transformation. | |
| visibility | google.protobuf.BoolValue | The node visibility. Note: The node is visible by default. | |
| removed_tags | asset_preparation.v3.common.TagIdentity | repeated | Tag(s) to remove from the node. |
| added_tags | asset_preparation.v3.common.Tag | repeated | Tag(s) to add to the node. Note: If you want to tag a dynamic asset as a custom simulation object, you must add the custom tag first, then add a second asset tag: BASIC_TYPE_VEHICLE, BASIC_TYPE_PEDESTRIAN or BASIC_TYPE_ANIMAL, in this specific order. |
PointLightInstanceIdentity
The full identity of a point light instance, consisting of an identifier and a name.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | int32 | The point light instance identifier. | |
| name | string | The point light instance name. |
PointLightInstanceProperties
The properties of a point light instance.
| Field | Type | Label | Description |
|---|---|---|---|
| point_light_identifier | google.protobuf.Int32Value | The identifier of the referenced point light. Note: Mandatory for creation. Ignored during edition. | |
| transform | Transform | The point light instance transformation. Note: The scale should not be set for light instances. If defined, it will be ignored. | |
| visibility | google.protobuf.BoolValue | The point light instance visibility. Note: The point light instance is visible by default. | |
| removed_tags | asset_preparation.v3.common.TagIdentity | repeated | Tags to remove from the point light instance. |
| added_tags | asset_preparation.v3.common.Tag | repeated | Tag(s) to add to the point light instance. Note: Only LightingType Tags are allowed. |
PutSceneTreeFromAssetFileRequest
The information required to create a scene tree from an uploaded asset file.
| Field | Type | Label | Description |
|---|---|---|---|
| file_path | string | The path of the .asset file to upload. | |
| name_conflict_policy | asset_preparation.v3.common.ConflictPolicy | The policy to follow in case of name conflict with server's objects. |
PutSceneTreeFromAssetResponse
The response returned when uploading an asset.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | int32 | The imported scene tree identifier. | |
| status | asset_preparation.v3.common.Status | The feedback status of the upload operation. |
SceneTreeIdentity
The full identity of a scene tree, consisting of an identifier and a name.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | int32 | The scene tree identifier. | |
| name | string | The scene tree name. |
ThermalProperties
The thermal properties.
| Field | Type | Label | Description |
|---|---|---|---|
| no_custom_temperature | asset_preparation.v3.common.Empty | No custom temperature. Note: This is the default mode. With this mode, if a natural sky is set in the environment, the temperature of the geometry instance will be the Ambient Temperature set in the sky properties. | |
| custom_temperature | CustomTemperature | The custom temperature. |
UpdateDirectionalLightInstanceRequest
The information required to edit the properties of a directional light instance.
| Field | Type | Label | Description |
|---|---|---|---|
| node_identifier | google.protobuf.Int32Value | The identifier of the parent node. | |
| instance_identifier | google.protobuf.Int32Value | The identifier of the directional light instance. | |
| name | google.protobuf.StringValue | The name of the directional light instance. Note: Names must be unique amongst siblings (nodes, geometries and light instances). Note: If no name is defined, the name is not updated. | |
| properties | DirectionalLightInstanceProperties | The new directional light instance properties. Note: All the properties are optional. |
UpdateDirectionalLightInstanceResponse
The response returned when updating a directional light instance.
| Field | Type | Label | Description |
|---|---|---|---|
| status | asset_preparation.v3.common.Status | The feedback status of the update operation. |
UpdateGeometryInstanceRequest
The information required to update a geometry instance.
| Field | Type | Label | Description |
|---|---|---|---|
| node_identifier | google.protobuf.Int32Value | The identifier of the parent node. | |
| instance_identifier | google.protobuf.Int32Value | The identifier of the geometry instance. | |
| name | google.protobuf.StringValue | The name of the geometry instance. Note: Names must be unique amongst siblings (nodes, geometries and light instances). Note: If no name is defined, the name is not updated. | |
| properties | GeometryInstanceProperties | The geometry instance properties. Note: All the properties are optional. |
UpdateGeometryInstanceResponse
The response returned when updating a geometry instance.
| Field | Type | Label | Description |
|---|---|---|---|
| status | asset_preparation.v3.common.Status | The feedback status of the update operation. |
UpdateNodeRequest
The information required to update a node.
| Field | Type | Label | Description |
|---|---|---|---|
| scene_tree_identifier | int32 | The identifier of the parent scene tree. | |
| node_identifier | int32 | The identifier of the parent node. | |
| identifier | google.protobuf.Int32Value | The identifier of the node. | |
| name | google.protobuf.StringValue | The node name. Note: Names must be unique amongst siblings (nodes, geometries and light instances). Note: If no name is defined, the name is not updated. | |
| properties | NodeProperties | The node properties. Note: All the properties are optional. |
UpdateNodeResponse
The response returned when updating a node.
| Field | Type | Label | Description |
|---|---|---|---|
| status | asset_preparation.v3.common.Status | The feedback status of the update operation. |
UpdatePointLightInstanceRequest
The information required to update a point light instance.
| Field | Type | Label | Description |
|---|---|---|---|
| node_identifier | google.protobuf.Int32Value | The identifier of the parent node. | |
| instance_identifier | google.protobuf.Int32Value | The identifier of the point light instance. | |
| name | google.protobuf.StringValue | The name of the point light instance. Note: Names must be unique amongst siblings (nodes, geometries and light instances). Note: If no name is defined, the name is not updated. | |
| properties | PointLightInstanceProperties | The new point light instance properties. Note: All the properties are optional. |
UpdatePointLightInstanceResponse
The response returned when updating a point light instance.
| Field | Type | Label | Description |
|---|---|---|---|
| status | asset_preparation.v3.common.Status | The feedback status of the update operation. |
UpdateSceneTreeRequest
The information required to update a scene tree.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The identifier of the scene tree to update. | |
| name | google.protobuf.StringValue | The scene tree name. Note: If no name is defined, the name is not updated. |
UpdateSceneTreeResponse
The response returned when updating a scene tree.
| Field | Type | Label | Description |
|---|---|---|---|
| status | asset_preparation.v3.common.Status | The feedback status of the update operation. |
asset_preparation_api/scenetree/transform.proto
This file describes the messages used to transform objects in the scene tree hierarchy.
EulerAngles
Euler angles.
Unit: Degree
Note: Rotations expressed in Euler Angles are applied following the intrinsic sequence: pitch (X), yaw (Y), roll (Z). When a rotation is set around 2 axes or more, the vertex is rotated first around the X axis. Then, the rotation around the Y axis is applied to the vertex rotated on X. Finally, the rotation around the Z axis is applied to the vertex rotated on X and Y.
| Field | Type | Label | Description |
|---|---|---|---|
| x | double | Rotation along the X axis. | |
| y | double | Rotation along the Y axis. | |
| z | double | Rotation along the Z axis. |
Quaternion
A quaternion.
| Field | Type | Label | Description |
|---|---|---|---|
| x | double | X value of the quaternion. | |
| y | double | Y value of the quaternion. | |
| z | double | Z value of the quaternion. | |
| w | double | W value of the quaternion. |
Transform
The transformation of an object in the scene tree hierarchy.
| Field | Type | Label | Description |
|---|---|---|---|
| x_position | google.protobuf.DoubleValue | Position along the X axis. Unit: meter (m) | |
| y_position | google.protobuf.DoubleValue | Position along the Y axis. Unit: meter (m) | |
| z_position | google.protobuf.DoubleValue | Position along the Z axis. Unit: meter (m) | |
| quaternion | Quaternion | Rotation expressed as a quaternion. | |
| euler_angles | EulerAngles | Rotation expressed as Euler angles. | |
| x_scale | google.protobuf.DoubleValue | Scale along the X axis. | |
| y_scale | google.protobuf.DoubleValue | Scale along the Y axis. | |
| z_scale | google.protobuf.DoubleValue | Scale along the Z axis. | |
| relativity | Relativity | Relativity. |
Relativity
Relativity of a transformation.
| Name | Number | Description |
|---|---|---|
| RELATIVITY_UNSPECIFIED | 0 | The transformation relativity is unspecified. |
| RELATIVITY_RELATIVE | 1 | The transformation is relative to the object's parent. |
| RELATIVITY_ABSOLUTE | 2 | The transformation is in world coordinates. |
asset_preparation_api/surfaceSource/surface_source.proto
This file describes the service used to create, edit and manage surface sources.
SurfaceSourcePreparation
Surface Source Preparation Service
This service is used to create, edit and manage surface sources.
| Method Name | Request Type | Response Type | Description |
|---|---|---|---|
| CreateSurfaceSource | CreateSurfaceSourceRequest | CreateSurfaceSourceResponse | Creates a new surface source with an optional name and properties. Note: If unspecified, default values are used. Returns the identifier of the created surface source. |
| GetSurfaceSource | GetSurfaceSourceRequest | GetSurfaceSourceResponse | Gets the properties of a surface source, given its identifier. Returns the surface source or display source properties. |
| ListSurfaceSources | .google.protobuf.Empty | ListSurfaceSourcesResponse | Lists all the created surface sources. Returns the identifiers and names of the surface sources. |
| UpdateSurfaceSource | UpdateSurfaceSourceRequest | UpdateSurfaceSourceResponse | Edits the properties of a surface source, given its identifier. Note: Names must be unique amongst surface sources. |
| DeleteSurfaceSource | DeleteSurfaceSourceRequest | DeleteSurfaceSourceResponse | Deletes a surface source, given its identifier. |
| CreateSurfaceSourceState | CreateSurfaceSourceStateRequest | CreateSurfaceSourceStateResponse | Creates a new surface source state with optional properties. Note: Names must be unique amongst sibling surface source states. Note: "Default" name is reserved. Note: If some properties are not specified, default values are used. Returns the information about the created surface source state. |
| GetSurfaceSourceState | GetSurfaceSourceStateRequest | GetSurfaceSourceStateResponse | Gets the properties of a surface source state, given the parent surface source identifier and the state name. Returns the surface source state properties. |
| UpdateSurfaceSourceState | UpdateSurfaceSourceStateRequest | UpdateSurfaceSourceStateResponse | Edits the properties of a state, given the parent surface source identifier and the state name. Note: Names must be unique amongst sibling surface source states. Note: "Default" name is reserved. |
| DeleteSurfaceSourceState | DeleteSurfaceSourceStateRequest | DeleteSurfaceSourceStateResponse | Deletes a surface source state, given the parent surface source identifier and the state name. |
asset_preparation_api/surfaceSource/surface_source_description.proto
This file describes the messages used to create, edit and manage surface sources.
BlackBody
Spectrum based on a black body.
| Field | Type | Label | Description |
|---|---|---|---|
| temperature | google.protobuf.DoubleValue | The temperature of the black body. Unit: Kelvin (K) Note: Must be in the range [0,30000]. Note: The default value is 5500. |
CreateSurfaceSourceRequest
The information required to create a surface source.
| Field | Type | Label | Description |
|---|---|---|---|
| name | google.protobuf.StringValue | The surface source name. Note: Names must be unique amongst surface sources. Note: If no name is defined, a default unique name is automatically set. | |
| properties | SourceProperties | The source properties. |
CreateSurfaceSourceResponse
The identity of the created surface source.
| Field | Type | Label | Description |
|---|---|---|---|
| identity | SurfaceSourceIdentity | The identity of a surface source. Returns null in case of failure. | |
| status | asset_preparation.v3.common.Status | The feedback status of the creation operation. |
CreateSurfaceSourceStateRequest
The information required to create a surface source state.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The surface source identifier. | |
| state_name | string | The state name. Note: Names must be unique amongst sibling surface source states. Note: "Default" name is reserved. | |
| base_state_name | google.protobuf.StringValue | The name of an already existing state on which will be based the state to create. Note: If not defined, the surface source properties are used. | |
| state_properties | SourceProperties | The state properties. |
CreateSurfaceSourceStateResponse
The response returned when creating a surface source state.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | int32 | The surface source identifier. | |
| state_name | string | The new state name. | |
| status | asset_preparation.v3.common.Status | The feedback status of the creation operation. |
DeleteSurfaceSourceRequest
The information required to delete a surface source.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The identifier of the surface source to delete. |
DeleteSurfaceSourceResponse
The response returned when deleting a surface source.
| Field | Type | Label | Description |
|---|---|---|---|
| status | asset_preparation.v3.common.Status | The feedback status of the delete operation. |
DeleteSurfaceSourceStateRequest
The information required to delete a surface source state.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The surface source identifier. | |
| state_name | string | The name of the state to delete. |
DeleteSurfaceSourceStateResponse
The response returned when deleting a surface source state.
| Field | Type | Label | Description |
|---|---|---|---|
| status | asset_preparation.v3.common.Status | The feedback status of the delete operation. |
DisplaySourceProperties
The properties of a display source.
Note: For display sources, the spectrum is only needed if the display source contributes to lighting.
| Field | Type | Label | Description |
|---|---|---|---|
| luminance | google.protobuf.DoubleValue | The display source luminance. Unit: candela/sq. meter (cd/m2) Note: Must be positive. Note: The default value is 0. | |
| angular_precision | google.protobuf.DoubleValue | The angular precision. Unit: Degree Note: Must be in the range [0,57]. Note: The default value is 0. | |
| lambertian | LambertianDiagram | Intensity based on a Lambertian angular diagram. Note: This is the default type of angular diagram. | |
| diagram_library | LibraryDiagram | Intensity based on a library angular diagram. | |
| gaussian | GaussianDiagram | Intensity based on a gaussian angular diagram. | |
| reverse_direction | google.protobuf.BoolValue | Whether the direction of the display source is reversed. | |
| no_contribution | asset_preparation.v3.common.Empty | The display source does not contribute to lighting. Note: This is the default value. | |
| lighting_contribution | LightingContribution | The lighting contribution of the display source. | |
| spectrum_library | SpectrumLibrary | Spectrum based on a spectrum file. Note: This is the default spectrum type. | |
| black_body | BlackBody | Spectrum based on a black body. | |
| monochromatic | Monochromatic | Monochromatic spectrum. | |
| color_rgb | asset_preparation.v3.common.ColorRgb | Spectrum based on a RGB color. Note: Default value is (255,255,255). | |
| color_hsv | asset_preparation.v3.common.ColorHsv | Spectrum based on an HSV color. Note: Default value is (0,0,100). | |
| texture_identifier | google.protobuf.Int32Value | The identifier of the display texture (created using the Resource service) referenced in the display source. Note: The texture reference can be removed by setting the value '-1'. | |
| uv_channel | google.protobuf.Int32Value | The UV channel used to map the texture. Note: Must be in the range [1,4]. Note: The default value is 1. |
GaussianDiagram
The properties of gaussian angular diagram.
| Field | Type | Label | Description |
|---|---|---|---|
| x | google.protobuf.DoubleValue | Value along the X axis. Unit: Degree Note: Must be in the range [0,180]. Note: The default value is 45. | |
| y | google.protobuf.DoubleValue | Value along the Y axis. Unit: Degree Note: Must be in the range [0,180]. Note: The default value is 45. |
GetSurfaceSourceRequest
The information required to examine a surface source.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The identifier of the surface source to examine. |
GetSurfaceSourceResponse
The properties of a surface source.
| Field | Type | Label | Description |
|---|---|---|---|
| identity | SurfaceSourceIdentity | The identifier of the surface source. | |
| properties | SourceProperties | The surface source properties. | |
| state_names | string | repeated | The names of the surface source states. |
| status | asset_preparation.v3.common.Status | The feedback status of the examination operation. |
GetSurfaceSourceStateRequest
The information required to examine a state.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The identifier of the surface source. | |
| state_name | string | The name of the state to examine. |
GetSurfaceSourceStateResponse
The information about a surface source state.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | int32 | The identifier of the examined surface source. | |
| state_name | string | The state name. | |
| state_properties | SourceProperties | The properties of the examined state. | |
| status | asset_preparation.v3.common.Status | The feedback status of the reading operation. |
LambertianDiagram
Lambertian angular diagram.
LibraryDiagram
The properties of library angular diagram.
| Field | Type | Label | Description |
|---|---|---|---|
| diagram_identifier | google.protobuf.Int32Value | The identifier of the intensity diagram (created using the Resource service) referenced in the surface source. Note: The intensity diagram reference can be removed by setting the value '-1'. | |
| offset | Vector3 | The intensity diagram offset. Unit: Degree |
LightingContribution
Describes how a surface or display source contributes to the scene lighting, including whether the different surfaces composing the geometry must be joint or disjoint.
| Field | Type | Label | Description |
|---|---|---|---|
| joint | asset_preparation.v3.common.Empty | With joint surfaces, the surface or display source acts as a single point light for contribution to the scene lighting. Note: This is the default value. | |
| disjoint_flux_distribution | DisjointFluxDistributionType | With disjoint surfaces, the surface or display source acts as several point lights (as many point lights as there are surfaces in the geometry) for contribution to the scene lighting. | |
| orientation_offset | Vector3 | The orientation offset. Unit: Degree | |
| position_offset | google.protobuf.DoubleValue | The position offset. Unit: Millimeter (mm) Note: The default value is 0. | |
| rendering | Rendering | The rendering properties. | |
| no_shadow | asset_preparation.v3.common.Empty | The surface source does not cast shadows. Note: This is the default value. | |
| static_shadows | Shadows | The surface source produces static shadows. | |
| dynamic_shadows | Shadows | The surface source produces dynamic shadows. |
ListSurfaceSourcesResponse
The identities of all surface sources in the collection.
| Field | Type | Label | Description |
|---|---|---|---|
| surface_sources | SurfaceSourceIdentity | repeated | Surface source identities. |
| status | asset_preparation.v3.common.Status | The feedback status of the listing operation. |
Monochromatic
Monochromatic spectrum.
| Field | Type | Label | Description |
|---|---|---|---|
| wavelength | google.protobuf.DoubleValue | The emission wavelength of the Spectrum. Unit: nanometer (nm) Note: Must be in the range [360,813]. Note: The default value is 580. |
Rendering
The rendering properties.
| Field | Type | Label | Description |
|---|---|---|---|
| range | google.protobuf.DoubleValue | The range describing the maximum distance of the light radiation. Unit: Meter (m) Note: Must be positive. Note: The default value is 128. |
Shadows
The properties of shadows.
| Field | Type | Label | Description |
|---|---|---|---|
| near_clip | google.protobuf.DoubleValue | The near clip. Unit: Meter (m) Note: Must be positive. Note: The default value is 0.1. | |
| shadows_offset_ratio | google.protobuf.DoubleValue | The shadow offset ratio. Note: Must be above 0.00001. Note: The default value is 0.01. | |
| softness | google.protobuf.DoubleValue | The softness. Note: Must be in the range [0,2]. Note: The default value is 0. |
SourceProperties
The source properties.
| Field | Type | Label | Description |
|---|---|---|---|
| surface_source | SurfaceSourceProperties | Surface source. Note: This is the default type. | |
| display_source | DisplaySourceProperties | Display source. |
SpectrumLibrary
Spectrum based on a spectrum file.
| Field | Type | Label | Description |
|---|---|---|---|
| spectrum_identifier | google.protobuf.Int32Value | The identifier of the spectrum (created using the Resource service) referenced in the surface source. Note: The spectrum reference can be removed by setting the value '-1'. |
SurfaceSourceIdentity
The full identity of a surface source, consisting of an identifier and a name.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | int32 | The surface source identifier. | |
| name | string | The surface source name. |
SurfaceSourceProperties
The properties of a surface source.
| Field | Type | Label | Description |
|---|---|---|---|
| flux | google.protobuf.DoubleValue | The surface source flux. Unit: lumen (lm) Note: Must be positive. Note: The default value is 500. | |
| angular_precision | google.protobuf.DoubleValue | The angular precision. Unit: Degree Note: Must be in the range [0,57]. Note: The default value is 0. | |
| lambertian | LambertianDiagram | Intensity based on a lambertian angular diagram. | |
| diagram_library | LibraryDiagram | Intensity based on a library angular diagram. Note: This is the default type of angular diagram. | |
| gaussian | GaussianDiagram | Intensity based on a gaussian angular diagram. | |
| reverse_direction | google.protobuf.BoolValue | Whether the direction of the surface source is reversed. | |
| no_contribution | asset_preparation.v3.common.Empty | The surface source does not contribute to lighting. Note: This is the default value. | |
| lighting_contribution | LightingContribution | The lighting contribution of the surface source. | |
| spectrum_library | SpectrumLibrary | Spectrum based on a spectrum file. Note: This is the default spectrum type. | |
| black_body | BlackBody | Spectrum based on a black body. | |
| monochromatic | Monochromatic | Monochromatic spectrum. | |
| color_rgb | asset_preparation.v3.common.ColorRgb | Spectrum based on a RGB color. | |
| color_hsv | asset_preparation.v3.common.ColorHsv | Spectrum based on an HSV color. |
UpdateSurfaceSourceRequest
The information required to update a surface source.
Note: All the properties are optional so you can modify only one property.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The surface source identifier. | |
| name | google.protobuf.StringValue | The surface source name. Note: Names must be unique amongst surface sources. Note: If no name is defined, the name is not updated. | |
| properties | SourceProperties | The surface source properties. |
UpdateSurfaceSourceResponse
The response returned when updating a surface source.
| Field | Type | Label | Description |
|---|---|---|---|
| status | asset_preparation.v3.common.Status | The feedback status of the update operation. |
UpdateSurfaceSourceStateRequest
The information required to update a surface source state.
| Field | Type | Label | Description |
|---|---|---|---|
| identifier | google.protobuf.Int32Value | The surface source identifier. | |
| state_name | string | The current name of the state. | |
| state_new_name | google.protobuf.StringValue | The new name of the state. Note: Names must be unique amongst sibling surface source states. Note: "Default" name is reserved. | |
| state_properties | SourceProperties | The new state properties. |
UpdateSurfaceSourceStateResponse
The response returned when updating a surface source state.
| Field | Type | Label | Description |
|---|---|---|---|
| state_name | string | The state name. | |
| status | asset_preparation.v3.common.Status | The feedback status of the update operation. |
Vector3
Vector in a 3D referential.
Note: The default value is 0.
| Field | Type | Label | Description |
|---|---|---|---|
| x | google.protobuf.DoubleValue | Value along the X axis. | |
| y | google.protobuf.DoubleValue | Value along the Y axis. | |
| z | google.protobuf.DoubleValue | Value along the Z axis. |
DisjointFluxDistributionType
The type of disjoint flux distribution.
| Name | Number | Description |
|---|---|---|
| DISTRIBUTION_TYPE_UNSPECIFIED | 0 | Unspecified disjoint flux distribution type. |
| DISTRIBUTION_TYPE_PROPORTIONAL | 1 | Flux distributed proportionally to the area of each disjoint surface. Note: With this distribution type, the power emitted by one disjoint surface is equal to the power defined in the surface source properties multiplied by the ratio of area of the disjoint surface to the total area. |
| DISTRIBUTION_TYPE_EVEN | 2 | Flux distributed evenly among the disjoint surfaces. Note: With this distribution type, each disjoint surface emits the same power. The power of each disjoint surface is equal to the power defined in the surface source properties divided by the number of surfaces. |