Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tried to run the BIMsurfer2 under IIS server #5

Open
webdada opened this issue Dec 11, 2020 · 1 comment
Open

Tried to run the BIMsurfer2 under IIS server #5

webdada opened this issue Dec 11, 2020 · 1 comment

Comments

@webdada
Copy link

webdada commented Dec 11, 2020

Interesting, the following files do not exist on the file folder:
../bimsurfer/src/threeViewer/three.js
etc.

<script type="text/javascript" src="../bimsurfer/src/threeViewer/three.js"></script>
<script type="text/javascript" src="../bimsurfer/src/threeViewer/OrbitControls.js"></script>
<script type="text/javascript" src="../bimsurfer/src/threeViewer/GLTFLoader.js"></script>

So I am not sure if anyone were able to run the gltf.html file on a web browser.
http://localhost/examples/gltf.html

I got can not find three.js file javascript error. Now even after I copied the three.js and other js files from ../bimsurfer/lib folder over to ../bimsurfer/src/threeViewer folder, I still get "Three not defined"
error.

OrbitControls.js:16 Uncaught ReferenceError: THREE is not defined
at OrbitControls.js:16
(anonymous) @ OrbitControls.js:16
GLTFLoader.js:9 Uncaught ReferenceError: THREE is not defined
at GLTFLoader.js:9

@aothms
Copy link
Member

aothms commented Dec 20, 2020

Ok, I guess that's an error in the repository. These files where recently move to the lib/ folder (where they should be). https://github.com/AECgeeks/BIMsurfer2/tree/master/bimsurfer/lib Will you send in a Pull Request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants