Загрузка...

Edge geometry with line segments as wireframe alterative - threejs demo

This is a quick video I made for my blog post on wire frame mode in threejs. When it comes to mesh materials there is just simply setting the wireframe option to true, and that is it. However there are a few issues that might come up, for one thing setting line width to a size other than 1 might not work on all platforms. Also the look of the wire frame might not be what one might want which will case one to look into what some other options are for wire frames. In this video I am using edge geometry to create a new geometry form a box geometry. I am then adding some vertex colors to the edge geometry and using the geometry with an instance of THREE.LineSegements rather that that of THREE.Mesh. THE POST: https://dustinpfister.github.io/2019/12/19/threejs-wireframe/ GITHUB: Source code examples in the post https://github.com/dustinpfister/test_threejs/tree/master/views/forpost/threejs-wireframe This video was made with my electionjs app called videoground. https://github.com/dustinpfister/videoground The source for the video that I used with videoground is in my videoground-blog-posts repo https://github.com/dustinpfister/videoground-blog-posts/tree/master/videos/threejs-wireframe

Видео Edge geometry with line segments as wireframe alterative - threejs demo автора Фрилансер по JavaScript
Страницу в закладки Мои закладки
Все заметки Новая заметка Страницу в заметки