Coordinate system of remotely rendered model

RammmN 40 Reputation points
2023-10-04T13:34:10.45+00:00

Hi , I'm trying to load a gltf model using ARR in unity.

The model is properly rendered infront of me. But gltf uses Right handed coordinate system , whereas Unity has Left haned coordinate system , Is the conversion of the coordinate system handled by ARR? If yes , may I know how?

Thanks.

Azure Remote Rendering
Azure Remote Rendering
An Azure service that renders high-quality, interactive three-dimensional content and streams it to edge devices in real time.
33 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Christopher Manthei 251 Reputation points Microsoft Employee
    2023-10-04T16:07:42.2+00:00

    Hi @RammmN ,

    There are two stages of coordinate system conversions in ARR:

    1. During conversion, we take the coordinate information of the source asset and convert it into our own representation. For models that don't have correct coordinate spaces set in the model, you can override the axis during conversion: Coordinate system override.
    2. During runtime, the API allows you to define the coordinate system of your application inside the struct RemoteRenderingInitialization. We then convert between your user application's coordinate space and the internal ARR representation on all API calls. For Unity applications, this is done automatically in our binding code so you don't need to worry about that.

    I hope that answers your question.

    Cheers,
    Christopher

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.