#🗨-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)

License Check 11 msgsWebflow 9 msgsHi, there's a LookAt component that can 1 msgsImage Tracking 2 msgsNeedle Analytics 2 msgsGitHub actions to other deployment providers 2 msgsFeedback on Everywhere Actions 13 msgsHi, could you open a post in https:// 10 msgsNext issue 3 msgsUnity Toggle 2 msgsPersistent state 4 msgsBlender async 2 msgsNextjs 3 msgsBlender deployement 48 msgsTimeline Doubts 5 msgsUnity or Blender 5 msgsNeedle Engine 5 msgsImport settings 11 msgsLicense after subscription ended 3 msgsFailed to bake lightmap 9 msgspuerts 6 msgsSun Orbiting 4 msgsCurved image tracking 3 msgsUnity Github Collab 5 msgsAR Lecture App - Richard Martina 33 msgsBody Tracking 3 msgsGames 2 msgsUnity help 41 msgsAI 2 msgsApi docs 7 msgsPositioning in AR 6 msgsDeploy on GithubActions 13 msgsBugreport 3 msgsDragControls multitouch 4 msgsXRRig match camera 8 msgsHi Folks, am i allowed to ask a Needle 18 msgsBatch Export Selection 2 msgsScroll+Orbit 10 msgsglTF custom extension 7 msgsThree JS Editor 3 msgsTimeline LookAt 3 msgsPlastic SCM 14 msgsLogin 21 msgsAR placement 53 msgsSkybox and Environment Intensity 4 msgsAR touch transform 2 msgsNpm Def Local Path 6 msgsUnity Server 13 msgsthree-mesh-ui 4 msgsSamples on quest 9 msgsMemory message 3 msgsWebXRImageTracking statechanged 5 msgsgltf-progressive 38 msgsAR recentering 2 msgsParticle Collision 4 msgsUSDZExporter LOD level 11 msgsEverywhere Actions Alpha Fade 13 msgsEmbedding Needle Engine App on Website 5 msgsNeedle Go Beta Access 4 msgsDragControls Jitter 10 msgsRemote Skybox 4 msgsURP with environment and specular 12 msgsHi I am experiencing an issue with 5 msgsParticle Systems Alfa Channel 7 msgsParticlesystem animations 4 msgsAdobe Experience Manager 6 msgsDocs - dead link 4 msgsiOS WebXR & Screenspace UI 15 msgsCamera intrinsics 5 msgsMaterialX sample 18 msgshomebrew 7 msgsBlender HDRi 6 msgs
marwi123

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.

K

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

maryiia.

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!

hybridherbst

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

ismar900

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?

H

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

🧵 Everywhere Actions Alpha Fade 13 msgs
gilderko

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 11 msgs
.nielsen

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```
🧵 Unity Server 13 msgs
maryiia.

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 5 msgs
tem6061

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?

🧵 Samples on quest 9 msgs
tem6061

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

samuraispoon

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?

🧵 AR touch transform 2 msgs
aeleks

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 3 msgs
gilderko

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 4 msgs
lastdragoncb

<@272528485732450305> just curious if you saw my question here? No worries if your slammed.

H

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 2 msgs
gilderko

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 4 msgs
gilderko

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:

🧵 DragControls Jitter 10 msgs
gilderko

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.

marwi123

The button property has the index of the controller button that triggered the event.

Z

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 4 msgs
gilderko

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 5 msgs
krizzl0r

<@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.

marwi123

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>

krizzl0r

just everything's loading super slowly. ~30s to first content maybe. yes, using telekom, good guess -- so what did they f up this time?

hybridherbst

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 🙂‍↕️

hybridherbst

That being said, shouldn’t need to install anything, basically like in the video (with the app NOT installed)

hybridherbst

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

krizzl0r

so it's basically a hack where you "install" a lite version of needle go which is a webxr-enabled safari wrapper?

hybridherbst

You mean the permissions dialogues? These fortunately only come once, globally (similar to WebXR on Android)

hybridherbst

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 🙂

krizzl0r

going back using the dropdown in the top right corner brings me back to a black (empty?) tab, is that correct?

marwi123

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)

marwi123

It is available in the latest Needle Engine beta. We'll continue to rollout updates next week and fix issues that come up 🙂

marwi123

Customization will be available with pro/enterprise licenses going forward (not available just yet but in future versions)

gilderko

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

🧵 Particle Systems Alfa Channel 7 msgs
osiem

<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

🧵 Adobe Experience Manager 6 msgs
F

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 18 msgs
marwi123

Thanks for letting us know. Should never happen but somehow this slipped through - I'm very sorry about that