Integration of a 3d Render with a web socket

I’m working on a project that involves a 3D render of a building. The model will include the positions of lights, which will be triggered using the state of those lights through web sockets.

This is my first time working with Three.js and 3D renders. Is it possible to have the positions of the lights in the model itself, so I can append Three.js light objects to them? I’m completely lost and don’t know how this works.

1 Like

Ofc, you can just append point lights in code based on IDs / names / userData stored in the model file.

1 Like

Hey thanks for the reply!

It’s for my organization, we haven’t come up with the 3d render yet, we are planning to make it from scratch, is there something I need to tell the 3d designer before we proceed?