Hello, i hope all of you are fine. my question is that I have build the 3d model in blender and show those model in three.js. But now the requirements are change and we want to show in the 2d in three.js. How to do that if anyone know please reply that. If this change from blender or a three.js the actual question.
What do you mean by “show 2D in three.js” ? Technically speaking, any frame rendering will be 2D.
I want to show it in 2d so we change the model in blender or just change the three.js code? Because I am a new beginner.
But what do you mean by “show in 2D” ? Could you share an example?
only show the picture that i share above not rotate just fixed it and we want to fix the front . when the model load the direction of sink is left side in the three.js
If you call renderer.render()
only once, that will render only a single 2D frame (no need for requestAnimationFrame
or .setAnimationLoop
loops.)
If you’d like to keep the loop, for color changes etc. but just disable the interactions - remove OrbitControls (or any other controls for that matter) entirely, that’ll keep the camera static.
ok is this method work. I mean I wan to show only left and front side of model and disallow the user to rotate and see another side.