\r\n\u003C/template>\r\n\r\n//both logs from cientos\r\ntransformData: {\r\n inheritType: 1, \r\n eulerOrder: 'ZYX', \r\n rotation: Array(3), \r\n parentMatrix: _Matrix4, \r\n parentMatrixWorld: _Matrix4\r\n}\r\ntres__name: \"Group\"\r\n```\r\n\n\n### System Info\n\n```shell\nSystem:\r\n OS: macOS 14.3.1\r\n CPU: (10) arm64 Apple M1 Pro\r\n Memory: 90.00 MB / 16.00 GB\r\n Shell: 5.9 - /bin/zsh\r\n Binaries:\r\n Node: 18.18.0 - ~/.nvm/versions/node/v18.18.0/bin/node\r\n Yarn: 1.22.21 - ~/.nvm/versions/node/v18.18.0/bin/yarn\r\n npm: 9.8.1 - ~/.nvm/versions/node/v18.18.0/bin/npm\r\n Browsers:\r\n Chrome: 125.0.6422.112\n```\n\n\n### Used Package Manager\n\nnpm\n\n### Code of Conduct\n\n- [X] I agree to follow this project's [Code of Conduct](https://github.com/Tresjs/cientos/blob/main/CODE_OF_CONDUCT.md)\n- [X] Read the [Contributing Guidelines](https://github.com/Tresjs/cientos/blob/main/CONTRIBUTING.md).\n- [X] Read the [docs](https://cientos.tresjs.org/guide).\n- [X] Check that there isn't [already an issue](https://github.com/Tresjs/cientos/issues) that reports the same bug to avoid creating a duplicate.\n- [X] The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.",[3018,3021],{"name":3019,"color":3020},"needs reproduction","16309A",{"name":3022,"color":3023},"waiting for author","DEEAB8",429,"Tresjs","cientos","open","FBXLoader: Missing data from userData field ","2024-09-12T20:08:31Z","https://github.com/Tresjs/cientos/issues/429",0.6865938,{"description":3033,"labels":3034,"number":3037,"owner":3025,"repository":3026,"state":3027,"title":3038,"updated_at":3039,"url":3040,"score":3041},"### Describe the bug\n\nCan someone explain to me how to make the environment work with a file? With the preset it works well. using useEnvironment doesn't work either.\r\n\r\nI tried with a file in the public folder \r\n\r\n```javascript\r\n\u003CEnvironment\r\n path=\"/milkyway-4k.jpg\"\r\n :background=\"true\"\r\n/>\r\n```\r\nbut also by importing it from the assets folder.\r\n\r\n```javascript\r\nimport MilkyWayEnvironment from '@assets/environments/milkyway-4k.jpg'\r\n\r\n\u003CEnvironment\r\n :path=\"MilkyWayEnvironment\"\r\n :background=\"true\"\r\n/>\r\n```\r\n\r\nWhen using the component I get only a warning :\r\n```\r\n[Vue warn]: expose() should be passed a plain object, received ref. \r\n at \u003CComponent path=\"/milkyway-4k.jpg\" background=true > \r\n at \u003CApp>\r\n```\r\n\r\nWhen I use useEnvironments I get 2 warnings and 1 error : \r\n```\r\n[Vue warn]: injection \"useTres\" not found. \r\nUnhandled error during execution of setup function \r\ntres.js:431 Uncaught (in promise) Error: useTresContext must be used together with useTresContextProvider\r\n```\r\n\r\nI tried to import the environment image into Stackblitz but it doesn't work. \n\n### Reproduction\n\nhttps://stackblitz.com/edit/tresjs-basic-8r1lk7\n\n### Steps to reproduce\n\n_No response_\n\n### System Info\n\n_No response_\n\n### Used Package Manager\n\nyarn\n\n### Code of Conduct\n\n- [X] I agree to follow this project's [Code of Conduct](https://github.com/Tresjs/cientos/blob/main/CODE_OF_CONDUCT.md)\n- [X] Read the [Contributing Guidelines](https://github.com/Tresjs/cientos/blob/main/CONTRIBUTING.md).\n- [X] Read the [docs](https://cientos.tresjs.org/guide).\n- [X] Check that there isn't [already an issue](https://github.com/Tresjs/cientos/issues) that reports the same bug to avoid creating a duplicate.\n- [X] The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.",[3035,3036],{"name":3019,"color":3020},{"name":3022,"color":3023},305,"Environment not working","2023-12-22T00:49:40Z","https://github.com/Tresjs/cientos/issues/305",0.7081652,{"description":3043,"labels":3044,"number":3052,"owner":3025,"repository":3026,"state":3027,"title":3053,"updated_at":3054,"url":3055,"score":3056},"### Describe the bug\r\n\r\n`useAnimations` is not working when the project dependencies are installed using `npm` \r\n\r\n### Reproduction\r\n\r\nhttps://stackblitz.com/edit/stackblitz-starters-mrz7qx?file=src%2Fcomponents%2FTheExperience.vue\r\n\r\n### Steps to reproduce\r\n\r\n_No response_\r\n\r\n### System Info\r\n\r\n```shell\r\nystem:\r\n OS: Linux 5.0 undefined\r\n CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz\r\n Memory: 0 Bytes / 0 Bytes\r\n Shell: 1.0 - /bin/jsh\r\n Binaries:\r\n Node: 18.18.0 - /usr/local/bin/node\r\n Yarn: 1.22.19 - /usr/local/bin/yarn\r\n npm: 9.4.2 - /usr/local/bin/npm\r\n pnpm: 8.14.0 - /usr/local/bin/pnpm\r\n npmPackages:\r\n @tresjs/cientos: 3.7.0 => 3.7.0 \r\n @tresjs/core: 3.6.0 => 3.6.0 \r\n vite: ^5.0.11 => 5.0.11 \r\n\r\n```\r\n\r\n\r\n\r\n### Used Package Manager\r\n\r\nnpm\r\n\r\n### Code of Conduct\r\n\r\n- [X] I agree to follow this project's [Code of Conduct](https://github.com/Tresjs/cientos/blob/main/CODE_OF_CONDUCT.md)\r\n- [X] Read the [Contributing Guidelines](https://github.com/Tresjs/cientos/blob/main/CONTRIBUTING.md).\r\n- [X] Read the [docs](https://cientos.tresjs.org/guide).\r\n- [X] Check that there isn't [already an issue](https://github.com/Tresjs/cientos/issues) that reports the same bug to avoid creating a duplicate.\r\n- [X] The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.",[3045,3048,3051],{"name":3046,"color":3047},"bug","d73a4a",{"name":3049,"color":3050},"investigation","D0359D",{"name":3022,"color":3023},326,"useAnimations does not work if project uses npm as package manager","2024-04-05T14:57:17Z","https://github.com/Tresjs/cientos/issues/326",0.71540713,{"description":3058,"labels":3059,"number":3066,"owner":3025,"repository":3026,"state":3027,"title":3067,"updated_at":3068,"url":3069,"score":3070},"\r\n\r\n\r\n\r\n### Description\r\n\r\nImplement a MeshRefractionMaterial \r\n\r\n\r\n### Suggested solution\r\n\r\nSome links for context:\r\nhttps://medium.com/geekculture/simulating-refraction-in-three-js-9e367753bf6d\r\nhttps://github.com/pmndrs/drei/blob/master/src/core/MeshRefractionMaterial.tsx\r\nhttps://github.com/pmndrs/drei/blob/master/src/materials/MeshRefractionMaterial.tsx\r\n\r\n### Alternative\r\n\r\n_No response_\r\n\r\n### Additional context\r\n\r\n_No response_\r\n\r\n### Validations\r\n\r\n- [X] I agree to follow this project's [Code of Conduct](https://github.com/Tresjs/cientos/blob/main/CODE_OF_CONDUCT.md)\r\n- [X] Read the [Contributing Guidelines](https://github.com/Tresjs/cientos/blob/main/CONTRIBUTING.md).\r\n- [X] Read the [docs](https://cientos.tresjs.org/guide).\r\n- [X] Check that there isn't [already an issue](https://github.com/tresjs/cientos/issues) that reports the same bug to avoid creating a duplicate.",[3060,3063],{"name":3061,"color":3062},"feature","c2e0c6",{"name":3064,"color":3065},"p3-significant","2C78E3",454,"MeshRefractionMaterial","2024-07-23T11:40:40Z","https://github.com/Tresjs/cientos/issues/454",0.7515823,{"description":3072,"labels":3073,"number":3077,"owner":3025,"repository":3078,"state":3027,"title":3079,"updated_at":3080,"url":3081,"score":3082},"https://discord.gg/UCr96AQmWn --> chat.tresjs.org",[3074],{"name":3075,"color":3076},"docs","0075ca",242,"tres","Create redirect chat.tresjs.org to discord","2024-03-28T11:19:25Z","https://github.com/Tresjs/tres/issues/242",0.7690008,{"description":3084,"labels":3085,"number":3090,"owner":3025,"repository":3026,"state":3027,"title":3091,"updated_at":3092,"url":3093,"score":3094},"### Describe the bug\n\n`useProgress` uses threejs `DefaultLoadingManager` under the hood. Progress restarts with concurrent resources\n\n### Reproduction\n\nhttps://lab.tresjs.org/experiments/potions-classroom\n\n### Steps to reproduce\n\n_No response_\n\n### System Info\n\n_No response_\n\n### Used Package Manager\n\npnpm\n\n### Code of Conduct\n\n- [X] I agree to follow this project's [Code of Conduct](https://github.com/Tresjs/cientos/blob/main/CODE_OF_CONDUCT.md)\n- [X] Read the [Contributing Guidelines](https://github.com/Tresjs/cientos/blob/main/CONTRIBUTING.md).\n- [X] Read the [docs](https://cientos.tresjs.org/guide).\n- [X] Check that there isn't [already an issue](https://github.com/Tresjs/cientos/issues) that reports the same bug to avoid creating a duplicate.\n- [X] The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.",[3086,3087],{"name":3046,"color":3047},{"name":3088,"color":3089},"p3-minor-bug","F28C37",575,"useProgress re-starts when other resources start loading","2025-01-02T14:42:43Z","https://github.com/Tresjs/cientos/issues/575",0.7708586,{"description":3096,"labels":3097,"number":3098,"owner":3025,"repository":3078,"state":3099,"title":3100,"updated_at":3101,"url":3102,"score":3103},"### Describe the bug\n\nIn our project we render many sphere meshes and clicking on them will change the color. They are rendered using v-for. Clicking to change the color works for the first 47 spheres but any more added above that do not work.\n\n### Reproduction\n\nhttps://stackblitz.com/edit/vitejs-vite-gstaas?file=src%2FApp.vue\n\n### Steps to reproduce\n\nTo reproduce, open the reproduction link in a Chromium browser.\r\nI have colored the first 47 spheres yellow. You can click these to change the color.\r\nI have colored an additional 3 spheres purple. Clicking these won't change the color.\n\n### System Info\n\n_No response_\n\n### Used Package Manager\n\nnpm\n\n### Code of Conduct\n\n- [X] I agree to follow this project's [Code of Conduct](https://github.com/Tresjs/tres/blob/main/CODE_OF_CONDUCT.md)\n- [X] Read the [Contributing Guidelines](https://github.com/Tresjs/tres/blob/main/CONTRIBUTING.md).\n- [X] Read the [docs](https://tresjs.org/guide).\n- [X] Check that there isn't [already an issue](https://github.com/tresjs/tres/issues) that reports the same bug to avoid creating a duplicate.\n- [X] The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.",[],556,"closed","v-for doesn't rerender color after 47 elements","2024-02-18T00:39:12Z","https://github.com/Tresjs/tres/issues/556",0.7410404,{"description":3105,"labels":3106,"number":3112,"owner":3025,"repository":3078,"state":3099,"title":3113,"updated_at":3114,"url":3115,"score":3116},"### Describe the bug\r\n\r\nDoing:\r\n- v-for rendering 3 boxes\r\n- click event handler to set currentItem ref for each box\r\n- using the currentItem ref elsewhere in the canvas\r\n\r\nExpecting:\r\nNo recursive error\r\n\r\nHappening:\r\nrecursive error because click handler is called again when ref is being used elsewhere in the canvas\r\n\r\n### Reproduction\r\n\r\nhttps://stackblitz.com/edit/tresjs-basic-bskmaj?file=src%2Fcomponents%2FBox.vue\r\n\r\n### Steps to reproduce\r\n\r\nClick on each of the boxes and check console\r\n\r\n### System Info\r\n\r\n_No response_\r\n\r\n### Used Package Manager\r\n\r\nnpm\r\n\r\n### Code of Conduct\r\n\r\n- [X] I agree to follow this project's [Code of Conduct](https://github.com/Tresjs/tres/blob/main/CODE_OF_CONDUCT.md)\r\n- [X] Read the [Contributing Guidelines](https://github.com/Tresjs/tres/blob/main/CONTRIBUTING.md).\r\n- [X] Read the [docs](https://tresjs.org/guide).\r\n- [X] Check that there isn't [already an issue](https://github.com/tresjs/tres/issues) that reports the same bug to avoid creating a duplicate.\r\n- [X] The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.",[3107,3109],{"name":3022,"color":3108},"B145BC",{"name":3110,"color":3111},"v4","7980EA",649,"Recursive error when using a ref anywhere in the canvas when it changes on a click event handler inside a v-for","2024-05-30T21:32:28Z","https://github.com/Tresjs/tres/issues/649",0.7622278,{"description":3118,"labels":3119,"number":3124,"owner":3025,"repository":3026,"state":3099,"title":3125,"updated_at":3126,"url":3127,"score":3128},"### Description\n\nAs a developer using `@tresjs/cientos` I want to be able to benefit from on-demand and conditional renderinghttps://github.com/Tresjs/tres/pull/497 while using the abstractions provided by this package\n\n### Suggested solution\n\nUse `invalidate` and `advance` on the abstractions that require it:\r\n\r\nEx: OrbitControls\n\n### Alternative\n\n_No response_\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] I agree to follow this project's [Code of Conduct](https://github.com/Tresjs/cientos/blob/main/CODE_OF_CONDUCT.md)\n- [X] Read the [Contributing Guidelines](https://github.com/Tresjs/cientos/blob/main/CONTRIBUTING.md).\n- [X] Read the [docs](https://cientos.tresjs.org/guide).\n- [X] Check that there isn't [already an issue](https://github.com/tresjs/cientos/issues) that reports the same bug to avoid creating a duplicate.",[3120,3121,3123],{"name":3061,"color":3062},{"name":3110,"color":3122},"EEF2B0",{"name":3064,"color":3065},423,"Enable render modes usage on abstractions","2024-08-28T19:22:46Z","https://github.com/Tresjs/cientos/issues/423",0.76728946,{"description":3130,"labels":3131,"number":3077,"owner":3025,"repository":3026,"state":3099,"title":3132,"updated_at":3133,"url":3134,"score":3082},"### Description\n\nCode snippets in docs sometimes [contain typos](https://github.com/Tresjs/tres/pull/411) or other errors.\r\n\r\n\n\n### Suggested solution\n\nWhere possible, use [Vitepress' markdown plugin](https://vitepress.dev/guide/markdown#import-code-snippets) to import demo code snippets directly, rather than copy/pasting them:\r\n\r\n```\r\n\u003C\u003C\u003C @/filepath{highlightLines}\r\n```\r\n\r\n\r\n\n\n### Alternative\n\n_No response_\n\n### Additional context\n\n@JaimeTorrealba suggested standardizing this approach after I [submitted this PR](https://github.com/Tresjs/cientos/pull/240) using the plugin as outlined.\n\n### Validations\n\n- [X] I agree to follow this project's [Code of Conduct](https://github.com/Tresjs/cientos/blob/main/CODE_OF_CONDUCT.md)\n- [X] Read the [Contributing Guidelines](https://github.com/Tresjs/cientos/blob/main/CONTRIBUTING.md).\n- [X] Read the [docs](https://cientos.tresjs.org/guide).\n- [X] Check that there isn't [already an issue](https://github.com/tresjs/cientos/issues) that reports the same bug to avoid creating a duplicate.",[],"Docs: use imported code snippets where possible","2023-10-05T21:12:58Z","https://github.com/Tresjs/cientos/issues/242",["Reactive",3136],{},["Set"],["ShallowReactive",3139],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$ftLpQYvw4EA-fimwTB0OlA-nwpdfVH1BefP1vZDigVEw":-1},"/Tresjs/tres/736"]