ritwickdey / vscode-live-server

Launch a development local Server with live reload feature for static & dynamic pages.
https://ritwickdey.github.io/vscode-live-server
MIT License
5.74k stars 1.26k forks source link

p5js sketch in WEBGL not loading when OBJ imported #2055

Open Vvs20 opened 3 years ago

Vvs20 commented 3 years ago

Hello , I have the following issue: Whenever I make a p5js WEBGL sketch in Vscode and i import an obj file and click GoLive the sketch never loads. I thought that the obj files were too large but when i checked they are all around 4-5 MB.I dont have any other problems and when i havent imported an obj in the sketch ,WEBGL sketches load perfectly and my computer does support WEBGL. I am new to programming and a feedback on what might be the problem would be great, Thank you in advance!

adebiyial commented 3 years ago

What is the extension of the file you're trying to load?

Vvs20 commented 3 years ago

What is the extension of the file you're trying to load?

.js

adebiyial commented 3 years ago

I believe this extension only works for HTML files.