Skip to content Skip to sidebar Skip to footer
Showing posts with the label 3d

How To Draw Walls In Threejs From Path Or 2d Array?

I need to draw a 3d house model (walls only) from a 2d path or array (explained later) I receive fr… Read more How To Draw Walls In Threejs From Path Or 2d Array?

Custom Shapes In Three.js

In my project the shapes I created were spheres and I used an image as texture for material... How … Read more Custom Shapes In Three.js

Convert .obj To .js Files

I have gone through different three.js examples. Some of the examples uses .js or .bin files instea… Read more Convert .obj To .js Files

Threejs: Rotate Sphere(globe) To Another Point(city) On The Sphere Itself

I'm building a globe(sphere geometry) with set of predefined locations on geo-mapped and drawn … Read more Threejs: Rotate Sphere(globe) To Another Point(city) On The Sphere Itself

Figuring Out How Much Of The Side Of A Cube Is Visible

I have a simple Three.js scene with a camera that orbits around a cube, always looking directly at … Read more Figuring Out How Much Of The Side Of A Cube Is Visible

3d Rotation With Axis & Angle

I know 3D rotation is well documented on SO and many other sites, but despite reading countless exp… Read more 3d Rotation With Axis & Angle

How Can You Find The Coordinates Between Two Given Points On A Straight Line(JavaScript)?

I want to get all the x,y,z coordinates between 2 given points, on a straight line. I need to be ab… Read more How Can You Find The Coordinates Between Two Given Points On A Straight Line(JavaScript)?