D
D
Dmitry2016-02-23 01:26:18
three.js
Dmitry, 2016-02-23 01:26:18

Three.js - how to make a mirror so that one mesh reflects another?

Is this somehow possible to register in the json file of the model?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
K
Khangeldy Ilebaev, 2016-03-06
@mahabatuly

Look at the source

P
Push Pull, 2014-11-14
@fryette

here is one of the links of the codepen
article, take it and use it, you don’t lose anything, and everything will work

A
andreloster, 2014-11-14
@andreloster

There are sorts at the end of the article, take them and use them!

D
Dmitry Klusevich, 2014-11-14
@dimka-dooz

the code emulates the behavior of input. Without js, there is no sensible, cross-browser solution. Here fileApi is used, the thing is relatively new. I would advise doing jquery + css, there is a more compact solution. True, without native js. the algorithm is simple 1. Let's change the input to a pseudo-element. 2. By clicking the pseudo-element, we process the input event 3. display the result (path to the file), if necessary.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question