A
A
Azat2017-05-01 18:54:24
JavaScript
Azat, 2017-05-01 18:54:24

How to display a three.js scene in an iframe using asp net mvc?

On the official threejs.org website, the examples are displayed in an iframe element. You need to do the same. I created a view with a side menu, in which I call a method in the controller using Ajax through the button, which returns a partial view. In this partial view, I pasted a simple example from the threejs site. I insert this partial view into the iframe element, but when viewed through the console, the code does not display the script that generates the scene, 3d objects, etc., i.e. just showing empty html and body

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question