bgstaal / multipleWindow3dScene

A quick example of how one can "synchronize" a 3d scene across multiple windows using three.js and localStorage
MIT License
16.44k stars 2.56k forks source link

It shows as cubes, not as sphere. how to fix it? #17

Open realspark808 opened 8 months ago

realspark808 commented 8 months ago

Starting up http-server, serving ./

http-server version: 14.1.1

http-server settings: CORS: disabled Cache: 3600 seconds Connection Timeout: 120 seconds Directory Listings: visible AutoIndex: visible Serve GZIP Files: false Serve Brotli Files: false Default File Extension: none

Available on: http://127.0.0.1:8080 http://172.31.196.87:8080 Hit CTRL-C to stop the server

[2023-11-26T11:55:38.646Z] "GET /" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36" (node:375) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated (Use node --trace-deprecation ... to show where the warning was created) [2023-11-26T11:55:39.144Z] "GET /three.r124.min.js" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36" [2023-11-26T11:55:39.162Z] "GET /main.js" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36" [2023-11-26T11:55:40.009Z] "GET /WindowManager.js" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36" [2023-11-26T11:55:49.924Z] "GET /" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36" [2023-11-26T11:55:50.115Z] "GET /three.r124.min.js" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36" [2023-11-26T11:55:50.367Z] "GET /main.js" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36" [2023-11-26T11:55:50.742Z] "GET /WindowManager.js" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36" [2023-11-26T11:55:50.926Z] "GET /favicon.ico" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36" [2023-11-26T11:55:50.929Z] "GET /favicon.ico" Error (404): "Not found" [2023-11-26T11:56:04.475Z] "GET /" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36" [2023-11-26T11:56:04.808Z] "GET /three.r124.min.js" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36" [2023-11-26T11:56:04.908Z] "GET /main.js" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36" [2023-11-26T11:56:05.956Z] "GET /WindowManager.js" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36" [2023-11-26T11:56:06.154Z] "GET /favicon.ico" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36" [2023-11-26T11:56:06.158Z] "GET /favicon.ico" Error (404): "Not found" [2023-11-26T11:57:39.339Z] "GET /favicon.ico" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36" [2023-11-26T11:57:39.340Z] "GET /favicon.ico" Error (404): "Not found"

ayush-india commented 8 months ago

Upgrade your old pc

realspark808 commented 8 months ago

Upgrade your old pc

my pc has ryzen 7 3800x, 32 gb ram, and rx5700 xt bruh

harrivh commented 8 months ago

+1, experiencing the same issue

harrivh commented 8 months ago

image

liudonghua123 commented 8 months ago

Same problem.

image

liudonghua123 commented 8 months ago

I opened a new browser window. It seems working now.

image

image

harrivh commented 8 months ago

Resolved: the guy wants to keep the actual code to himself for now, this is stripped down version.

Spent 2 hours troubleshooting 😭😭😭

Kubat555 commented 8 months ago

Resolved: the guy wants to keep the actual code to himself for now, this is stripped down version.

Spent 2 hours troubleshooting 😭😭😭

Does your project work like in video? Can you share me please? πŸ™πŸ™πŸ™

Zeus2300 commented 7 months ago

the original code is a Cube, the viral one on IG or any other social media is in ball or sphere shape. my thought is it was being change a little, try to contact to the content creator of the video and ask what kinda modification that he does, or just ask for his/her code that already been modificated