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

Three.js Merging Meshes But Keeping Separate Materials

I am working on a visualization project based through a web server and I have it working and lookin… Read more Three.js Merging Meshes But Keeping Separate Materials

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

I'm Doing Something Wrong With Spotlights And Shadows In Three.js

I have a really simple scene which has one .dae mesh in it, and a 7000*7000 plane underneath the me… Read more I'm Doing Something Wrong With Spotlights And Shadows In Three.js

Css3 Converting Matrix3d Values

I want to know how to get the rotateX and rotateY values of a matrix3d such as this: matrix3d(0.999… Read more Css3 Converting Matrix3d Values

How Do I Create A 3d Polygon From A Series Of 3d Points In Three.js?

I wonder what would be the best way to generate a custom 3D polygon given an array of 3D points in … Read more How Do I Create A 3d Polygon From A Series Of 3d Points In Three.js?

Threejs - 2d Pixels To 3d Coordinates Conversion

I am trying to render a cube created in ThreeJS onto a HTML canvas at a particular position. I have… Read more Threejs - 2d Pixels To 3d Coordinates Conversion

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)?

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

Sprite Scaling Causes Incorrect Positioning And Rotation In Three.js

I'm trying to create a sprite with text. I'm not using TextGeometry for performance reasons… Read more Sprite Scaling Causes Incorrect Positioning And Rotation In Three.js