Getting an error hooking up enable3d to a threejs project
I’m trying to setup a project that will be using both threejs and enable3d. I’m NOT using nodejs. I just want to set it up as a standalone website that includes all of the js files and so on. I’ve downloaded js files for threejs and enable3d. I followed the docs for both. I have no issues getting threejs to work, but I can’t seem to successfully add enable3d physics to it.
Unable to Load HDRI image as environment with Three.js
I’m new to Three and am currently working on a project where I want to use an HDRI file for environment mapping for lighting and reflections purposes. I’ve been trying to load HDRI files using HDRCubeTextureLoader
and RGBELoader
, but I can’t seem to get it to work. Specifically, I am getting a “bad file format” error in the Chrome console:
Is there a method to update the camera position in an XR session? I’ve been attempting to do this using three.JS, but it isn’t working
my code is
what can cause culled verticies in threejs?
I have recently encountered a weird problem with three js.
In some situations it is not rendering all verticies (shown in the image below).
Can you colorize the texture of a MeshBasicMaterial white?
Just like you’d set the color of a material to red and it colorizes the material’s texture to red. Is it possible to colorize to complete white? Since applying white as the color is the default to show the texture – I wanted to know if this was possible another way or if the only way is a custom shader.
Can`t add model
Can’t add headphones file, but another 2 work well
Why does it redraw all the figures and not just one? Three.js
need to redraw one figure, not all
need to redraw one figure, not all
need to redraw one figure, not all
need to redraw one figure, not all
need to redraw one figure, not all
need to redraw one figure, not all
need to redraw one figure, not all
need to redraw one figure, not all
need to redraw one figure, not all
need to redraw one figure, not all
need to redraw one figure, not all
need to redraw one figure, not all
need to redraw one figure, not all
Why does it redraw all the figures and not just one?
need to redraw one figure, not all
Cannot read properties of undefined (reading ‘up’) at CubeCamera.updateCoordinateSystem
It has been a few years since I had a look at this three.js
project of mine (back when one typed out the full name PlaneBufferGeometry
). It contains a number of vehicles that should reflect the environment around them through CubeCamera
s. However, when I activate this option I get the following error:
My camera can follow the character but it can’t orbit around the character. Everytime I try to rotate the camera, it will keep snapping back
I want to make the camera able to orbit around the character, as well as follow the character as it walks. It can follow the character, but it locks up the rotation for the mouse. Everytime I try to use the mouse to orbit around the character, it snaps back to where the camera is set and looking at, making it unable to rotate.