[x3d-public] Blender 3.0 import/export of HelloWorld.x3d

Brutzman, Donald (Don) (CIV) brutzman at nps.edu
Fri Dec 31 06:12:26 PST 2021


Wow, really super, thanks gentlemen!  Impressive effort.

Looking ahead: when X3D-Blender experts think that Blender is far enough along, we might consider adding unit tests to the X3D Examples Archives that exercise Blender import/export, either via command-line (build script) invocation or Blender Python API.  We might do this selectively or comprehensively for all examples.  This approach would likely also permit export of screenshots corresponding to each Viewpoint in a scene, providing visual feedback on correctness as well as diff-ability of selected results in version control.  Examples with history follow.  Interesting possibilities...

  *   https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/stylesheets/java/examples/CleatClamp.stl.blender.png
  *   https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/stylesheets/java/examples/CleatClamp.viewpoint1.blender.png
  *   https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/stylesheets/java/examples/CleatClamp.viewpoint2.blender.png
Have fun with X3D, and Happy New Year!  8)

all the best, Don
--
Don Brutzman  Naval Postgraduate School, Code USW/Br        brutzman at nps.edu
Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA    +1.831.656.2149
X3D graphics, virtual worlds, navy robotics https:// faculty.nps.edu/brutzman

From: vmarchetti at kshell.com <vmarchetti at kshell.com>
Sent: Friday, December 31, 2021 3:46 AM
To: X3D-Public <x3d-public at web3d.org>
Cc: Brutzman, Donald (Don) (CIV) <brutzman at nps.edu>
Subject: Re: [x3d-public] Blender 3.0 import/export of HelloWorld.x3d

The failure to export to X3D was noted and fixed by Andreas Plesch on Dec 27, 2021, and committed to the Blender git repository for add-ons, see https://developer.blender.org/rBA1679f2fdbb1373a255b98b69c6dc2f8a90e7170a

The fix is scheduled to be deployed in Blender 3.0.1,  see https://developer.blender.org/T93479

In the meantime, the corrected Python script export_x3d.py can be obtained at https://developer.blender.org/diffusion/BA/browse/master/io_scene_x3d/ and copied into the scripts folder of your  local Blender installation.

With this fix  the HelloWorld.x3d example can be imported into Blender 3 and exported as X3D. It is still the case that the export from Blender does not include the ImageTexture node in the Appearance node for the globe. Fixing this failure to include ImageTexture nodes in X3D exports is one of the goals to be addressed in our BlenderX3DSupport project on github: https://github.com/Web3DConsortium/BlenderX3DSupport

Vince Marchetti





On Dec 30, 2021, at 12:02 AM, Brutzman, Donald (Don) (CIV) <brutzman at nps.edu<mailto:brutzman at nps.edu>> wrote:

Blender 3.0 is released, online at


  *   https://blender.org

Tried to import HelloWorld.x3d


  *   https://www.web3d.org/x3d/content/examples/HelloWorld.x3d

That seemed to work, result is large (4KB grew to 835KB) and so pushed online at


  *   https://x3dgraphics.com/examples/X3dForAdvancedModeling/HelloWorldScenes/HelloWorldImportBlender.blend

However exporting back to X3D failed, with Blender console not providing copyable text, screenshot of traceback attacked.

Wondering if anyone with Blender skills can figure out what is wrong?  Likely we should submit a bug report to Blender.  TIA for all troubleshooting.

all the best, Don
--
Don Brutzman  Naval Postgraduate School, Code USW/Br        brutzman at nps.edu<mailto:brutzman at nps.edu>
Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA    +1.831.656.2149
X3D graphics, virtual worlds, navy robotics https:// faculty.nps.edu/brutzman<http://faculty.nps.edu/brutzman>

<HelloWorldBlenderExportTraceback.png>_______________________________________________
x3d-public mailing list
x3d-public at web3d.org<mailto:x3d-public at web3d.org>
http://web3d.org/mailman/listinfo/x3d-public_web3d.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20211231/9af57c38/attachment-0001.html>


More information about the x3d-public mailing list