Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tydra] [RenderScene] Support some AR specific Mesh/Material(Collider Mesh, Physics Material, ...) #163

Open
syoyo opened this issue May 8, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@syoyo
Copy link
Collaborator

syoyo commented May 8, 2024

Tydra RenderScene converter currently cannot handle Collider mesh(no points attribute) and physics Material(No actual shader assigned).

Example

            def Mesh "sceneGroundPlane" (
                apiSchemas = ["Preliminary_PhysicsColliderAPI"]
                customData = {
                    bool preliminary_isSceneGroundPlane = 1
                }
            )
            {
                rel material:binding = </Root/Scenes/Scene/sceneGroundPlane/physicsMaterial>
                float3 normal = (0, 1, 0)
                float3 position = (0, 0, 0)
                rel preliminary:physics:collider:convexShape = </Root/Scenes/Scene/sceneGroundPlane>

                def Material "physicsMaterial" (
                    apiSchemas = ["Preliminary_PhysicsMaterialAPI"]
                )
                {
                    uniform double preliminary:physics:material:friction:dynamic = 0.58
                    uniform double preliminary:physics:material:friction:static = 0.58
                    uniform double preliminary:physics:material:restitution = 0.48
                }
            }

We need to convert it to AR specific object(Collider object, Physics settings)

@syoyo syoyo added the enhancement New feature or request label May 8, 2024
@syoyo syoyo mentioned this issue May 8, 2024
40 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant