\n\n### Suggested solution\n\nSimilar to: [catmullromline](https://github.com/pmndrs/drei#catmullromline)\n\n### Alternative\n\nAny other alternative is considered\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.",[],222,"catmullromline ","2023-10-05T22:50:41Z","https://github.com/Tresjs/cientos/issues/222",0.7246469,{"description":2918,"labels":2919,"number":2920,"owner":2860,"repository":2861,"state":2895,"title":2921,"updated_at":2922,"url":2923,"score":2924},"### Describe the bug\r\n\r\nSeems like making `nodeOps` a function #579 broke primitive `obj` reactivity since we need to create a new element for `primitive` \r\n\r\n### Reproduction\r\n\r\nlocal\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\nSystem:\r\n OS: macOS 14.3.1\r\n CPU: (8) arm64 Apple M1 Pro\r\n Memory: 68.70 MB / 16.00 GB\r\n Shell: 5.9 - /bin/zsh\r\n Binaries:\r\n Node: 18.14.1 - ~/.nvm/versions/node/v18.14.1/bin/node\r\n Yarn: 1.22.19 - /usr/local/bin/yarn\r\n npm: 9.3.1 - ~/.nvm/versions/node/v18.14.1/bin/npm\r\n Browsers:\r\n Brave Browser: 120.1.61.116\r\n Chrome: 123.0.6312.58\r\n Firefox: 121.0.1\r\n Safari: 17.3.1\r\n npmPackages:\r\n @tresjs/cientos: 3.6.0 => 3.6.0 \r\n @tresjs/core: workspace:^ => 4.0.0-next.1 \r\n @tresjs/leches: 0.15.0-next.3 => 0.15.0-next.3 \r\n```\r\n\r\n\r\n### Used Package Manager\r\n\r\npnpm\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.",[],600,"primitive `obj` reactivity broken after nodeOps being a function","2024-03-27T12:35:54Z","https://github.com/Tresjs/tres/issues/600",0.72935367,{"description":2926,"labels":2927,"number":2928,"owner":2860,"repository":2861,"state":2895,"title":2929,"updated_at":2930,"url":2931,"score":2932},"### Describe the bug\r\n\r\nHi, I'm using TresJs v2(@tres/core) in Nuxt3.\r\nThrough your docs and kind explanations, I succeeded in configuring the environment and displaying 3d objects in Nuxt3.\r\n\r\nHowever, if a vue component (I made) containing the TresCanvas tag is unmounted according to the page route movement or certain conditions, and then re-enters the page and is newly mounted, it seems that the object is not rendered on the canvas tag.\r\n\r\nCan you check this?\r\nYou can see an example in the reproduction link below. You can check it when you toggle v-if with the toggle button.\r\nThank you.\r\n\r\n### Reproduction\r\n\r\nhttps://stackblitz.com/edit/nuxt-starter-36xfsn?file=nuxt.config.ts,app.vue (in Nuxt3)\r\nhttps://stackblitz.com/edit/tresjs-basic-i4h4kk?file=src%2FApp.vue (same in Vue3)\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\nnpm packages version\r\n- nuxt: 3.5.3\r\n- three: 0.153.0\r\n- @tresjs/core: 2.1.3\r\n```\r\n\r\n\r\n### Used Package Manager\r\n\r\nyarn\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.",[],302,"Nuxt3 + Tresjs rendering issue(when remounting, not displaying)","2023-06-19T15:26:29Z","https://github.com/Tresjs/tres/issues/302",0.73103607,{"description":2934,"labels":2935,"number":2939,"owner":2860,"repository":2904,"state":2895,"title":2940,"updated_at":2941,"url":2942,"score":2943},"### Describe the bug\n\n\r\n\n\n### Reproduction\n\nplayground\n\n### Steps to reproduce\n\nRun `npm install` and then `npm run dev` or `npm run build & npm run preview`\n\n### System Info\n\n```shell\nSystem:\r\n OS: macOS 13.5.1\r\n CPU: (8) arm64 Apple M1 Pro\r\n Memory: 97.73 MB / 16.00 GB\r\n Shell: 5.9 - /bin/zsh\r\n Binaries:\r\n Node: 18.14.1 - ~/.nvm/versions/node/v18.14.1/bin/node\r\n Yarn: 1.22.19 - /usr/local/bin/yarn\r\n npm: 9.3.1 - ~/.nvm/versions/node/v18.14.1/bin/npm\r\n Browsers:\r\n Brave Browser: 117.1.58.135\r\n Chrome: 117.0.5938.149\r\n Firefox: 118.0.1\r\n Safari: 16.6\r\n```\n```\n\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/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.",[2936],{"name":2937,"color":2938},"bug","d73a4a",46,"Multiple Instances of ThreeJS - Orbitcontrols broken","2023-10-06T03:55:26Z","https://github.com/Tresjs/nuxt/issues/46",0.7313439,{"description":2945,"labels":2946,"number":2960,"owner":2860,"repository":2861,"state":2895,"title":2961,"updated_at":2962,"url":2963,"score":2964},"### Describe the bug\n\nI am using tresjs and would like to reference my newly loaded .glb and a directional light.\r\nI should say, the page actually functions as expected, however the red squiggly line appears in my local VSCode with an error, and so would like to nail it down if possible.\r\n\r\n\r\nFinal note: this typescript compiler error only occurs on my local VSCode system, as can be seen from the StackBlitz link below, it doesn't occur there.\r\nSo I'm not sure if this is even a bug, but I'd like to ask for help to remove the red squiggly line from my local system, thanks if possible.\n\n### Reproduction\n\nhttps://stackblitz.com/edit/vitejs-vite-qn7w4v\n\n### Steps to reproduce\n\nI've tried changing the type of ref to a few things, eg: \u003CTHREE.DirectionalLight>, however nothing seems to remove this error:\r\n\r\n(property) ref?: ((Ref\u003CTHREE.DirectionalLight> | Readonly\u003CRef\u003CTHREE.DirectionalLight>>) & VNodeRef) | undefined\r\n\n\n### System Info\n\n```shell\nHere is my package.json for that project:\r\n\r\n{\r\n \"name\": \"tresjs_1\",\r\n \"private\": true,\r\n \"version\": \"0.0.0\",\r\n \"type\": \"module\",\r\n \"scripts\": {\r\n \"dev\": \"vite\",\r\n \"build\": \"vue-tsc && vite build\",\r\n \"preview\": \"vite preview\"\r\n },\r\n \"dependencies\": {\r\n \"@tresjs/cientos\": \"^2.1.3\",\r\n \"@tresjs/core\": \"^2.1.2\",\r\n \r\n \"three\": \"^0.153.0\",\r\n \"three-stdlib\": \"^2.23.9\",\r\n \"vue\": \"^3.2.47\"\r\n },\r\n \"devDependencies\": {\r\n \r\n \"@types/three\": \"^0.152.1\",\r\n \"@vitejs/plugin-vue\": \"^4.1.0\",\r\n \"typescript\": \"^5.0.2\",\r\n \"vite\": \"^4.3.9\",\r\n \"vue-tsc\": \"^1.4.2\"\r\n }\r\n}\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/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.",[2947,2948,2951,2954,2957],{"name":2937,"color":2938},{"name":2949,"color":2950},"good first issue","7057ff",{"name":2952,"color":2953},"help wanted","008672",{"name":2955,"color":2956},"dx","1576AD",{"name":2958,"color":2959},"types","5C076E",301,"Typescript compiler error for refs with tresjs","2023-07-11T11:38:59Z","https://github.com/Tresjs/tres/issues/301",0.7417316,["Reactive",2966],{},["Set"],["ShallowReactive",2969],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fCjrTJ9-_YH_Feh8GRDJ1wFEaL7FroE0t2znqbiMuVHk":-1},"/Tresjs/tres/120"]