-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
X3D Exporter #2
Comments
@brutzman The potential fix is missing. Which node did you mean? |
@brutzman The CommonSurfaceShader is an Avalon-only component and is used because the regular Material node does not support the rich variety of parameters used commonly in renderers today. You can however switch it off if you untick Unity -> Preferences -> UnityX3D -> Use CommonSurfaceShader |
I've pushed a round of fixes for everything except the header part "ISO//Web3D//DTD X3D 3.3//EN", which somehow I can't get to work right now with the XML C# API. |
seems to work, at least here: https://dotnetfiddle.net/d3UFIt I can submit an (untested) PR if desired. |
X3D Exporter
The X3D Exporter by Tob is great - thanks!.
We're hoping to help with improvement of this important tool. It is in the "top ten" items of Web3D Consortium X3D Projects Wish List.
David Tan tested it on the following example. Exported results worked without modifications in InstantReality but not in any other X3D tool. Attached in next post please find
Here are some issues with the X3D output:
<?xml version="1.0" encoding="UTF-8"?>
<?!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "http://www.web3d.org/specifications/x3d-3.3.dtd">
<?X3D profile='Immersive' version='3.3' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='http://www.web3d.org/specifications/x3d-3.3.xsd'>
List of illegal X3D nodes (InstantReality extensions perhaps?) and potential X3D replacements:
All X3D scene export results can be checked online using the X3D Validator
The text was updated successfully, but these errors were encountered: