[x3d-public] an issue with a Vrml2.0Sourcebook x3d file (which creates a minor problem rendering).
Roy Walmsley
roy.walmsley at ntlworld.com
Thu May 26 07:49:37 PDT 2016
Hi John,
Yes, this file is missing from this directory. There are several files in the examples folder called wood_g.jpg. I didn’t check that they may be duplicates.
However, I referenced the original VRML Sourcebook source files, and downloaded the version from Chapter 31. I have stored it in the directory. I’ll commit it to SourceForge if Don is OK with that.
Regards,
Roy
From: John Carlson [mailto:john at carlsonsolutiondesign.com]
Sent: 26 May 2016 01:41
To: Don Brutzman; Roy Walmsley
Cc: X3D Graphics public mailing list
Subject: an issue with a Vrml2.0Sourcebook x3d file (which creates a minor problem rendering).
The JPEG:
<ImageTexture DEF='wood_g' url='"wood_g.jpg" "http://www.web3d.org/x3d/content/examples/Vrml2.0Sourcebook/Chapter31-Prototypes/wood_g.jpg"’/>
is mentioned in
examples/Vrml2.0Sourcebook/Chapter31-Prototypes//Figure31.4WoodAppearancePrototypesLibrary.x3d (and .json)
But wood_g.jpg can’t be found. There are two wood_g.jpg’s mentioned in the file. The other one is in Chapter17. I am not sure what is intended. But it appears like two types of Oak (possibly transformed).
I believe in X3DOM, if an image can’t be found, it says “Loading…” with a spinner.
I don’t believe Cobweb loads this image either, but it gets further through the scene. InstantPlayer doesn’t load the image and reports:
LOG OpenSG GL Vendor/Renderer: Intel Inc./Intel HD Graphics 4000 OpenGL Engine
FATAL Avalon Image download failed: file:///Users/johncarlson/Downloads/x3d-code/www.web3d.org/x3d/content/examples/Vrml2.0Sourcebook/Chapter31-Prototypes/wood_g.jpg <file:///\\Users\johncarlson\Downloads\x3d-code\www.web3d.org\x3d\content\examples\Vrml2.0Sourcebook\Chapter31-Prototypes\wood_g.jpg>
WARNING OpenSG Invalid mimeType text/html in getFileType()
FATAL OpenSG JPG: Not a JPEG file: starts with 0x3c 0x21
FATAL Avalon Image download failed: http://www.web3d.org/x3d/content/examples/Vrml2.0Sourcebook/Chapter31-Prototypes/wood_g.jpg
Example scene I am loading is: examples/Vrml2.0Sourcebook/Chapter31-Prototypes/Figure31.5WoodAppearanceExternalPrototypes.json (or .x3d for InstantPlayer).
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20160526/1fd9d034/attachment-0001.html>
More information about the x3d-public
mailing list