\r\n\r\n**Additional context**\r\nThis is useful is you want to manipulate the vertex individually, in the vertex shader\r\n",[3039,3042],{"name":3040,"color":3041},"question","d876e3",{"name":3043,"color":3044},"waiting for author","B145BC",230,"tres","Support inline method in geometries ( EJ: toNonIndexed , setFromPoints)","2025-02-21T16:45:38Z","https://github.com/Tresjs/tres/issues/230",0.6630475,{"description":3052,"labels":3053,"number":3054,"owner":3029,"repository":3046,"state":3031,"title":3055,"updated_at":3056,"url":3057,"score":3058},"### Description\n\nThis allows to prevent bubbling the events to the dom by using `event.sourceEvent.preventDefault();`\n\n### Suggested solution\n\nAdd event capture true by default, or allow us to add parameters to the listeners: `@click.stop`, `@click.passive`, `@click.capture`, ...\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.",[],939,"Add event capture true by default","2025-02-22T10:19:27Z","https://github.com/Tresjs/tres/issues/939",0.6901998,{"description":3060,"labels":3061,"number":3067,"owner":3029,"repository":3046,"state":3068,"title":3069,"updated_at":3070,"url":3071,"score":3072},"**Is your feature request related to a problem? Please describe.**\r\n`useRenderLoop` only provides the register methods like `onBeforeLoop`、`onLoop`、`onAfterLoop`. But, there are no `off-*` methods to remove callback. so, do we need to add some `off-*`methods?\r\n\r\n**Describe the solution you'd like**\r\nadd some methods: `offBeforeLoop`、`offLoop`、`offAfterLoop`\r\n\r\n**Additional context**\r\nYeah, there is a way to remove callback like\r\n```JavaScript\r\nconst offMethod = onBeforeLoop(callback)\r\n// off\r\noffMethod.off() \r\n```\r\n\r\nBut I think a specific API like `offBeforeLoop` is a better choice. 😜",[3062,3063,3066],{"name":3020,"color":3021},{"name":3064,"color":3065},"wontfix","ffffff",{"name":3043,"color":3044},202,"closed","need to add some `off-*`methods?","2024-01-19T14:56:38Z","https://github.com/Tresjs/tres/issues/202",0.66204727,{"description":3074,"labels":3075,"number":3045,"owner":3029,"repository":3082,"state":3068,"title":3083,"updated_at":3084,"url":3085,"score":3050},"### Describe the bug\r\n\r\nThe guide page at:\r\n\r\nhttps://cientos.tresjs.org/guide/staging/contact-shadows.html\r\n\r\nthrows an error:\r\n\r\n```\r\nUncaught (in promise) TypeError: \"position\" is read-only\r\n```\r\n\r\nThis appears related to `ContactShadows` `helper` prop:\r\n\r\n* When `true`, the error is thrown. \r\n* When`false`, the error is not thrown.\r\n\r\n### Reproduction\r\n\r\nhttps://stackblitz.com/edit/tresjs-basic-pfyd2g?file=src%2Fcomponents%2FTheExperience.vue\r\n\r\n### Steps to reproduce\r\n\r\n* Open the [StackBlitz](https://stackblitz.com/edit/tresjs-basic-pfyd2g?file=src%2Fcomponents%2FTheExperience.vue) or open the [guide](https://cientos.tresjs.org/guide/staging/contact-shadows.html).\r\n* Check the browser console.\r\n\r\n### System Info\r\n\r\n```shell\r\nSystem:\r\n OS: macOS 13.1\r\n CPU: (8) arm64 Apple M1\r\n Memory: 102.31 MB / 8.00 GB\r\n Shell: 5.8.1 - /bin/zsh\r\n Binaries:\r\n Node: 20.5.1 - /opt/homebrew/bin/node\r\n npm: 9.8.0 - /opt/homebrew/bin/npm\r\n pnpm: 8.6.5 - /opt/homebrew/bin/pnpm\r\n Browsers:\r\n Chrome: 116.0.5845.187\r\n Safari: 16.2\r\n npmPackages:\r\n @tresjs/core: ^3.2.1 => 3.2.1 \r\n @tresjs/eslint-config-vue: ^0.1.1 => 0.1.1 \r\n vite: ^4.4.9 => 4.4.9\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/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.",[3076,3079],{"name":3077,"color":3078},"bug","d73a4a",{"name":3080,"color":3081},"p3-minor-bug","F28C37","cientos","ContactShadows demo throws error","2024-11-24T10:07:24Z","https://github.com/Tresjs/cientos/issues/230",{"description":3087,"labels":3088,"number":3093,"owner":3029,"repository":3046,"state":3068,"title":3094,"updated_at":3095,"url":3096,"score":3097},"### Describe the bug\n\nI tried writing this code into `Tresjs v 4.0.2` I think this issue and issue #727 have a common cause\r\n```vue\r\n \u003CTresGroup>\r\n \u003CTresMesh\r\n :position=\"[0, 0, 0]\"\r\n @click=\"onClick\"\r\n @double-click=\"onDoubleClick\"\r\n @pointer-enter=\"onPointerEnter\"\r\n @pointer-leave=\"onPointerLeave\"\r\n @pointer-move=\"onPointerMove\"\r\n @context-menu=\"onContextMenu\"\r\n @pointer-missed=\"onPointerMissed\"\r\n >\r\n \u003CTresBoxGeometry :args=\"[1, 1, 1]\" />\r\n \u003CTresMeshToonMaterial color=\"#efefef\" />\r\n \u003C/TresMesh>\r\n \u003C/TresGroup>\r\n```\r\nOnly `@pointer-missed` has been triggered during this process\r\n\r\nhttps://github.com/Tresjs/tres/assets/59913119/8ca05964-6e9d-4443-a1d8-7e543aebb5fe\r\n\r\n\n\n### Reproduction\n\nhttps://stackblitz.com/~/github.com/hexianWeb/starter\n\n### Steps to reproduce\n\nswitch the branch to the `bug` branch, or just copy this code into `TheExperience.vue`\r\n```vue \r\n \u003CTresGroup>\r\n \u003CTresMesh\r\n :position=\"[0, 0, 0]\"\r\n @click=\"onClick\"\r\n @double-click=\"onDoubleClick\"\r\n @pointer-enter=\"onPointerEnter\"\r\n @pointer-leave=\"onPointerLeave\"\r\n @pointer-move=\"onPointerMove\"\r\n @context-menu=\"onContextMenu\"\r\n @pointer-missed=\"onPointerMissed\"\r\n >\r\n \u003CTresBoxGeometry :args=\"[1, 1, 1]\" />\r\n \u003CTresMeshToonMaterial color=\"#efefef\" />\r\n \u003C/TresMesh>\r\n \u003C/TresGroup>\r\n```\r\nand remove the `TresGroup` near camera\r\n```vue\r\n \u003CTresGroup>\r\n \u003CTresPerspectiveCamera :position=\"[5, 5, 5]\" />\r\n \u003C/TresGroup>\r\n```\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/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.",[3089,3090],{"name":3077,"color":3078},{"name":3091,"color":3092},"p5-urgent-bug","B60205",728,"`Event` is not triggered in `TresGroup`","2024-07-16T18:52:11Z","https://github.com/Tresjs/tres/issues/728",0.6639989,{"description":3099,"labels":3100,"number":3104,"owner":3029,"repository":3082,"state":3068,"title":3105,"updated_at":3106,"url":3107,"score":3108},"### Description\n\nAs a developer using Tresjs I would like to have a simple way to add a global sound.\n\n### Suggested solution\n\nAn abstraction of: https://threejs.org/docs/index.html?q=audio#api/en/audio/Audio\r\n\r\nYou could consider something like:\r\n\u003CAudio src=\"MYAUDIO_PATH.mp3\" :volume=\"0.3\" /> \r\n\r\nAs example\n\n### Alternative\n\nFeel free to suggest other alternatives\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.",[3101],{"name":3102,"color":3103},"good first issue","7057ff",209,"Global audio component","2023-10-05T21:05:09Z","https://github.com/Tresjs/cientos/issues/209",0.68346137,{"description":3110,"labels":3111,"number":3118,"owner":3029,"repository":3046,"state":3068,"title":3119,"updated_at":3120,"url":3121,"score":3122},"### Describe the bug\n\n```\r\n \u003CTresMesh\r\n v-for=\"(player, key) in players\"\r\n :key=\"key\"\r\n :scale=\"1\"\r\n cast-shadow\r\n :position=\"[player.x, player.y, player.z]\"\r\n >\r\n \u003CTresBoxGeometry :args=\"[1, 1, 1]\" />\r\n \u003CTresMeshNormalMaterial />\r\n \u003C/TresMesh>\r\n```\r\n\r\nIf players increase size (new player) is not being added to the scene\r\n\r\n\n\n### Reproduction\n\nhttps://stackblitz.com/edit/node-7ddska?file=src%2Fviews%2FHomeView.vue\n\n### Steps to reproduce\n\nHit key \"R\", you will see the list on top increase but not the amount of boxes\n\n### System Info\n\n```shell\nSystem:\r\n OS: Linux 5.0 undefined\r\n CPU: (2) 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: 16.14.2 - /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 npmPackages:\r\n @tresjs/cientos: ^2.0.0 => 2.0.0 \r\n @tresjs/core: ^2.0.0 => 2.0.0 \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.",[3112,3113,3114,3115],{"name":3077,"color":3078},{"name":3102,"color":3103},{"name":3020,"color":3021},{"name":3116,"color":3117},"community","DC9921",284,"v-for of meshes doesn't add new instances to scene ","2023-06-09T11:39:28Z","https://github.com/Tresjs/tres/issues/284",0.69201475,{"description":3124,"labels":3125,"number":3127,"owner":3029,"repository":3046,"state":3068,"title":3128,"updated_at":3129,"url":3130,"score":3131},"\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",[3126],{"name":3077,"color":3078},243,"Three v152 color management changes","2023-05-03T11:55:08Z","https://github.com/Tresjs/tres/issues/243",0.6948163,{"description":3133,"labels":3134,"number":1506,"owner":3029,"repository":3082,"state":3068,"title":3136,"updated_at":3137,"url":3138,"score":3139},"### 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",[3135],{"name":3077,"color":3078},"Why does the enableDamping of orbitControls not take effect?","2023-05-24T07:22:27Z","https://github.com/Tresjs/cientos/issues/80",0.70177674,["Reactive",3141],{},["Set"],["ShallowReactive",3144],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fJ_DTCblPhV8Aw3mP94hWK7ya16sHAdX7q4pN7wTy_Ys":-1},"/Tresjs/cientos/247"]