Commit Graph

6 Commits

Author SHA1 Message Date
Balint-H e9a2f055f0 Copybara import of the project:
--
9d63ebca419496e36f94fbfec6f97f0227846cf5 by Balint-H <bkh16@ic.ac.uk>:

Throw exception if OBJ file is referenced in MJCF when loading in Unity

--
a50486c19a3483cd914e7957d7d4a5efaab9d977 by Balint-H <bkh16@ic.ac.uk>:

Adjust line length

COPYBARA_INTEGRATE_REVIEW=https://github.com/google-deepmind/mujoco/pull/2248 from Balint-H:fix/unity-obj-warning a50486c19a3483cd914e7957d7d4a5efaab9d977
PiperOrigin-RevId: 699962619
Change-Id: I2edff691fd5cedf79e2564f2ac5f2115393a4bf6
2024-11-25 06:39:15 -08:00
Bálint Hodossy c65410a92d Preliminary support for plugins. Load all plugins in plugin folder. 2024-02-18 14:45:54 +00:00
Bálint Hodossy 64b042369b Readd axis swizzling to the mesh writer 2024-01-24 18:32:55 +00:00
Bálint Hodossy 042e3c9c4c Reuse indices in mesh parsing, remove trailing nulls in mesh writing 2024-01-20 19:06:15 +00:00
Google DeepMind 455a081ee7 Cache triangles, vertices and normals from the mesh outside of the triangle loop so we don't have to request them inside the loop.
This is because each time we call mesh.triangles or similar, the data gets copied from the native memory to a c# structure.

PiperOrigin-RevId: 551851115
Change-Id: Ie7820f61639f0d727ecf9716044ce18b3277913b
2023-07-28 07:50:54 -07:00
Tom Erez 6de9eafa13 Initial release of the Unity plugin.
PiperOrigin-RevId: 425947505
2022-02-02 20:44:39 +00:00