Three.js: Why THREE.Line can't be merged with THREE.Mesh ?

Created on 26 Jul 2018  路  1Comment  路  Source: mrdoob/three.js

Hello,

I saw in an old thread that we can't merge THREE.Line with THREE.Mesh but can I ask why? when I add a lot of lines into my application it will cause performance issue and that's why I need to merge them with the mesh. Any possibility of fixing that in the next updates?

Question

Most helpful comment

I don't think this is possible because the way they are rendered are different. THREE.Mesh uses gl.TRIANGLES as the draw mode whereas THREE.Line uses gl.LINES.

>All comments

I don't think this is possible because the way they are rendered are different. THREE.Mesh uses gl.TRIANGLES as the draw mode whereas THREE.Line uses gl.LINES.

Was this page helpful?
1 / 5 - 1 ratings

Related issues

Horray picture Horray  路  3Comments

jlaquinte picture jlaquinte  路  3Comments

filharvey picture filharvey  路  3Comments

danieljack picture danieljack  路  3Comments

donmccurdy picture donmccurdy  路  3Comments