\r\n \u003CTresMeshToonMaterial color=\"#efefef\" />\r\n \u003C/TresMesh>\r\n\u003C/TresGroup>\r\n```\r\n\r\nSee also: `pointer-out` exhibits similar behavior.\r\n\r\n### Reproduction\r\n\r\nhttps://stackblitz.com/edit/tresjs-minimal-reproduction-qd169j?file=src%2Fcomponents%2FTheExperience.vue\r\n\r\n### Steps to reproduce\r\n\r\n* Open Stackblitz link in a browser.\r\n* Mouse over cube, then leave.\r\n* See browser console: multiple `pointer-leave` events will be logged.\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.",[3044,3047],{"name":3045,"color":3046},"bug","d73a4a",{"name":3048,"color":3049},"p3-minor-bug","F28C37",801,"`pointer-{leave,out}` fired multiple times on single \"leave\"","2025-01-02T17:17:01Z","https://github.com/Tresjs/tres/issues/801",0.71431774,{"description":3056,"labels":3057,"number":3058,"owner":3034,"repository":3059,"state":3036,"title":3060,"updated_at":3061,"url":3062,"score":3063},"### Describe the bug\r\n\r\nIf the following criteria are met in the project, the build command `pnpm build` will fail with the error below.\r\n\r\n*Criteria:*\r\n\r\n* The nuxt module `@tresjs/nuxt` is enabled in the project and present as dependency\r\n* The dependency `@tresjs/cientos` is present (enabling in TresJS nuxt module config is not needed)\r\n* The nuxt module `@nuxt/ui` is enabled in the project and present as dependency\r\n* The NuxtUI module config `global` is set to `true`\r\n\r\n*Error:*\r\n\r\nCannot use `pnpm build` bc the build fails with the following error:\r\n\r\n```shell-script\r\n$ pnpm build\r\n\r\n> nuxt-app@ build /issue-report-nuxt-ui-1748-tresjs-cientos-404\r\n> nuxt build\r\n\r\nNuxt 3.11.2 with Nitro 2.9.6 11:03:36 AM\r\n\r\n[nuxt:tailwindcss 11:03:39 AM] WARN You have provided functional plugins in tailwindcss.config in your Nuxt configuration that cannot be serialized for Tailwind Config. Please use tailwind.config or a separate file (specifying in tailwindcss.configPath) to enable it with additional support for IntelliSense and HMR.\r\n\r\nℹ Using default Tailwind CSS file nuxt:tailwindcss 11:03:39 AM\r\nℹ Building client... 11:03:41 AM\r\nℹ vite v5.2.11 building for production... 11:03:41 AM\r\nnode_modules/.pnpm/@nuxt+ui@2.15.2_focus-trap@7.5.4_nuxt@3.11.2_@opentelemetry+api@1.8.0_@parcel+watcher@2.4.1_@_cqvxtylvfpkverkt5obk5rowla/node_modules/@nuxt/ui/dist/runtime/components/forms/Radio.vue (128:68): Error when using sourcemap for reporting an error: Can't resolve original location of error.\r\nℹ ✓ 135 modules transformed. 11:03:50 AM\r\n\r\n ERROR x Build failed in 8.84s 11:03:50 AM\r\n\r\n\r\n[11:03:50 AM] ERROR Nuxt Build Error: node_modules/.pnpm/@nuxt+ui@2.15.2_focus-trap@7.5.4_nuxt@3.11.2_@opentelemetry+api@1.8.0_@parcel+watcher@2.4.1_@_cqvxtylvfpkverkt5obk5rowla/node_modules/@nuxt/ui/dist/runtime/components/forms/Radio.vue (128:68): The left-hand side of an assignment expression must be a variable or a property access. (Note that you need plugins to import files that are not JavaScript)\r\nfile: /issue-report-nuxt-ui-1748-tresjs-cientos-404/node_modules/.pnpm/@nuxt+ui@2.15.2_focus-trap@7.5.4_nuxt@3.11.2_@opentelemetry+api@1.8.0_@parcel+watcher@2.4.1_@_cqvxtylvfpkverkt5obk5rowla/node_modules/@nuxt/ui/dist/runtime/components/forms/Radio.vue:128:68\r\n126: _withDirectives(_createElementVNode(\"input\", _mergeProps({\r\n127: id: _ctx.inputId,\r\n128: \"onUpdate:modelValue\": _cache[0] || (_cache[0] = $event => (((\"pick\" in _ctx ? _ctx.pick : __unimport_unref_(...\r\n ^\r\n129: name: _ctx.name,\r\n130: required: _ctx.required,\r\n\r\n at getRollupError (node_modules/.pnpm/rollup@4.17.2/node_modules/rollup/dist/es/shared/parseAst.js:394:41)\r\n at ParseError.initialise (node_modules/.pnpm/rollup@4.17.2/node_modules/rollup/dist/es/shared/node-entry.js:11332:28)\r\n at convertNode (node_modules/.pnpm/rollup@4.17.2/node_modules/rollup/dist/es/shared/node-entry.js:13082:10)\r\n at convertProgram (node_modules/.pnpm/rollup@4.17.2/node_modules/rollup/dist/es/shared/node-entry.js:12399:12)\r\n at Module.setSource (node_modules/.pnpm/rollup@4.17.2/node_modules/rollup/dist/es/shared/node-entry.js:14243:24)\r\n at async ModuleLoader.addModuleSource (node_modules/.pnpm/rollup@4.17.2/node_modules/rollup/dist/es/shared/node-entry.js:18896:13)\r\n\r\n ELIFECYCLE Command failed with exit code 1.\r\n```\r\n\r\n### Reproduction\r\n\r\nhttps://github.com/toddeTV/issue-report-nuxt-ui-1748-tresjs-cientos-404\r\n\r\n### Steps to reproduce\r\n\r\nReproduction with a prepared demo repository:\r\n\r\n1. pull the provided reproduction repro (see URI above)\r\n1. go inside the pulled repo folder\r\n1. `pnpm i`\r\n1. `pnpm build` -> will now break with the provided error\r\n\r\nReproduction without my linked demo repo, own example reproduction:\r\n\r\n1. `pnpm dlx nuxi@latest init issue-report-nuxt-ui-1748-tresjs-cientos-404 -t ui` with `pnpm` as package manager\r\n (see [NuxtUI starter project in installation guide](https://ui.nuxt.com/getting-started/installation#use-nuxt-starter) for more information)\r\n1. cd `issue-report-nuxt-ui-1748-tresjs-cientos-404`\r\n1. `pnpm i` (just to be sure)\r\n1. `pnpm build` -> should work (just to test and be sure)\r\n1. Now lets add a small code that leads to the build error:\r\n 1. `pnpm i -D @tresjs/nuxt @tresjs/cientos`\r\n 1. In `nuxt.config.ts`: Add `@tresjs/nuxt` to the modules & set `global` to `true` in the NuxtUI settings. \r\n The nuxt config should then look something like this:\r\n\r\n export default defineNuxtConfig({\r\n devtools: { enabled: true },\r\n modules: [\r\n '@nuxt/ui',\r\n '@tresjs/nuxt',\r\n ],\r\n ui: {\r\n global: true, // this will break on `pnpm build` -> if set to `false` | `undefined` the build will work\r\n },\r\n })\r\n\r\n1. `pnpm build` -> will now break with the provided error\r\n\r\n### How to solve the bug\r\n\r\nTo get the build working again, one of two things can be done:\r\n\r\n* Either setting the NuxtUI module config `global` to `undefined` or `false`, or removing it so that the default `undefined` will be used in the background.\r\n* Or remove the dependency `@tresjs/cientos` (e.g. `pnpm remove @tresjs/cientos`)\r\n\r\nBut the combination I want in my project setup with build upon code cannot be built.\r\n\r\n### System Info\r\n\r\n```shell\r\nGlobal:\r\n\r\n- Operating System: Linux (Ubuntu v23.10)\r\n- Node v20.11.1\r\n- pnpm v9.0.1\r\n- (npm v10.2.4)\r\n- (npx v10.2.4)\r\n\r\nProject:\r\n\r\n- Nuxt Version: 3.11.2\r\n- CLI Version: 3.11.1\r\n- Nitro Version: 2.9.6\r\n- Builder: -\r\n- User Config: devtools, modules, ui\r\n- Runtime Modules: @nuxt/ui@2.15.2, @tresjs/nuxt@2.1.1\r\n- Build Modules: -\r\n\r\nTresJS dependencies:\r\n\r\n- @tresjs/nuxt: ^2.1.1 => 2.1.1\r\n- @tresjs/cientos: ^3.8.0 => 3.8.0\r\n```\r\n\r\n\r\n### Used Package Manager\r\n\r\npnpm\r\n\r\n\r\n### Cross bug report\r\n\r\nBecause I am not sure whether this is a `@nuxt/ui` or `@tresjs/cientos` issue and what falls under which jurisdiction, I reported this bug twice:\r\n\r\n- [issue #1748 in @nuxt/ui](https://github.com/nuxt/ui/issues/1748)\r\n- [issue #404 in @tresjs/cientos](https://github.com/Tresjs/cientos/issues/404)\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.",[],404,"cientos","bug: build fails when NuxtUI module prop `global` is set to `true` and TresJS with cientos is present","2024-12-27T08:50:25Z","https://github.com/Tresjs/cientos/issues/404",0.72473764,{"description":3065,"labels":3066,"number":3067,"owner":3034,"repository":3059,"state":3068,"title":3069,"updated_at":3070,"url":3071,"score":3072},"### Describe the bug\n\n`3.8.0`:\r\n\r\n\r\n`3.9.0`:\r\n\r\n\r\nIt's still exported in .js file and is usable, but the types missing makes IDE yelling error.\r\n\r\n\n\n### Reproduction\n\nhttps://www.npmjs.com/package/@tresjs/cientos?activeTab=code\n\n### Steps to reproduce\n\nN/A\n\n### System Info\n\n```shell\nN/A\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/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.",[],418,"closed","types of `useGLTF` missing in `3.9.0`","2024-08-22T06:20:43Z","https://github.com/Tresjs/cientos/issues/418",0.6790262,{"description":3074,"labels":3075,"number":3079,"owner":3034,"repository":3035,"state":3068,"title":3080,"updated_at":3081,"url":3082,"score":3083},"### Description\n\nCurrently, \u003Cprimitive> does not support pointer event handlers.\n\n### Suggested solution\n\nPointer event handlers should work on \u003Cprimitive> just like the do on component that inherit from Object3Ds.\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.",[3076],{"name":3077,"color":3078},"v4","7980EA",402,"Allow pointer event handlers on \u003Cprimitive>","2024-01-07T14:57:49Z","https://github.com/Tresjs/tres/issues/402",0.695901,{"description":3085,"labels":3086,"number":3087,"owner":3034,"repository":3059,"state":3068,"title":3088,"updated_at":3089,"url":3090,"score":3091},"### Description\n\nCurrently, in the cientos docs there are just a few examples of the components, it will be better to provide examples as in MeshWobbleMaterial to as many components as possible\n\n### Suggested solution\n\nBasically add example to all abstractions, controls, shapes, material and misc. Possible\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.",[],177,"Add more examples to the Cientos docs","2023-09-13T13:31:29Z","https://github.com/Tresjs/cientos/issues/177",0.7006424,{"description":3093,"labels":3094,"number":1505,"owner":3034,"repository":3059,"state":3068,"title":3096,"updated_at":3097,"url":3098,"score":3099},"### 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",[3095],{"name":3045,"color":3046},"Why does the enableDamping of orbitControls not take effect?","2023-05-24T07:22:27Z","https://github.com/Tresjs/cientos/issues/80",0.71069443,{"description":3101,"labels":3102,"number":1505,"owner":3034,"repository":3104,"state":3068,"title":3105,"updated_at":3106,"url":3107,"score":3099},"**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",[3103],{"name":3045,"color":3046},"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":3109,"labels":3110,"number":3115,"owner":3034,"repository":3035,"state":3068,"title":3116,"updated_at":3117,"url":3118,"score":3119},"### 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.",[3111,3112],{"name":3045,"color":3046},{"name":3113,"color":3114},"p5-urgent-bug","B60205",728,"`Event` is not triggered in `TresGroup`","2024-07-16T18:52:11Z","https://github.com/Tresjs/tres/issues/728",0.71457374,{"description":3121,"labels":3122,"number":3126,"owner":3034,"repository":3059,"state":3068,"title":3127,"updated_at":3128,"url":3129,"score":3130},"### 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.",[3123],{"name":3124,"color":3125},"good first issue","7057ff",209,"Global audio component","2023-10-05T21:05:09Z","https://github.com/Tresjs/cientos/issues/209",0.7163383,["Reactive",3132],{},["Set"],["ShallowReactive",3135],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fLyEWzZ_RWH6M8lU31ylErhgPBT0ahzNm3TWQtdHXs74":-1},"/Tresjs/cientos/302"]