\r\n \u003C/Suspense>\r\n```\r\nBut get `Failed to resolve component: primitive`",[],53,"Tresjs","lab","open","How to load and render STL models?","2024-07-17T17:42:39Z","https://github.com/Tresjs/lab/issues/53",0.74848354,{"description":3148,"labels":3149,"number":3150,"owner":3140,"repository":3151,"state":3142,"title":3152,"updated_at":3153,"url":3154,"score":3155},"### Describe the bug\n\nWhen TresCanvas is unmounted, an error occurs equal to the number of Html components.\r\nhook.js:608 THREE.Material: parameter 'vertexShader' has value of undefined.\r\n\r\n```\r\n\u003Ctemplate>\r\n \u003Cdiv class=\"about\">\r\n \u003Ch1>This is an about page\u003C/h1>\r\n \u003Cdiv class=\"canvas\">\r\n \u003CTresCanvas v-bind=\"gl\">\r\n \u003COrbitControls />\r\n \u003CTresPerspectiveCamera :position=\"[5, 5, 5]\" />\r\n \u003C!-- Your scene here -->\r\n \u003CTresMesh cast-shadow :position=\"[0, 0, 0]\">\r\n \u003CTresBoxGeometry :args=\"[1, 1, 2]\" />\r\n \u003CTresMeshToonMaterial color=\"blue\" />\r\n \u003CHtml center transform sprite>\r\n \u003Cdiv class=\"text\">TEXT\u003C/div>\r\n \u003C/Html>\r\n \u003C/TresMesh>\r\n \u003C/TresCanvas>\r\n \u003C/div>\r\n \u003C/div>\r\n\u003C/template>\r\n\u003Cscript setup lang=\"ts\">\r\nimport { TresCanvas } from '@tresjs/core'\r\nimport { BasicShadowMap, SRGBColorSpace, NoToneMapping } from 'three'\r\nimport { Html, OrbitControls } from '@tresjs/cientos'\r\nconst gl = {\r\n clearColor: '#87CEEB',\r\n shadows: true,\r\n alpha: true,\r\n shadowMapType: BasicShadowMap,\r\n outputColorSpace: SRGBColorSpace,\r\n toneMapping: NoToneMapping,\r\n}\r\n\u003C/script>\r\n\u003Cstyle>\r\n.canvas {\r\n width: 500px;\r\n height: 500px;\r\n position: relative;\r\n}\r\n.text {\r\n color: white;\r\n font-weight: bold;\r\n font-size: 30px;\r\n}\r\n\u003C/style>\r\n\r\n\r\n```\r\nhook.js:608 THREE.Material: parameter 'vertexShader' has value of undefined.\r\n\r\nnow about page\r\n\r\n\r\nif I go home?\r\n\r\nIf I add Html components, the error increases by the corresponding number.\n\n### Reproduction\n\nhttps://stackblitz.com/edit/tresjs-basic-4pso7hpr?file=src%2Fcomponents%2FTheExperience.vue\n\n### Steps to reproduce\n\n_No response_\n\n### System Info\n\n```shell\nnpx envinfo --system --npmPackages '{vite,@tresjs/*, three, vue}' --binaries --browsers\r\nNeed to install the following packages:\r\nenvinfo@7.14.0\r\nOk to proceed? (y) y\r\n\r\n\r\n System:\r\n OS: Linux 5.15 Ubuntu 22.04.4 LTS 22.04.4 LTS (Jammy Jellyfish)\r\n CPU: (8) x64 13th Gen Intel(R) Core(TM) i7-1355U\r\n Memory: 1.70 GB / 7.76 GB\r\n Container: Yes\r\n Shell: 5.1.16 - /bin/bash\r\n Binaries:\r\n Node: 20.18.0 - ~/.nvm/versions/node/v20.18.0/bin/node\r\n npm: 11.0.0 - ~/.nvm/versions/node/v20.18.0/bin/npm\r\n npmPackages:\r\n @tresjs/cientos: ^4.0.3 => 4.0.3 \r\n @tresjs/core: ^4.3.2 => 4.3.2 \r\n vite: ~6.0.6 => 6.0.6\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.",[],587,"cientos","When TresCanvas is unmounted, an error occurs equal to the number of Html components.","2025-01-14T07:22:09Z","https://github.com/Tresjs/cientos/issues/587",0.755211,{"description":3157,"labels":3158,"number":3168,"owner":3140,"repository":3169,"state":3142,"title":3170,"updated_at":3171,"url":3172,"score":3173},"### Description\n\nHello there! \r\n\r\nFirst of all, thanks a bunch for creating this awesome repository! Even though I'm not really familiar with Three.js, I've been playing around with graphical stuff using the canvas.\r\n\r\nWhile creating a simple scene on my web page, I suddenly became concerned about accessibility.\r\n\r\nYou know, the canvas element itself isn't accessible, but it seems the HTML spec allows for adding \"fallback content\" to the canvas element.\r\n\r\nhttps://html.spec.whatwg.org/multipage/dom.html#fallback-content\r\n\r\nI'd love it if you could add an interface to TresCanvas where we could provide text or something using a fallback slot or props.\r\n\r\nThank you!\n\n### Suggested solution\n\nI would be happy to have the following interface\r\n\r\n```html\r\n\u003CTresCanvas window-size>\r\n \u003C!-- any scenes -->\r\n\r\n \u003Ctemplate #fallback>\r\n A cat lifting a UFO is slowly rotating.\r\n \u003C/template>\r\n\u003C/TresCanvas>\r\n\r\n\u003C!-- render to -->\r\n\u003Ccanvas>A cat lifting a UFO is slowly rotating.\u003C/canvas>\r\n```\r\n\r\nI have confirmed that the text in the canvas element is read out loud as \"image: alt text\" in VoiceOver on a Mac.\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/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.",[3159,3162,3165],{"name":3160,"color":3161},"feature","c2e0c6",{"name":3163,"color":3164},"PR welcome","2D76B0",{"name":3166,"color":3167},"p2-nice-to-have","D4C5F9",352,"tres","Provide a slot or props that can be used for fallback of canvas elements","2024-03-31T11:10:46Z","https://github.com/Tresjs/tres/issues/352",0.7649557,{"description":3175,"labels":3176,"number":3181,"owner":3140,"repository":3182,"state":3142,"title":3183,"updated_at":3184,"url":3185,"score":3186},"### Description\n\nCurrently the only one who emit the collision event is the rigidBody.\r\nI think it should be nice to add the emision to the custom colliders\n\n### Suggested solution\n\nFollow the same emit names but with custom colliders\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/rapier/blob/main/CODE_OF_CONDUCT.md)\n- [X] Read the [Contributing Guidelines](https://github.com/Tresjs/rapier/blob/main/CONTRIBUTING.md).\n- [X] Read the [docs](https://rapier.tresjs.org/guide).\n- [X] Check that there isn't [already an issue](https://github.com/tresjs/rapier/issues) that reports the same bug to avoid creating a duplicate.",[3177,3180],{"name":3178,"color":3179},"enhancement","a2eeef",{"name":3166,"color":3167},148,"rapier","Custom Colliders should emit the collisions events too","2025-02-09T06:59:15Z","https://github.com/Tresjs/rapier/issues/148",0.7655253,{"description":3188,"labels":3189,"number":3193,"owner":3140,"repository":3169,"state":3194,"title":3195,"updated_at":3196,"url":3197,"score":3198},"### Description\n\nAs a developer using TresJS I would like to have a collection of small recipes demonstrating 3d concepts and integrations with libraries like gsap for animation.\n\n### Suggested solution\n\nReplace examples with a Cookbook section.\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/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.",[3190],{"name":3191,"color":3192},"docs","0075ca",557,"closed","Cookbook 🧑🍳 ","2024-03-05T08:26:19Z","https://github.com/Tresjs/tres/issues/557",0.7209116,{"description":3200,"labels":3201,"number":3202,"owner":3140,"repository":3151,"state":3194,"title":3203,"updated_at":3204,"url":3205,"score":3206},"### Describe the bug\n\nCameraControls not working, Scene cannot be interacted with.\n\n### Reproduction\n\nhttps://stackblitz.com/edit/vitejs-vite-eg7wqt\n\n### Steps to reproduce\n\n_No response_\n\n### System Info\n\n```shell\nsystem:\r\n OS: windows\r\n CPU: (8) x64 Intel(R) Core(TM) i7-8700 CPU @ 3.2GHz\r\n Memory: 0 Bytes / 0 Bytes\r\n Binaries:\r\n Node: 18.18.0\r\n Yarn: 1.22.19\r\n npm: 9.4.2\r\n pnpm: 8.14.0\r\n npmPackages:\r\n @tresjs/cientos: 3.7.0 => 3.7.0 \r\n @tresjs/core: 3.7.0 => 3.7.0 \r\n vite: ^5.0.12 => 5.0.12\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.",[],341,"CameraControls not working","2024-02-28T17:06:26Z","https://github.com/Tresjs/cientos/issues/341",0.73089164,{"description":3208,"labels":3209,"number":3213,"owner":3140,"repository":3169,"state":3194,"title":3214,"updated_at":3215,"url":3216,"score":3217},"\r\n![Uploading Screenshot 2023-05-03 at 13.36.05.png…]()\r\n\r\n\r\n**Describe the bug**\r\nThreeJS team introduced more breaking changes regarding color https://discourse.threejs.org/t/updates-to-color-management-in-three-js-r152/50791\r\n\r\n```\r\nChanges to property names:\r\n\r\nTHREE.WebGLRenderer property .outputEncoding renamed to .outputColorSpace\r\nTHREE.Texture property .encoding renamed to .colorSpace\r\nsRGBEncoding renamed to SRGBColorSpace\r\nLinearEncoding renamed to LinearSRGBColorSpace\r\nChanges to defaults:\r\n\r\nTHREE.WebGLRenderer property .outputColorSpace now defaults to sRGB (THREE.SRGBColorSpace)\r\nTHREE.ColorManagement.enabled now defaults to true\r\n\r\n```\r\n\r\n**Reproduction**\r\nhttps://tresjs.org/guide/\r\n\r\n\r\n**System Info**\r\nOutput of `npx envinfo --system --npmPackages '{vite,@tresjs/*, three, vue}' --binaries --browsers` \r\n\r\n```\r\n System:\r\n OS: macOS 13.2.1\r\n CPU: (8) arm64 Apple M1 Pro\r\n Memory: 79.83 MB / 16.00 GB\r\n Shell: 5.8.1 - /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: 112.1.50.121\r\n Chrome: 112.0.5615.137\r\n Safari: 16.3\r\n npmPackages:\r\n @tresjs/cientos: 2.0.0-beta.6 => 2.0.0-beta.6 \r\n @tresjs/core: 2.0.0-beta.11 => 2.0.0-beta.11 \r\n vite: ^4.3.4 => 4.3.4 \r\n```\r\n\r\n**Additional context**\r\nAdd any other context about the problem here.\r\n",[3210],{"name":3211,"color":3212},"bug","d73a4a",243,"Three v152 color management changes","2023-05-03T11:55:08Z","https://github.com/Tresjs/tres/issues/243",0.73464876,{"description":3219,"labels":3220,"number":1519,"owner":3140,"repository":3151,"state":3194,"title":3222,"updated_at":3223,"url":3224,"score":3225},"### Describe the bug\r\n\r\nI used the component OrbitControls,\r\nBut set enableDamping, the controls has no damping\r\n\r\n### Reproduction\r\n\r\nhttps://stackblitz.com/edit/tresjs-basic-krexte?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_No response_\r\n\r\n### Used Package Manager\r\n\r\nnpm",[3221],{"name":3211,"color":3212},"Why does the enableDamping of orbitControls not take effect?","2023-05-24T07:22:27Z","https://github.com/Tresjs/cientos/issues/80",0.7355081,{"description":3227,"labels":3228,"number":1519,"owner":3140,"repository":3230,"state":3194,"title":3231,"updated_at":3232,"url":3233,"score":3225},"**Describe the bug**\r\nA scene using `EffectComposer` gets broken when resizing the screen\r\n\r\n**Reproduction**\r\n[Reproduction](https://stackblitz.com/edit/nuxt-starter-hzbvpr?file=nuxt.config.ts,app.vue,components%2FModel.vue)\r\n\r\n**Steps**\r\nSteps to reproduce the behavior:\r\n1. Go to '...'\r\n2. Resize Scene\r\n\r\n**Expected behavior**\r\nScene with post-processing doesn't break\r\n\r\n**Screenshots**\r\n\r\nhttps://github.com/Tresjs/post-processing/assets/4699008/ce16b034-1b7b-49df-a708-320cf13c9831\r\n\r\n\r\n\r\n**System Info**\r\nOutput of `npx envinfo --system --npmPackages '{vite,@tresjs/*, three, vue}' --binaries --browsers` \r\n\r\n```\r\n System:\r\n OS: macOS 14.1\r\n CPU: (8) arm64 Apple M1 Pro\r\n Memory: 89.77 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: 118.1.59.124\r\n Chrome: 119.0.6045.105\r\n Firefox: 118.0.1\r\n Safari: 17.1\r\n npmPackages:\r\n @tresjs/cientos: ^3.6.0 => 3.6.0 \r\n @tresjs/leches: 0.14.0-next.0 => 0.14.0-next.0 \r\n @tresjs/nuxt: ^1.2.2 => 1.2.2 \r\n @tresjs/post-processing: 0.6.0 => 0.6.0 \r\n```\r\n**Additional context**\r\nAdd any other context about the problem here.\r\n",[3229],{"name":3211,"color":3212},"post-processing","[Nuxt - Astro] Maximum recursive updates exceeded on window resize","2023-11-14T13:32:23Z","https://github.com/Tresjs/post-processing/issues/80",{"description":3235,"labels":3236,"number":3240,"owner":3140,"repository":3169,"state":3194,"title":3241,"updated_at":3242,"url":3243,"score":3244},"At the moment is not possible to have 2 or more \u003CTresCanvas/>` on the same page. \n\nShould be easier now that is a custom renderer, my wild guess is that composable is being shared between the two instances, so the second one doesn't create a singleton. v1 Also is not possible\n\nThis is a nice to have.\n\n",[3237],{"name":3238,"color":3239},"v2","FEE22E",153,"Multiple canvas in same page","2023-04-05T13:41:40Z","https://github.com/Tresjs/tres/issues/153",0.7476205,["Reactive",3246],{},["Set"],["ShallowReactive",3249],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fojg4eqXajSSTlGuIeEIs3h4vcSwOgeslHRBiVPksdl8":-1},"/Tresjs/tres/565"]