Page 1 of 2

Updated VRML exporter

Posted: Wed Mar 09, 2005 2:10 pm
by ElBarto
...starting developing next version of the VRML Exporter for Blender.

What i have done so far:
- correct naming of the standard in "VRML97" instead of "VRML 2.0"
- cleaning up the script of to much comments and developer infos
- fixed various rounding bugs (intensity, creaseAngle etc.)
- on export dialog correct hanging on of extension for the file (.wrl)
if python installed and added asking about overwriting existing files
(when python is installed)
- correct export of the camera information - now supports fieldofview
(lens in Blender) depending of the aspect ratio given through the
render image size X and Y
- support for exporting textures and colors for Background node
using informations of Blenders world object
- after we got a full funtional text editor support for exporting any
hand written code of the text editor
if the text is named "vrml" to the end of the exported file
- support for placing VRML objects into the scene using empties and give
them a name of a valid VRML node
- support for exporting Fog node using setting of Blenders world object
- better emissive color support using material emit and ambient color of
Blenders world object
- added support for inline nodes via different scenes in the blend file

I started writing help pages too. What i'd like too add to this reƶease too is:
- real creaseAngle support
- FaceModes collision, billboard, halo as nodes Collision and Billboard

If someone will test the new vrml script: ...

Posted: Fri Mar 11, 2005 10:58 pm
by ElBarto
Updated again:
- added real creaseAngle support depending on setsolid or setsmooth and on autosmooth degrees
- added writing of transform nodes for better exchange of files with 3dsMax
- fine adjustment of lights and added real support for ambientIntensity for lights
- now color of lights will be exported too
- tweaking/ optimizing colors and lights
- export of NavigationInfo node with visibilityLimit and headlight support

Grab it here: ...

Posted: Sat Mar 12, 2005 3:37 am
by halibut
Nice! Is this an updated version of a script originally made by AerobicsBoy? Not sure what other name he would go by now!

Posted: Sat Mar 12, 2005 8:55 pm
by ElBarto
No it is an updated of the exporter bundeled with Blender. Now I#m on adding support for Billboard Node and Collision Node by using Blenders FaceModes Halo, Billboard and Collision.

Posted: Sun Mar 13, 2005 1:28 pm
by ElBarto
Updated again, see changes here: ,

Download again here: ...

Please, post any problem you got on this thread!


Posted: Fri Mar 18, 2005 4:42 pm
by ElBarto

checked two sided and it worked well. Added transaltion option to the transform so position of the mesh is not depending on Verteices.

Now will do that into a x3d exporter and writing help pages.

Aims for the next version are:
- support for video texture if the image textur has the extension mov, ram, qt, avi, divx, mpg, mpg4 etc.
- Multitexture for X3D
- TextureTransform using face modes Tile and the repeat option on textures
- export of animationen using keys of the IPO
- DEF and USE for meshes
- creating group nodes using make parent ...


Posted: Sat Mar 19, 2005 4:28 am
by metaphorz
Here is some feedback. First, thanks for taking the
time to update this script. It is a good one! The
script failed on the following two worlds. Download
them from

Both of these were developed by others, but I happen
to have them handy, and they were not simple
scenes. I'll be glad to re-test when you get another

Posted: Sat Mar 19, 2005 1:28 pm
by ElBarto
Thanx for it, your scenes helping me finding 6 bugs. I uploaded a new version to the web: ...

First chapter of help is ready too: ... web3d.html


camera orientation

Posted: Sat Mar 19, 2005 3:46 pm
by metaphorz
Nice work -- seems to have solved the key issues! here is
something else I noticed. Create a new Blender scene with
a single cube mesh in it. Your export correctly matches
the Blender camera. Now, take the Blender camera and rotate
it a little around its axis. The exported VRML doesn't look the
same. Perhaps the mapping to the VRML viewpoint orientation
is not identical? I can give you a .blend file, but for this one,
I think just trying this should duplicate the problem.

Posted: Sat Mar 19, 2005 4:50 pm
by ElBarto
thanx again, will check it.

Posted: Mon Mar 21, 2005 9:32 pm
by ElBarto
New version uploaded: ...

Added support for TextureTransform and exporting just material settings and twosided too:

See first chapter of help: ... web3d.html

...and some bugfixes too :)

Posted: Tue Mar 22, 2005 11:11 pm
by ElBarto
Uploaded even now a new version and think this is RC3 and after that comes final: ...

Posted: Tue Mar 29, 2005 10:51 pm
by ElBarto

Posted: Mon Apr 04, 2005 10:56 pm
by ElBarto
Just another update, found a bug using world textures as textures in the background node.

Checked out that exporting vertex color worked bad.
So will change that and after that it seems really final now.

Version 050403: ...

Some help: ... web3d.html

Posted: Fri Apr 08, 2005 1:30 am
by ElBarto