<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div dir="ltr" id="yui_3_16_0_1_1434003589077_2752"><span id="yui_3_16_0_1_1434003589077_2770">I don't know if this is helpful, but there is now a plug-in for blender called Blend4Web <a id="yui_3_16_0_1_1434003589077_2861" href="https://www.blend4web.com/en/">https://www.blend4web.com/en/</a> that generates html and json files from Blender.</span></div><div id="yui_3_16_0_1_1434003589077_2862" dir="ltr"><br><span id="yui_3_16_0_1_1434003589077_2770"></span></div><div id="yui_3_16_0_1_1434003589077_2928" dir="ltr"><span id="yui_3_16_0_1_1434003589077_2770">Gordon</span></div><br>  <div id="yui_3_16_0_1_1434003589077_2925" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div id="yui_3_16_0_1_1434003589077_2924" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div id="yui_3_16_0_1_1434003589077_2923" dir="ltr"> <hr size="1">  <font id="yui_3_16_0_1_1434003589077_2926" size="2" face="Arial"> <b id="yui_3_16_0_1_1434003589077_3128"><span id="yui_3_16_0_1_1434003589077_3127" style="font-weight:bold;">From:</span></b> doug sanden <highaspirations@hotmail.com><br> <b><span style="font-weight: bold;">To:</span></b> x3d-public@web3d.org <br> <b id="yui_3_16_0_1_1434003589077_3130"><span id="yui_3_16_0_1_1434003589077_3129" style="font-weight: bold;">Sent:</span></b> Wednesday, June 10, 2015 10:16 PM<br> <b id="yui_3_16_0_1_1434003589077_3132"><span id="yui_3_16_0_1_1434003589077_3131" style="font-weight: bold;">Subject:</span></b> Re: [x3d-public] Blender exporter<br> </font> </div> <div id="yui_3_16_0_1_1434003589077_3133" class="y_msg_container"><br><div id="yiv1214876192"><style>#yiv1214876192 #yiv1214876192 --
.yiv1214876192hmmessage P
{
margin:0px;padding:0px;}
#yiv1214876192 body.yiv1214876192hmmessage
{
font-size:12pt;font-family:Calibri;}
#yiv1214876192 </style><div id="yui_3_16_0_1_1434003589077_3135"><div id="yui_3_16_0_1_1434003589077_3134" dir="ltr">Another diff - collada-like declaration section using switch -1, which has the effect of flattening xml nesting.<br clear="none"><br clear="none"><div class="qtdSeparateBR"><br><br></div><div class="yiv1214876192yqt6192145599" id="yiv1214876192yqtfd21618"><hr>Date: Wed, 10 Jun 2015 15:48:21 -0700<br clear="none">From: web3d@realism.com<br clear="none">To: x3d-public@web3d.org<br clear="none">Subject: Re: [x3d-public] Blender exporter<br clear="none"><br clear="none">
  
    
  
  
    <div id="yui_3_16_0_1_1434003589077_3136" class="yiv1214876192ecxmoz-cite-prefix">Michalis,<br clear="none">
      <br clear="none">
      That would be great. I have a online tool that does conversion
      from FBX to X3D. The tool has problems because Blender cannot
      handle many FBX files and the X3D converter is not always so good
      (as you have noted).<br clear="none">
      <br clear="none">
      I do have a request for any future work in Blender (or other DCC
      tool) exporters...<br clear="none">
      <br clear="none">
      If at all possible, please avoid PROTOs and Script nodes. Script
      nodes have a naming conflict with HTML and some work will need to
      be done. Almost all PROTOs use Script nodes making them not work
      so well with HTML (X3DOM). BTW, Inlines work great; though there
      are issues with multiple URLs (especially from different domains).<br clear="none">
      <br clear="none">
      Thank you,<br clear="none">
      <br clear="none">
      Leonard Daly<br clear="none">
      <br clear="none">
      <br clear="none">
      <br clear="none">
    </div>
    <blockquote>
      <pre>Michalis,

I hacked an older Bart Campbell python exporter a few times, about 5 years ago, you're welcome to start with or get ideas from this if you don't like the current blender x3d exporter. IIRC the main things I did differently:
a) used an xml library to help form elements
b) included sub-scenes
But I suspect didn't include the sub-scenes correctly, or could have made an option on how to use them They should have been exported as Inlines or Protos and I think I included them in a single export file.
x didn't do animations or fancy stuff - just static
<a rel="nofollow" shape="rect" class="yiv1214876192ecxmoz-txt-link-freetext" target="_blank" href="http://sourceforge.net/p/freewrl/git/ci/develop/tree/freex3d/blender_scripts/">http://sourceforge.net/p/freewrl/git/ci/develop/tree/freex3d/blender_scripts/</a>
- there's a hint/comment in the .py on how to use it with recent versions of blender ie in blender console you enter a command, rather than installing it 
-Doug

</pre>
      <blockquote>
        <pre>1. Full-featured Blender exporter to X3D, supporting animations and
other stuff. Current Blender->X3D exporter (bundled with Blender) is
indeed limited to static models, and has various other annoyances/lacks.
For my open-source 3D game engine (Castle Game Engine
<a rel="nofollow" shape="rect" class="yiv1214876192ecxmoz-txt-link-freetext" target="_blank" href="http://castle-engine.sourceforge.net/">http://castle-engine.sourceforge.net/</a> ), it's a great pity that the most
popular open-source 3D authoring tool (Blender!) doesn't have a good X3D
export...

I tried to tackle it a couple of times, but never found enough time...
Enough:) Let's do this:)
</pre>
      </blockquote>
      <pre></pre>
      <blockquote>
        <pre>Technical notes:

- Note that this is a task for Python coding. There's no need to modify
Blender "core" in C++ to create a good X3D exporter (Python script is
much easier to approach, and is suggested way by Blender devs).

- I want to submit the exporter (either a new exporter, or as
much-improved existing exporter) to the Blender to make it included in
the Blender releases.

As for X3D importer, I see some effort going on already, see Blender
mailing list "[Bf-python] Got X3D import fixes" recent thread. I did not
have the time to actually check it yet.

Details what features I would like to add (on top of existing
Blender->X3D features):

- Export of transformation (translating / rotating / scaling) animation.
This simply converts to X3D animation using interpolators on Transform
nodes. This should cover all Blender objects: visible shapes, and also
cameras and lights.

- Export of animation export for mesh deformation, so that you can
export "baked" animated characters (from armature animation, from shape
keys animation etc.) This is simply converted to X3D
CoordinateInterpolator that modifies whole
IndexedFace/TriangleSet.Coordinate contents.

- Take into account Blender actions: each separate Blender action
results in a separate TimeSensor node in X3D. Effectively, your X3D file
will contain all your actions, and you can run your chosen action by
activating a similarly-named TimeSensor node in X3D. An option to
auto-run the first action automatically upon opening the X3D file (by
ProximitySensor) will be available.

- Add export of Blender's custom properties to X3D metadata.

- Add export of Blender's Empty objects to X3D Transform node. By
itself, Transform node without any children is useless, but it can be
used by game engine e.g. to interpret it as a placeholder for initial
creatures/items/traps etc. location on the level (together with above
metadata).

- Add multi-texturing export.

- Add export of 3D sound animation.

</pre>
      </blockquote>
      <pre>                                         
_______________________________________________
x3d-public mailing list
<a rel="nofollow" shape="rect" class="yiv1214876192ecxmoz-txt-link-abbreviated" ymailto="mailto:x3d-public@web3d.org" target="_blank" href="mailto:x3d-public@web3d.org">x3d-public@web3d.org</a>
<a rel="nofollow" shape="rect" class="yiv1214876192ecxmoz-txt-link-freetext" target="_blank" href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a>

</pre>
    </blockquote>
    <br clear="none">
    <br clear="none">
    <div class="yiv1214876192ecxmoz-signature">-- <br clear="none">
      <font color="#333366">
        <font size="+1"><b>Leonard Daly</b></font><br clear="none">
        X3D Co-Chair<br clear="none">
        Cloud Consultant<br clear="none">
        President, Daly Realism - <i>Creating the Future</i>
      </font></div>
  

<br clear="none">_______________________________________________
x3d-public mailing list
x3d-public@web3d.org
http://web3d.org/mailman/listinfo/x3d-public_web3d.org                                    </div></div></div></div><br><div class="yqt6192145599" id="yqtfd69329">_______________________________________________<br clear="none">x3d-public mailing list<br clear="none"><a shape="rect" ymailto="mailto:x3d-public@web3d.org" href="mailto:x3d-public@web3d.org">x3d-public@web3d.org</a><br clear="none"><a shape="rect" href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" target="_blank">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a><br clear="none"></div><br><br></div> </div> </div>  </div></body></html>