Comments (4)
I has a similar issue, This may be a similar to #125
As of v8+ you may need to specify you want to use this component in the head.
<head>
<component name='Rectangle2D' level='1'/>
</head>
??maybe?
Or increase the profile in the x3d tag:
<X3D profile='Interactive' version='4.0'>
change to ...
<X3D profile='Full' version='4.0'>
Profile 'Full' should support Geometry2D https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/fullProfile.html#t-ComponentsAndLevels
Profile 'Interactive' does not: https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/interactive.html#t-ComponentsAndLevels
I think this is because by default X_ITE does not load all components now to reduce size/traffic.
I could be wrong but maybe this helps...
from x_ite.
Nodes are grouped in components and components are grouped in profiles. You can look here https://create3000.github.io/x_ite/supported-nodes to see to which component a node belongs. If you use a node you must ensure that you have proper component and profile statements. For VRML syntax it would be
#X3D V4.0 utf8
PROFILE Interchange
COMPONENT Geometry2D : 2
Good profiles are 'Interchange', 'Interactive' and 'Immersive' they include a lot of components. See https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/profileIndex.html. If you don't care for traffic you can use profile 'Full'.
from x_ite.
When using the VRML syntax it is important to provide a proper header statement with version other than 2.0 (first VRML version). Current X3D version is 4.0, which includes all nodes. If you set the version to 2.0 then only the components needed for running VRML2.0 are loaded (automatically).
#X3D V4.0 utf8
If you omit a profile statement profile 'Full' is assumed (or VRML2.0 as mentioned above).
from x_ite.
thanks very much create3000 and jamesleesaunders,i understand。to use VRML format in x_ite-8.3.0 “#X3D V4.0 utf8” must on file head。
from x_ite.
Related Issues (20)
- loading time is too long HOT 3
- How does x3d Canvas display toolbars to control views? HOT 2
- site using tested version stopped working HOT 1
- Invalid asm.js: Invalid member of stdlib HOT 2
- navigation keys intermittently not working on 8.1.0 HOT 1
- x_ite does not work on iPad Safari (IOS 14.4) HOT 6
- XML Parser Error: Unknown node type 'TEXT', you probably have insufficient component/profile statements. HOT 6
- add x_ite-dom tests HOT 20
- Feature Request: Torus Component HOT 24
- Playground color scheme hard to read HOT 3
- Dispatch DOM load event after scene is completely loaded HOT 6
- x3d-canvas xmlns attribute handling HOT 3
- Animated GIF aren't animated HOT 4
- [enhancement] Inline SVG support HOT 6
- Assignment to a constant (trackPoint) HOT 2
- Use optional url parameter for playground HOT 13
- Zoom out when rendered the 3D image in extension .wrl HOT 10
- Error with createVrmlFromString in version 8.7.7 HOT 5
- MetadataSet proto causing failure to load on previously (recently) working world HOT 3
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.