V
V
Vsevolod Zhdanov2014-07-11 14:49:15
JavaScript
Vsevolod Zhdanov, 2014-07-11 14:49:15

How to quickly display a map in three.js?

Let's imagine that I want to make a map like in Doom 1. I can make walls out of cubes and put a texture on them - it's simple. Will there be a load on the map due to cubes that are not visible due to others? So a wall that is covered by another wall will be drawn or not? I can display 500 visible cubes on my computer at once and the computer is already slowing down. What to do? How to quickly display a map in three.js?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
lookid, 2014-07-11
@jobsstar

BSP trees are written by hand.
www.gamedev.ru/code/articles/BSP
stackoverflow.com/questions/14792262/does-anyone-h...
blog.jaxgl.com/2011/08/bsp-trees-in-javascript-and...
lmgtfy .com/?q=bsp+tree+three.js

A
Alexander Taratin, 2014-07-11
@Taraflex

The link I gave in How to create a cube map in three.js like in minecraft? Does that mean you haven't studied it yet? Two for you.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question