\r\n \u003C/Suspense>\r\n```\r\nBut get `Failed to resolve component: primitive`",[],"Tresjs","lab","open","How to load and render STL models?","2024-07-17T17:42:39Z","https://github.com/Tresjs/lab/issues/53",0.46775448,{"description":2864,"labels":2865,"number":2872,"owner":2856,"repository":2873,"state":2858,"title":2874,"updated_at":2875,"url":2876,"score":2877},"### Describe the bug\n\nThe examples under https://cientos.tresjs.org/guide/misc/html-component.html#html are currently broken\n\n### Reproduction\n\nhttps://cientos.tresjs.org/guide/misc/html-component.html#html\n\n### Steps to reproduce\n\n_No response_\n\n### System Info\n\n_No response_\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.",[2866,2869],{"name":2867,"color":2868},"bug","d73a4a",{"name":2870,"color":2871},"docs","0075ca",368,"cientos","[Docs] - HTML examples are broken ","2024-07-18T08:07:36Z","https://github.com/Tresjs/cientos/issues/368",0.68531215,{"description":2879,"labels":2880,"number":2884,"owner":2856,"repository":2873,"state":2858,"title":2885,"updated_at":2886,"url":2887,"score":2888},"### Describe the bug\n\nAdd `Environment` component to a nuxt tres app\r\n\r\n\n\n### Reproduction\n\nhttps://stackblitz.com/~/edit/tres-nuxt-starter-z2w6ry-gqqcae?file=components/TheExperience.vue\n\n### Steps to reproduce\n\nGo to reproduction\r\nOpen console.\n\n### System Info\n\n```shell\nSystem:\r\n OS: Linux 5.0 undefined\r\n CPU: (4) 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: 18.20.3 - /usr/local/bin/node\r\n Yarn: 1.22.19 - /usr/local/bin/yarn\r\n npm: 10.2.3 - /usr/local/bin/npm\r\n pnpm: 8.15.6 - /usr/local/bin/pnpm\r\n npmPackages:\r\n @tresjs/cientos: ^4.0.0 => 4.0.0 \r\n @tresjs/nuxt: ^3.0.4 => 3.0.4\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.",[2881],{"name":2882,"color":2883},"p5-urgent-bug","B60205",474,"Environment breaks in nuxt","2024-11-26T08:16:39Z","https://github.com/Tresjs/cientos/issues/474",0.6936157,{"description":2890,"labels":2891,"number":2892,"owner":2856,"repository":2893,"state":2858,"title":2894,"updated_at":2895,"url":2896,"score":2897},"### Describe the bug\n\nThe delta property of the `pointer-missed` is always zero (obvious [in the code](https://github.com/Tresjs/tres/blob/main/src/composables/useRaycaster/index.ts#L137-L139)).\r\n\r\nI have a project where object of the scene can be selected by clicking on them. To unselect the user can press where there is no object, which I implemented using the `pointer-missed `event on the `Trescanvas`. However, objects get also unselected when the user uses the mouse to drag the camera around. To prevent this I wanted to rely on the `delta` of the `pointer-missed` event, to discard events with dragging.\n\n### Reproduction\n\nhttps://github.com/Tresjs/tres/blob/main/src/composables/useRaycaster/index.ts#L137-L139\n\n### Steps to reproduce\n\n_No response_\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.",[],852,"tres","The delta of pointer-missed events is always zero","2024-10-12T18:44:56Z","https://github.com/Tresjs/tres/issues/852",0.70999616,{"description":2899,"labels":2900,"number":2907,"owner":2856,"repository":2908,"state":2858,"title":2909,"updated_at":2910,"url":2911,"score":2912},"### Description\n\nThe physics component should expose the context of rapier... The world\n\n### Suggested solution\n\nUsing define expose\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.",[2901,2904],{"name":2902,"color":2903},"p2-nice-to-have","D4C5F9",{"name":2905,"color":2906},"v1","5B6B67",137,"rapier","Expose for the Physic component","2024-10-11T09:22:27Z","https://github.com/Tresjs/rapier/issues/137",0.7245403,{"description":2914,"labels":2915,"number":2916,"owner":2856,"repository":2873,"state":2858,"title":2917,"updated_at":2918,"url":2919,"score":2920},"### Describe the bug\n\nTransformControls mouseUp no emit, mouseDown trigger both up and down.\n\n### Reproduction\n\nnone\n\n### Steps to reproduce\n\n_No response_\n\n### System Info\n\n```shell\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.",[],614,"TransformControls mouseUp no emit","2025-04-25T02:37:27Z","https://github.com/Tresjs/cientos/issues/614",0.7283487,{"description":2922,"labels":2923,"number":2924,"owner":2856,"repository":2873,"state":2858,"title":2925,"updated_at":2926,"url":2927,"score":2928},"### Describe the bug\n\n\u003Cimg width=\"1891\" alt=\"Screenshot 2024-05-01 at 03 05 13\" src=\"https://github.com/Tresjs/cientos/assets/20469369/984e83e7-5a78-4f6e-843c-268498a291e4\">\r\n\n\n### Reproduction\n\nhttps://cientos.tresjs.org/guide/staging/environment.html\n\n### Steps to reproduce\n\n* Visit: https://cientos.tresjs.org/guide/staging/environment.html\r\n* See first demo – stays at 'Loading ... 0%'\n\n### System Info\n\n```shell\nTested in latest FF on Mac\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.",[],391,"Docs: guide/staging/environment demo doesn't load","2024-05-01T01:22:38Z","https://github.com/Tresjs/cientos/issues/391",0.72952855,{"description":2930,"labels":2931,"number":2932,"owner":2856,"repository":2893,"state":2933,"title":2934,"updated_at":2935,"url":2936,"score":2937},"### Description\r\n\r\nBased on https://github.com/orgs/Tresjs/discussions/321\r\n\r\nAs a plugin author, I will like to have a reactive state with the following characteristics:\r\n\r\n- Performant, (use of `shallowRef` where needed)\r\n- read-only\r\n- Strictly Typed\r\n- Reduce side effects on watchers\r\n- Needs to work on cientos and the rest of ecosystem via `provide/inject` \r\n\r\n### Suggested solution\r\n\r\n| Name | Type | Requirement | Details |\r\n| ---------------------------------- | -------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\r\n| scene | readonly, shallowRef | essential | |\r\n| cameras | readonly, shallowRef | essential | userData.TRES_IS_ACTIVE_CAMERA = true\u003Cbr>const cameras = shallowRef([]) return { cameras: readonly(cameras)} |\r\n| camera | computed, readonly | essential | |\r\n| pushCamera(newCamera: Camera, setActive: boolean) | function | essential | cameras should be watched and removed from the cameras array if they got removed from the scene |\r\n| removeCamera(camera: Camera) | function | essential ||\r\n| setCamera(cameraId string) | function | essential ||\r\n| renderer | readonly, shallowRef | essential | setRenderer(renderer: Renderer)\u003Cbr>maybe only callable once? |\r\n| setRenderer(renderer: Renderer) | function | essential ||\r\n| sizes (height, width, aspectRatio) | readonly | handy | sizes: {\u003Cbr> height: Ref\u003Cnumber>\u003Cbr> width: Ref\u003Cnumber>\u003Cbr> aspectRatio: Computed\u003Cnumber>\u003Cbr>} |\r\n\r\n### Alternative\r\n\r\n_No response_\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/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.",[],331,"closed","New and better state context provider","2023-07-29T08:58:56Z","https://github.com/Tresjs/tres/issues/331",0.68502706,{"description":2939,"labels":2940,"number":2941,"owner":2856,"repository":2857,"state":2933,"title":2942,"updated_at":2943,"url":2944,"score":2945}," Hello. I appreciate your work for this wonderful library.\r\n As I follow the steps detailed in [https://docs.tresjs.org/advanced/primitive.html](url) using BatchedMesh, it thow an exception as follows: \r\n\r\n My code example is as below:\r\n`\u003Cscript setup lang=\"ts\">\r\n const geometry2 = new THREE.ConeGeometry();\r\n const geometry3 = new THREE.BoxGeometry();\r\n const mtl3 = new THREE.MeshBasicMaterial({ color: 0xffff00 })\r\n const meshWithMtl2 = new THREE.BatchedMesh(20, 1000, 1000, mtl3)\r\n var geoId = meshWithMtl2.addGeometry(geometry2);\r\n meshWithMtl2.addInstance(geoId)\r\n var geoId2 = meshWithMtl2.addGeometry(geometry3);\r\n meshWithMtl2.addInstance(geoId2)\r\n\u003C/script>\r\n\r\n\u003Ctemplate>\r\n \u003Cprimitive :object=\" meshWithMtl2\" />\r\n\u003C/template>\r\n`\r\n What have I missed or mistaken? Hope to get your help.\r\n",[],150,"BatchedMesh dosn't work with the primitive component","2024-08-12T00:16:46Z","https://github.com/Tresjs/lab/issues/150",0.6930216,{"description":2947,"labels":2948,"number":2952,"owner":2856,"repository":2953,"state":2933,"title":2954,"updated_at":2955,"url":2956,"score":2957},"\r\n\r\n😊 https://docs.pmnd.rs/react-postprocessing/effects/noise\r\n",[2949],{"name":2950,"color":2951},"enhancement","a2eeef",66,"post-processing","Noise","2023-11-07T21:19:16Z","https://github.com/Tresjs/post-processing/issues/66",0.70070386,["Reactive",2959],{},["Set"],["ShallowReactive",2962],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$f8E6Qqi_NRkqCbmwxi1sDpaHG7xCizX7nRy60FUMdgpk":-1},"/Tresjs/cientos/53"]