Rendering millions of voxels using three-dimensional textures using three .js

I use three.js to render the voxels as a set of triangles. I have it to make 5 million triangles conveniently, but that seems to be the limit. You can view it online here .

Select the Dublin model in Resolution 3 to see many triangles.

screenshot

I used every trick to get it so far (buffer geometry, voxel selection, multiple buffers), but I think that it has reached the maximum amount that openGL triangles can reach.

3D-, , , 2d- 3D-, , , .

, , . - three.js

+6
1

, SSAO . WEBGL_depth_texture - - . low-perf-double-pass, .

. , .

MeshPhongMaterial . . , . .

, , , :

+6

Source: https://habr.com/ru/post/1016215/


All Articles