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

Draw Straight “line” In Canvas By Modifying Properties In Three.js

I have created a fiddle which shows the guidelines for length and Diameter for Cylinder I was able… Read more Draw Straight “line” In Canvas By Modifying Properties In Three.js

Zooming Camera In Threejs Without Trackball Controls Or Other Camera Control Library

I'm trying to use threeJS to control a camera in my scene. I currently have the camera set up t… Read more Zooming Camera In Threejs Without Trackball Controls Or Other Camera Control Library

How Can I Change The Initial Position Of My Geometry In Three.js?

I would like to change the initial position where my geometry appears; Right now it appears in the … Read more How Can I Change The Initial Position Of My Geometry In Three.js?

Translate A Vector From Global Space To Local Vector In Three.js

With a rotated object in my scene, how can I translate a global vector into the local space of that… Read more Translate A Vector From Global Space To Local Vector In Three.js

Three.js Canvasrender Problems: Faces Flicker In And Out

I am drawing two relative simple shapes and the geometry of them do not overlap. Here is the code s… Read more Three.js Canvasrender Problems: Faces Flicker In And Out

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

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