V
V
Vsevolod Zhdanov2014-07-07 22:38:13
Canvas
Vsevolod Zhdanov, 2014-07-07 22:38:13

How to write an interface that runs on top of three.js?

Hello! Here is let's say I have a scene on threejs. In the case of games, how to draw a menu on top, information about the player's parameters, sights and others that are available in games. Can this be done somehow using Canvas? But won't it overlap with openGL?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey, 2014-07-07
@jobsstar

sculpt the GUI (on a 2D canvas) as a separate layer on top of the 3D canvas and that's it.

A
Alexander Taratin, 2014-07-07
@Taraflex

In any demo on threejs there are interface parts, you can easily see. No, they will not overlap. You can use normal html elements.

V
Vsevolod Zhdanov, 2014-07-07
@jobsstar

but will it close the 3D canvas by itself?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question