Comments (8)
i took a look (just another user) and checking the console output....
Couldn't load URL 'http://lhodges.users37.interdns.co.uk/me/xcard2/musician.wrl':
********************************************************************************
Parser error at line 40:7
in 'http://lhodges.users37.interdns.co.uk/me/xcard2/musician.wrl'
level [
^
Unknown field 'level' in class 'LOD'.
********************************************************************************
x_ite.min.js:20:18440
Couldn't load URL 'http://lhodges.users37.interdns.co.uk/me/xcard2/ground.wrl':
********************************************************************************
Parser error at line 11:7
in 'http://lhodges.users37.interdns.co.uk/me/xcard2/ground.wrl'
level [
^
Unknown field 'level' in class 'LOD'.
********************************************************************************
seems the files aren't loaded because the 'level' field of LOD isn't recognised.
this has to be the result of the fields' name being changed, to 'children' between V2 (vrml) and V3 (x3d), but 'level' should be supported in a vrml2 file, so it is a bug.
i would guess you could cure, now, by changing the field name. (and ideally change the header in the files where the name was changed to have a header '#X3D V3.0 utf8')
Alternatively;
because LOD is an optimisation and given the advances in computer rendering, any vrml2 world isn't going to noticeably benefit, that is, the world will almost certainly render fine with just the highest level of the Level Of Detail's, so they could just be removed. (replaced with just what is inside the first level.)
from x_ite.
Your file begins with the following header statement:
#VRML V2.0 utf8 musician.wrl V0.1
There is a 'tab' character after 'utf8' which is not recognized by the parser, change it to a 'space' character and it will work. I have also changed the parser, thus it will work in further versions of X_ITE.
You can get additional debug information when you go over an empty space of the web page and select 'Inspect Element' from the menu, then click on 'Console'. The Console shows additional debug information.
from x_ite.
Note: you have used LOD's without a range field, ie. it depends on the performance of the browser which level is displayed. Reading the spec:
An empty range field is an exception to this rule. This case is a hint to the browser that it may choose a level automatically to maintain a constant display rate.
from x_ite.
Thank you both. I have looked your suggestions and acted on some of them. I have the model working reasonably in Chrome. Difficulties in testing arise from caching, which acts confusingly by loading old file versions when a new version has been provided. In Chrome I was able to get round this by loading a New Incognito Window . Having cleared the cache and allowed music to auto start it now works also in Firefox. The limitations are now in my model, rather than in the interactions with servers and browsers. It is twenty years since I wrote this and I have forgotten most of the code and the logic behind it. I have only come back to it when trying to repair the holes in my old, outdated website.
from x_ite.
Difficulties in testing arise from caching, which acts confusingly by loading old file versions when a new version has been provided.
page refresh; keyboard shortcut "F5" or "Ctrl+F5" to bypass cache.
from x_ite.
Thanks for that.
In Chrome, I found: Settings | Advanced | Privacy and security | Clear browsing data, Check Cached images and files | Clear data
Well buried!
In Firefox: in top right menu: Options | Privacy and Security | Cookies and Site Data | Clear Data. Check Cached Web Content and uncheck Cookies and Site Data | Clear.
from x_ite.
There is an 'Empty Cache' extension for Firefox https://addons.mozilla.org/en-US/firefox/addon/empty-cache-button/ maybe there is something similar for Chrome.
from x_ite.
Thank you. I have added it. And, there IS something similar for Chrome:
https://chrome.google.com/webstore/detail/clear-cache-shortcut/jnajhcakejgchhbjlchkfmdidgjefleg/related?hl=en
from x_ite.
Related Issues (20)
- Issue with model in X3D archives HOT 2
- Can't use x_ite from inside a Firefox extension; can ResizeSensor.js be pruned? HOT 9
- Scientific data visualization HOT 6
- Weird shader effects, missing images, possibly due to reconfiguring Firewall, hostname, DNS servers HOT 1
- Custom elements issue with x_ite.mjs in Microsoft Edge? HOT 3
- npx sunrize [files] HOT 5
- X_ITE React implementation questions HOT 5
- "aspectRatio" not supported? HOT 4
- Despite no errors on the console, X_ITE shows no graphics HOT 10
- Use RENDERER on Firefox HOT 1
- ExternProtoDeclare not downloading? X3D checks in X3D-Edit. HOT 3
- Mono Sound plays only over left speaker HOT 3
- How to start X_ITE in a browser window in fullscreen mode HOT 3
- "Better" webpack.config.js, for Git Bash under Windows 10 HOT 5
- Replace webpack "string-replace-webpack-plugin" or provide dependency overrides in package.json HOT 2
- Adding a new node HOT 13
- Filling up an empty scene with Javascript HOT 8
- IndexedFaceSet solid false and alpha HOT 1
- EnvironmentLight has no effect (noob question number 3) HOT 3
- Unknown node type 'ProtoDeclare' 'ProtoBody' 'InstancedShape' HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from x_ite.