\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.",[2856,2859],{"name":2857,"color":2858},"needs reproduction","16309A",{"name":2860,"color":2861},"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.68659383,{"description":2871,"labels":2872,"number":2875,"owner":2863,"repository":2864,"state":2865,"title":2876,"updated_at":2877,"url":2878,"score":2879},"### 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.",[2873,2874],{"name":2857,"color":2858},{"name":2860,"color":2861},305,"Environment not working","2023-12-22T00:49:40Z","https://github.com/Tresjs/cientos/issues/305",0.7081653,{"description":2881,"labels":2882,"number":2890,"owner":2863,"repository":2864,"state":2865,"title":2891,"updated_at":2892,"url":2893,"score":2894},"### 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.",[2883,2886,2889],{"name":2884,"color":2885},"bug","d73a4a",{"name":2887,"color":2888},"investigation","D0359D",{"name":2860,"color":2861},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":2896,"labels":2897,"number":2904,"owner":2863,"repository":2864,"state":2865,"title":2905,"updated_at":2906,"url":2907,"score":2908},"\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.",[2898,2901],{"name":2899,"color":2900},"feature","c2e0c6",{"name":2902,"color":2903},"p3-significant","2C78E3",454,"MeshRefractionMaterial","2024-07-23T11:40:40Z","https://github.com/Tresjs/cientos/issues/454",0.7515823,{"description":2910,"labels":2911,"number":2915,"owner":2863,"repository":2916,"state":2865,"title":2917,"updated_at":2918,"url":2919,"score":2920},"https://discord.gg/UCr96AQmWn --> chat.tresjs.org",[2912],{"name":2913,"color":2914},"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":2922,"labels":2923,"number":2928,"owner":2863,"repository":2864,"state":2865,"title":2929,"updated_at":2930,"url":2931,"score":2932},"### 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.",[2924,2925],{"name":2884,"color":2885},{"name":2926,"color":2927},"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":2934,"labels":2935,"number":2936,"owner":2863,"repository":2916,"state":2937,"title":2938,"updated_at":2939,"url":2940,"score":2941},"### 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":2943,"labels":2944,"number":2950,"owner":2863,"repository":2916,"state":2937,"title":2951,"updated_at":2952,"url":2953,"score":2954},"### 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.",[2945,2947],{"name":2860,"color":2946},"B145BC",{"name":2948,"color":2949},"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":2956,"labels":2957,"number":2962,"owner":2863,"repository":2864,"state":2937,"title":2963,"updated_at":2964,"url":2965,"score":2966},"### 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.",[2958,2959,2961],{"name":2899,"color":2900},{"name":2948,"color":2960},"EEF2B0",{"name":2902,"color":2903},423,"Enable render modes usage on abstractions","2024-08-28T19:22:46Z","https://github.com/Tresjs/cientos/issues/423",0.76728946,{"description":2968,"labels":2969,"number":2915,"owner":2863,"repository":2864,"state":2937,"title":2970,"updated_at":2971,"url":2972,"score":2920},"### 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",2974],{},["Set"],["ShallowReactive",2977],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$ftLpQYvw4EA-fimwTB0OlA-nwpdfVH1BefP1vZDigVEw":-1},"/Tresjs/tres/736"]