How can I convert 'drawmode' form triangle to quad?

I only found toTrianglesDrawMode in doc to switch different TriangleDrawMode. However, I want to convert to quad mode, just like common features of others such as 3dmax?

Quad rendering isn’t supported.

3 Likes

While it isn’t officially supported, you can still create your own solution.

See the ToQuads funxion in this demo.

4 Likes

The ‘quad’ keyword always triggers my attention, as there’s still unfinished business regarding this issue: https://discourse.threejs.org/t/mapping-fidelity-in-quadrilateral-triangle-rendering/31033

The way I understand @prisoner849 's code is, that it is - while nice in its own right - only a very partial implementation of quad rendering. Because it uses a 2d context, doesn’t support hidden line removal nor bilinear texturing or even reflection mapping … :wink:

@prisoner849 : Any plans, or even progress on that front in sight?

Nope :thinking:

But I made this: Dodecahedra [three.js + canvas-2d]

2 Likes