I am trying to learn WebGL and want to use the library three.js
.
Here are the examples that are using three.js
.
The example geometry/ text/shapes -which opens when you use the link above, shows the text three.js simple text. and you can download the source code for all the examples in the bottom right corner.
I did that and opened the same example (webgl_geometry_text_shapes.html
) on my PC and it shows the same page, but without the Text.
When I inspect the page it says
three.js:32090 Failed to load file:///C:/grubera/Web-Programmierung/three.js-master/examples/fonts/helvetiker_regular.typeface.json: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.
U can see that in the image below, too!
Does anyone know how can I fix this issue? I am completely new to HTML
, JavaScript
, and the whole web Programming stuff!
I hope someone here can help me.