Comments (6)
Ahh, this is only an issue when I have profile=Interactive. If I go to Full it does not error about TEXT node type.
Should this happen?
(I switches to Interactive to stop the Tesxture3d.js asm warnings)
from x_ite.
Because it is now possible and because the Text component is a littler larger I made an external component of it and it is only loaded on demand now.
This means for you the Interactive profile does not include the Text component and therefor you should add it manually if needed. X3D nodes are grouped in components and components are grouped in profiles. To add a component to your X3D world use the following example code.
<X3D profile='Interactive' version='4.0'>
<head>
<component name='Text' level='1'/>
</head>
...
Specification with list of components:
https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/Architecture.html
You should use a profile you like, and add the missing components from which you use nodes. There can be as many component elements as you need.
from x_ite.
I now could get rid of the Texture3D.js asm warnings. But I really want to encourage you to use the right component/profile statements.
from x_ite.
Brill Thanks again!
I have added head + component = Text and this appears to be all good. 😄
I see now from the Interactive profile that Text is not listed in the Components and levels section:
https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/interactive.html
So I now understand why you removed it.
Sorry I have raised a few bugs recently - It feels like I am turning into your #1 tester! .. I have learn lots along the way also!
I have also make sure adding this head + component works with x3dom as I am keen to keep d3-x3d agnostic and work on both x3dom and x_ite).
from x_ite.
Don't bother to submit bug reports. Every issue is welcome.
Component/profile statement are integral part of X3D and therefor well specified.
Have a look at the Web3D.org examples archive, all examples have component/profile statements, and can be tests either in X3DOM or in X_ITE.
https://www.web3d.org/x3d/content/examples/Basic/
from x_ite.
Brill Thanks again! I have added head + component = Text and this appears to be all good. smile
I see now from the Interactive profile that Text is not listed in the Components and levels section: https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/interactive.html So I now understand why you removed it.
Sorry I have raised a few bugs recently - It feels like I am turning into your #1 tester! .. I have learn lots along the way also!
I have also make sure adding this head + component works with x3dom as I am keen to keep d3-x3d agnostic and work on both x3dom and x_ite).
x3dom ignores profiles and component statements to keep things simple and avoid traffic.
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.