T
T
tenaro2022-02-13 22:11:56
JavaScript
tenaro, 2022-02-13 22:11:56

Three.js / what is the best way to implement a 2d scene with a mesh background that can be zoomed and moved?

I want to make a 2D scene, with the ability to drag and drop elements over it
, the scene has a classic background in the form of a grid,
because the movement around the scene will occur through the movement and zoom of the camera, the question arose of how best to implement this background so that it is full screen and does not move regarding internal elements,

to make an additional element in the forehead for this and constantly recalculate its dimensions, positioning and scaling seems to be a very bad decision

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question