\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.",[2885,2888],{"name":2886,"color":2887},"needs reproduction","16309A",{"name":2889,"color":2890},"waiting for author","DEEAB8",429,"FBXLoader: Missing data from userData field ","2024-09-12T20:08:31Z","https://github.com/Tresjs/cientos/issues/429",0.7401852,{"description":2897,"labels":2898,"number":2899,"owner":2863,"repository":2864,"state":2865,"title":2900,"updated_at":2901,"url":2902,"score":2903},"### 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,"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.7403985,{"description":2905,"labels":2906,"number":2915,"owner":2863,"repository":2877,"state":2916,"title":2917,"updated_at":2918,"url":2919,"score":2920},"**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. 😜",[2907,2910,2913],{"name":2908,"color":2909},"help wanted","008672",{"name":2911,"color":2912},"wontfix","ffffff",{"name":2889,"color":2914},"B145BC",202,"closed","need to add some `off-*`methods?","2024-01-19T14:56:38Z","https://github.com/Tresjs/tres/issues/202",0.6253185,{"description":2922,"labels":2923,"number":2924,"owner":2863,"repository":2864,"state":2916,"title":2925,"updated_at":2926,"url":2927,"score":2928},"### Description\r\n\r\nAs a developer using Tres/Cientos:\r\n\r\n* I want props listings to be generated from commented source code.\r\n* I don't want to have to copy/paste props from `.vue` files and format as markdown in most cases.\r\n\r\nThe current solution is simply to copy/paste props and format them as markdown. This means that the docs' props listings fall out of sync with actual code.\r\n\r\n### Suggested solution\r\n\r\nThe [`vue-component-meta` package](https://github.com/vuejs/language-tools/tree/master/packages/vue-component-meta) can generate a JS object describing SFC props. \r\n\r\nI suggest we use that package to generate tables from the component source files.\r\n\r\n### Alternative\r\n\r\nContinue copy/pasting props\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.",[],256,"Autogenerate props listings for docs","2023-11-24T12:57:33Z","https://github.com/Tresjs/cientos/issues/256",0.6725428,{"description":2930,"labels":2931,"number":2932,"owner":2863,"repository":2877,"state":2916,"title":2933,"updated_at":2934,"url":2935,"score":2936},"### Describe the bug\n\nAfter updating to version 4, my frame rate drops when I move the cursor or zoom in and out of the camera.\r\nComponent: \r\n`CanvasBackground.vue`\r\n\r\nIs only one model Icosahedron.\n\n### Reproduction\n\nhttps://github.com/Dekier/tresjs-drops\n\n### Steps to reproduce\n\npnpm install\r\npnpm dev\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.",[],711,"V4 drops fps","2024-06-02T17:45:28Z","https://github.com/Tresjs/tres/issues/711",0.686639,{"description":2938,"labels":2939,"number":2943,"owner":2863,"repository":2877,"state":2916,"title":2944,"updated_at":2945,"url":2946,"score":2947},"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",[2940],{"name":2941,"color":2942},"v2","FEE22E",153,"Multiple canvas in same page","2023-04-05T13:41:40Z","https://github.com/Tresjs/tres/issues/153",0.69173,{"description":2949,"labels":2950,"number":2962,"owner":2863,"repository":2877,"state":2916,"title":2963,"updated_at":2964,"url":2965,"score":2966},"### Describe \r\n\r\nAs a developer using TresJS, I would like the tone-mapping of the renderer to be set to `ACESFilmicToneMapping` as default.\r\n\r\nThis will introduce a Breaking change.\r\n\r\nDecisions based on feedback from the community: \r\n\r\n\r\n\r\n\r\n\r\n\r\nFrom left to right: r3f, Tres, Threlte\r\n\r\n\r\n\r\n\r\n## Docs\r\n\r\n[Render defaults](https://docs.pmnd.rs/react-three-fiber/api/canvas#render-defaults)\r\nCanvas uses [createRoot](https://docs.pmnd.rs/react-three-fiber/api/canvas#createroot) which will create a translucent THREE.WebGLRenderer with the following constructor args:\r\n\r\nantialias=true\r\nalpha=true\r\npowerPreference=\"high-performance\"\r\nand with the following properties:\r\n\r\noutputColorSpace = THREE.SRGBColorSpace\r\ntoneMapping = THREE.ACESFilmicToneMapping\r\nIt will also create the following scene internals:\r\n\r\nA THREE.Perspective camera\r\nA THREE.Orthographic cam if orthographic is true\r\nA THREE.PCFSoftShadowMap if shadows is true\r\nA THREE.Scene (into which all the JSX is rendered) and a THREE.Raycaster\r\nIn recent versions of threejs, THREE.ColorManagement.enabled will be set to true to enable automatic conversion of colors according to the renderer's configured color space. R3F will handle texture color space conversion. For more on this topic, see https://threejs.org/docs/#manual/en/introduction/Color-management.\r\n\r\n",[2951,2954,2955,2956,2959],{"name":2952,"color":2953},"good first issue","7057ff",{"name":2908,"color":2909},{"name":2857,"color":2858},{"name":2957,"color":2958},"discussion 💭","AE4C80",{"name":2960,"color":2961},"v4","7980EA",492,"Set tone-mapping default to ACESFilmicToneMapping","2024-01-27T11:58:47Z","https://github.com/Tresjs/tres/issues/492",0.7104267,{"description":2968,"labels":2969,"number":2978,"owner":2863,"repository":2877,"state":2916,"title":2979,"updated_at":2980,"url":2981,"score":2982},"### 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.",[2970,2973,2974,2975],{"name":2971,"color":2972},"bug","d73a4a",{"name":2952,"color":2953},{"name":2908,"color":2909},{"name":2976,"color":2977},"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.7140759,["Reactive",2984],{},["Set"],["ShallowReactive",2987],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fDtiX1KKT2Ndx5uyHXpeA9G6-5o07ULrvg-fMHaxXF2k":-1},"/Tresjs/cientos/129"]