Closed splace closed 5 years ago
example.zip Works for me, tested in Edge, Firefox and Chrome.
Please consider to use a web server for Edge and Chrome, they do not serve the file:// protocol. Firefox should work fine in every case.
Sorry, odd coincidence and me being slow, it turns out to be nothing to do with protos/files etc.
its simply when you have an extra 'redundant' comma at the end of a an MFVec3f, in this case for an IFS's coordinates.
(in the example the Box was a late change from an IFS, to cut down the size, i assumed wouldn't do anything. )
<IndexedFaceSet coordIndex="0 8 9 1 -1 1 9 10 2 -1 2 10 11 3 -1 3 11 12 4 -1 4 12 13 5 -1 5 13 14 6 -1 6 14 15 7 -1 7 15 8 0 -1">
<Coordinate point="-4.0 1.1 -2.0, -3.0 1.1 -3.0, 3.5 1.1 -3.0, 4.0 1.1 -2.5, 4.0 1.1 2.5, 3.5 1.1 3.0, -3.0 1.1 3.0, -4.0 1.1 2.0, -3.0 0.0 -1.6, -2.0 0.1 -3.0, 3.1 0.1 -3.0, 3.6 0.0 -2.0, 3.6 0.0 2.0, 3.1 0.1 3.0, -2.0 0.1 3.0, -3.0 0.0 1.6, "/>
</IndexedFaceSet>
the files i have like this were all converted to x3d from vrml using "Vrml97ToX3dNist", which apparently always did this, (well in 2004 it did). i think it used xslt, which i can see would be easier if you always have the comma after every Vec3f.
Please consider to use a web server for Edge and Chrome, they do not serve the file:// protocol. Firefox should work fine in every case.
this was discovered when being served from github.io when i started using 4.2.5
do you packport when this happens?
This fix will be released shortly with 4.2.6.
now using 4.2.6 and is fixed
example.zip
works in Titania