Relative Content

Tag Archive for javascriptthree.js

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:

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.

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