Good day Folks, ... i hope this is a false positive 👀
#🗨-needle-engine-chat
General chat about Needle Engine, webdev, threejs. You can also ask for feedback here for your project or show off WIP material
🧵 Threads (72)
Just happened while i was doing a full system backup including our Unity/Needle Projects...
Hi <@614880833924497419> thanks for the warning. The simple-swizzle package's dependency is pulled in from caporal. NPM has detected the issue on 8th of september and since then pulled the compromised simple-swizzle version 0.2.3 and a patch has been published on 13th of september - this means new installations since then shouldnt be affected anymore. Seems like it affected installations in that time frame: 8th to 13th of september.
Thanks for the Info ❤️
bumpybump
Hi, sorry missed your question. I'll take a look
Skybox and Environment Intensity
I am currently developing the lift simulator in Unity3D, where the user has the option to change the wall materials/textures on all sides. Each side of the lift is divided into three partitions (left, center, and right). The challenge I am facing is related to the mirror materials. The mirrors are expected to reflect the opposite wall’s material in real time. For example, if the opposite wall is changed to a gold material, the mirror should display the gold reflection accordingly. However, since our final target build is WebGL, real-time reflection probes are not supported. Using baked reflection probes is not a practical solution, as there will be numerous possible material combinations. Capturing the opposite wall using a camera and rendering it to a RenderTexture is also not efficient, as it would require around 12 cameras (one per wall partition) — which would be complex to manage and heavy in performance. Could you please suggest an optimal and feasible approach to achieve mirror-like reflections in the WebGL build? Does needle engine supports realtime reflection when export to webgl/export as project using needle engine
Hiii, i struggle to figure out how i deal with materials in blender. i want to have the same look (or at least similar look)as it shows in the blender shading viewport. Is that possible, or can i maybe only use materials that are supported in evee? Thank you for your help!
Heyhey! Blender export uses glTF and so the limitations and rules of the Blender glTF exporter apply when it comes to materials: https://docs.blender.org/manual/en/latest/addons/import_export/scene_gltf2.html#exported-materials
Usually for a custom shader graph such as yours, you'll want to bake it to textures on the object so that it can be exported
Hi herbst, I am also interested in the integration with Unreal Engine, as we plan to use the tool for internal development at our company. I would very much like to discuss this and provide more details about our specific needs and how we would use the integration. Can we talk about it?
hi all! I see that the Needle engine has some support for unity particles, but can the particles collide and stick and/or be killed when colliding with other geo?
I'm thinking like a snowfall kind of situation
sure, feel free to DM me
aha oki that already helps a lot, thx!
Hi, looking forward to try the gltf-progressive on my project. Do I have to create the lods with needle? Or it can be done manually with gltf-transform etc and pass to gltf-progressive
gltf-progressive
Hi <@272528485732450305> 👋 I need some help. I’m working on a WebXR “Everywhere Action". I have a scene where I want the materials to transition using a click function. I tried animating the alpha value in a GLTF file using the animation timeline with a base factor, but the fade animation of the textured material only works on Android — it doesn’t work on iOS. Also, the meshes are overlapping — I can see another mesh showing through inside the shader. Is there any solution for this? I want the textured mesh to be revealed with a fading animation in AR space, and it should work cross-platform
We are working with NPM Definitions. is there a way to set relative paths for "localPath" in npmdef?
Npm Def Local Path
Hello there. I know the USDZExporter does allow for selecting maximum texture size but I was wondering if there is an option to select different LODs than the highest quality. I do explicitly switch to lower LODs but from what I can see the USDZExporter does override this to select only the highest LODs. The reason I am experimenting with this is that some of our models are quite complex in terms of topology and high in triangles/verticies. Any suggestions would be appreciated <:Prayge:806979414122299392>
USDZExporter LOD level
Not sure if this is the correct place to post this. Just started using Needle engine in Unity today and ran into an error setting up the local webserver.
If any of the following is inappropriate let me know.
After some of my limited troubleshooting (not a web dev) and digging through the FAQ and forums I turned to ChatGPT
Chat GPT informed me that the package.json file had a line of incorrect syntax
"vite": "<= 4.3.9",
instead of
"vite": "^ 4.3.9",```
changing that line and running the following powershell commands helped me fix it
```Remove-Item -Recurse -Force node_modules
Remove-Item -Force package-lock.json
npm cache clean --force
- changed syntax
npm start```
using Unity 6 LTS (6000.0.60.f1) and node install from the needle.tools site
Unity Server
hello again :–)) i have anotehr question that the bot in the forum couldnt answer that well. i deployed my bledner file to the cloud and want to link it from there into my html file. but i just cant seem to find the proper embedding link that gives me the opportunity to use it. the ai said that i need to publish it but where is that button? maybe iam blind :–(
Embedding Needle Engine App on Website
I tried running the samples from the needle site as VR experiences on quest 3s (for example the hotspot sample) but barely any of them work. Some crash on start and drop out back to home(the mobility visualization) or hang after initial load (the hotspot sample) Am I doing something wrong?
I used an up to date quest 3s and the browser that comes on this thing. I only tried experiences that are marked as XR
Hello, I am using needle to export to AR from Unity and I am trying to make it so that scale and rotation are locked while using AR.
I want to show off an object at one size, and one orientation, I have a script that makes the object stick to walls and face away. I want the user's only function to be moving the object around on their walls.
How would I go about removing the two touch scale and rotation features from AR while maintaining translation?
Hello, I'm considering using Needle Engine and I'm using WebXRImageTracking, but has the WebXRImageTracking StateChanged event handler been deprecated?
Is there any way to detect the StateChanged event?
AR touch transform
Samples on quest
WebXRImageTracking statechanged
Marcel, i promised not to tag you again, but i could use your help ... i published the WIP prototype of our project yesterday into the needle cloud and it seems to cause a hefty memory leak (out of memory message in Opera, Edge and Opera Mobile), crashing the browser tab after using it for a bit. the local version doesnt do that, or at least never did so far. (updated to the most recent Needle version before uploading) can i dm you the link?
Memory message
Hi I am trying to get the package "three-mesh-ui": "npm:@needle-tools/three-mesh-ui@^7.1.5-alpha.5" to get to work inside my project but I cant seem to get the intellisense and overall types working. It does work in terms of functionality like FontLibrary etc but VScode just refuses to recommend anything. I know Needle has UI components but we are trying to create some new from scratch alongside the existing ones. Any suggestions?
three-mesh-ui
<@272528485732450305> just curious if you saw my question here? No worries if your slammed.
Particle Collision
Hi, I’m working on an AR project in Unity and exporting it with Needle Engine. I need to add a button in my AR scene that recenters the model, but I haven’t been able to get it working. Could you help me with the correct way to set up a button for this in Needle? Thank you.
AR recentering
Hi I am working with several needle-engine elements inside our app and so far everything seems to be working ok with one issue. Each scene has a RemoteSkybox element which loads a skybox and uses it for environmental maps. However, sometimes when I delete one context the environmental texture (ktx2) gets disposed everywhere and suddenly none of the contexts have any env map. So far from I can tell this only happens only when the elements get created approximately at the same time. If you create them one by one and then delete any of them everything is fine. Might you have any suggestions which package/section of the code I could investigate to find out the issue?
Remote Skybox
Hi I am experiencing an issue with some objects when moved using DragControls as they jitter incredibly when the component is put on the same node as the Mesh but when put on a parent which has the Mesh node as a child it suddenly works. This issues happens only sometimes and do not know why. I have tried different drag modes and the keepRotation is set to true. It looks something like this:
Hi how can I tell from NEPointerEvent if the event came from a squeeze or a trigger in VR? I am trying to compare pointerId with controller.getPointerId("xr-standard-trigger") or controller.getPointerId("xr-standard-squeeze") but I keep getting undefined.
The button property has the index of the controller button that triggered the event.
Hi iam building AR Web mobile model viewer with UI buttons to open URL this works well on Android but for IOS can't open URL on AR mode just on web mode, I tried to exit AR first and open URL on leaveXR session this also works for andoid only not IOS, can I Open URL or Exit AR from IOS AR session by button click?, I read about Needle Go supports this can I apply for a beta version to use in my project? *Edit this is for Unity 6 Engine
Needle Go Beta Access
Hi I am experiencing an issue with DragControls and OrbitControls when used in Pico Neo 3 or Quest 3 in non immersive way. When I use only one of the controllers for dragging or orbiting around the target its fine but when I use both controller suddenly OrbitControl stops working the moment I drag with both controlls or just accidently press the other controller while dragging and doesnt accept any actions but it is still enabled. I have done some debugging and find that DragControls._active and DragControls.CurrentlySelected.lenght do not match so probably there is a dangling handler or something that blocks the events from being consumed. Is there any solution to this or am I just doing something wrong?
Hi I am experiencing an issue with
Hi I am experiencing an issue with Unity URP material. I assume the environmental or specular map is not working correctly is there anything I am doing incorrectly? I am on Unity 2022.3.43 and Needle 4.8.9.
URP with environment and specular
<@272528485732450305> regarding your appclip post. it's loading suuuper slow for me but this might be my crappy connection. and i need to install the needle go app for it to work even though it says "no installation"? huh.
What exactly is loading slow? It's likely just the connection. Are you using Telekom by any chance?
App clips don't need an installation. Do you have more details on your device / browser / flow?
cc <@519636239658385605>
just everything's loading super slowly. ~30s to first content maybe. yes, using telekom, good guess -- so what did they f up this time?
Do you happen to have cloudflare warp installed / can try with that on?
Telekom has fights with cloudflare and from time to time everything just crawls because Telekom routes all Cloudflare traffic via one crappy node on purpose 🙂↕️
I have that at home sometimes and warp fixes it
That being said, shouldn’t need to install anything, basically like in the video (with the app NOT installed)
wow, with warp it goes brrrrr. nice.
Haha glad to hear… and we’re looking into that too, not great if one of the big providers effectively blocks cloudflare… but no good solution yet
Can you try uninstalling the app again and check if it works then?
already did and it works now
now all the notifications just have to go 😉
so it's basically a hack where you "install" a lite version of needle go which is a webxr-enabled safari wrapper?
You mean the permissions dialogues? These fortunately only come once, globally (similar to WebXR on Android)
It’s an AppClip - a tiny app that doesn’t need to be installed. It’s like 1-2MB and cached on the device. And yes, under the hood it’s a WebKit webview with what I believe is a rather good WebXR implementation by now 🙂
no the "open here", "powered by". just a minor nuisance though
going back using the dropdown in the top right corner brings me back to a black (empty?) tab, is that correct?
and physics don't seem to work in the physics playground example
anyway, great addition. eager to try it out next week if that's already possible.
Can you try restarting it? It might be an issue with loading the lazy loading of physics module here in which case it should work when you start the appclip/xr session again. Would be good to know if that's it. (might be even fixed in the next appclip update too, we're just waiting for Apple to approve that)
It is available in the latest Needle Engine beta. We'll continue to rollout updates next week and fix issues that come up 🙂
Customization will be available with pro/enterprise licenses going forward (not available just yet but in future versions)
Hi there Im experiencing an issue that the ParticleSystems when exported in compressed mode I end up like this with these particles without any alfa from their texture. Is there any config to turn this off or am I doing something incorrectly? In uncompressed mode they look fine. Im on Needle Engine 4.8.9 and Unity 2022.3.43
<a:xar2EDM:1382594738821267537> Okay (A) Needle as a concept rocks.
(B) Anyone here familiar with AEM (Adobe Experience Manager)
I'm trying to find how I could link the Output from Unity -> Needle -> into something like AEM thats authorable or managable for designers
should link to this
thats it, peace
Adobe Experience Manager
Hi, I was reviewing Needle’s recent news about WebXR support for iOS. Could you please confirm whether screen-space UI buttons are now supported? If possible, also let me know how we can implement them
iOS WebXR & Screenspace UI
Hi I was curious can you animate properties of ParticleSystems through Animations?
Hi, I would like to know if I can get the camera intrinsic data in the android webxr and iOS webxr? I attached a screenshot for the data I need.
Hi Needle Team,
I am currently considering using Needle Engine to export shaders using MaterialX from Unity.
I visited the MaterialX sample on your official website, but it doesn't seem to be displaying correctly in my browser. Are there any specific browser settings or requirements needed to view MaterialX content?
I've attached a screenshot of the browser console error I'm seeing on the sample page. Any advice would be appreciated!
P.S. Sorry if my English sounds a bit off, I am using machine translation to write this.
MaterialX sample
Updating Needle in Unity fails, suggestions?
Hi, could you try again please?
Solved! Thank you! <:CE_Smile2:862068945993728050>
Thanks for letting us know. Should never happen but somehow this slipped through - I'm very sorry about that
hey, I posted a question on the needle-forums due to needle not being able to locate node that was being installed via homebrew. Is there any solution to this? https://forum.needle.tools/t/needle-engine-unity-package-cant-locate-node-macos-homebrew/2767/2
homebrew
Hello someone now how i can link my HDRI to the background colors in Blender ?
Blender HDRi