VRML/ X3D export with animations and multitexure support!

Thank you Bart!
Great job here.

I was really waiting for this one to come out. :slight_smile:

Hi,

To begin, thanks for this very helpful solution.
I have a problem when I try to export in VRML (or x3d, it’s the same), the error “ZeroDivisionError: float division” is printed on my screen :frowning: To test it, I just let the default cube with a little translation. So I really don’t no where/why I have this problem.

Thanks in advance for the help.

Amically, Leparachute.

Bart,

I might have found a bug in the exporter. I created a simple scene with texture and several lights.

When I export the scene, and render it using freewrl, I got parse error.

I checked the vrml code, and found the following definition, which includes an unrecognizable character:

DEF WO_Ô Background {
groundColor 0.0 0.0 0.0
skyColor 0.0 0.0 0.0
}

Similarly, the x3d code generated also contains a unrecognizable character:

<Background DEF=“WO_|” groundColor=“0.0 0.0 0.0” skyColor=“0.0 0.0 0.0” />

I am working on a 64 bit PC. Anyone knows the cause of this error? Thanks.

Lakewalker

Hi all,
here at area42 we started developing a new version of the BS Exporter for Blender for Bitmanagement. This version will based on the features of Blender 2.46. The new exporter will include support for the new particle system and export of mesh animations.

And here are two demos of the new exporter and what can be done in Blender without editing the exported scenes:
http://www.neeneenee.de/blender/x3d/demos/background_dune.html
http://www.neeneenee.de/blender/x3d/demos/shadeless_spot.html

BS Contact is required:
http://www.bitmanagement.de/download/playerdownload.en.html

I In looking for an exporter for vrml/X3D, i have discover this great exporter. Is there a new version about this (the new version from Bart) ? :eyebrowlift:

I would like to know how export animation with armature. And if it’s possible to have multitexture per Mesh/object, or multi material.

Thank you if you have any informations.

PS : I know that the last message is from may 2008 :wink:

A new version of the BS Exporter for Blender is available. Version 1.2.1 is tested on Windows and Ubuntu Linux, but should run on Mac too. Blender 2.47 or higher is required.

The polished interface:
http://www.bitmanagement.de/images/objects/bs-exporter-for-blender-120.png

The changes:

  • Optimized for Blender 2.47 and above, tested on WinXP SP3 and Ubuntu Linux 8.04
  • Optimized exporter dialogue:
    • Exporter saves options, settings and path now automaticlly after export
    • New option “Data Value Wrap” for source code formating
    • New option for starting BS Contact VRML/X3D automaticlly after export
      (Please setup correct paths in bitmanagement.bat or bitmanagement.sh first)
    • Usability improvement by using real input fields
    • Added default “B” buttons for adding default values
    • New Bitmanagement logo :slight_smile:
  • Advanced status report in console window after export:
    • input and output scene
    • number of exported objects
    • created folders
    • copied textures
  • Speed improvement, up to 40 times faster on export
  • Suport for Blender’s new Particle System
  • Fixed: The Background export crash bug
  • Fixed: Resources of packed Blender files will be copied
  • Fixed: Texture subfolder will only created when there are just textures to copy
  • Fixed: Cameras or Lights has parent object
  • Fixed: Headlight is on at the exported file when Lamps are on hidden layers
  • Fixed: Creating valid DEF names now work correct
  • in VRML output the coords will be exported first then followed by the coodIndex
  • export of visibilityLimit for Navigationinfo only when at the first camera
    the button “Limits” is activated (in “Editing F9” panel “Camera”)
  • Support for textureTransform options scale and center by using Blender’s
    texture options “ofsX”, “ofsY” and “sizeX”, “sizeY” in “Material Buttons”
    in panel “Map Input”
  • Support for repeatS and repeatT false for X3D/ VRML ImageTexture using any
    other Map image button then “Repeat”
  • Support for FlashMovieTexture added
  • Support for additional MovieTexture2 or FlashMovieTexture code by giving a
    text editor file the same name as the material
  • Better Multitexture support, Blendmode Mix is now exported as MODULATE and
    Blendmode Color is now REPLACE
  • Added support for Procedual textures using “Musgrave” procedual texture of Blender:
    • color is a mixing of diffuse and Mapto
    • suported properties are H, Lacu, Octs, IScale & Noisesize
    • Noise type can changed using:
      • Multifractal+ NoiseBasis Blender Original = NOISE in BS Contact VRML/X3D
      • Ridged Multifractal+Blender Original = VEINS in BS Contact VRML/X3D
      • NoiseBasis Cellnoise = RAW in BS Contact VRML/X3D
      • Ridged Multifractal+Original Perlin = TURBULENCE in BS Contact VRML/X3D
      • any other setting = DISTANCE in BS Contact VRML/X3D
  • Support for visible and hidden layers added, objects on hidden layers
    will not be exported
  • “Mist” button in “World (F8)” enables/ disables now exporting fog
    (supported modes “Lin” or “Sqr”)
  • Material buttons “VCOL Light” and “VCOL Paint” are now toggles in Blender and can’t
    combined any more. So using “VCOL Paint” for exporting vertex colors as face colors
    (colorPerVertex=“false”) and “VCOL Light” for smooth vertex colors
    (colorPerVertex=“true”). Only the active color layer (“Editing (F9)” panel
    “Mesh”) will be exported vertex colors
  • Improved and faster export of vertex colors
  • Support for sensor nodes via Empty-Objects
  • Support for additional Shader code by giving a text editor file the same name
    as the material
  • Support tangent mapping (mostly needed by shaders) by activating
    “Tangent” button in panel “Map Input” at “Material (F5)”
  • Material Alpha will exported only as transparency when it is greater then 0
  • Material Emissive will only exported when greater then 0
  • Support für Sounds (Sound2)
  • Meta information UTC timestamp added

Get here:
http://www.bitmanagement.de/download/BS_Exporter_Blender/cnt-index.php?lang=en&prod=BS%20Exporter%20Blender

The documentation will be updated soon:
http://www.bitmanagement.de/developer/contact/sdk-prev/doc/tools/blenderexporter/index.html

where can we report bugs of the exporter? bitmanagement or area42? I’ve already made a comment on your blog bart.

Hey bart

I made a logo in blender, saved as vmrl 1.0? I have blender new ver, anyway i loaded my logo in bit software and my logo would not show up? but I was able to inport jpg png files that were folded? or half of the photo showed up?

Not sure why? Please help!

I have not emailed bit-m yet,…

what do I have to to so it will work with BIt- thanks!

you can email me at [email protected] or here.

Hey Thank you Bart !

One of many of my goals, is to make my own 3 D world. I would like to make my world in Bit-M software !

I like what I see, so far. I want people to be able to walk thru my worlds.

Keep up the good works!

I try it in blender tonight!

Bitmanagement releases the new version 1.22 of the “BS Exporter for Blender” at the SIGGRAPH 2009.
Besides bugfixes and support for Blender 2.49 this release brings advanced support for Blender’s new particle engine.
The “BS Exporter for Blender” is a cross plattform 3d authoring solution for Linux, Mac OS X and Windows.

The release log:

Bugfixes:
- brackets in normalIndex VRML output
- normalIndex values in VRML output
- Particles type in X3D
- DEF/USE for Particles
- specularColor calculation
- minor fixes
- error handling if no full Python installation is found
- automated version handling in output modules

Enhancements:
- better support for Particles including
- fadeAlpha and fadeColor (used from particle mesh in Blender)
- gravity and emitVelocity
(using AccX, AccY and AccZ properties of Blender’s particle engine)
- random size of particles

http://www.bitmanagement.de/products/bs_exporter.en.html