Vrml export from Blender


Step 1
: First, check UV on the objects
Map images on objects will be correctly exported only if you have textures coordinates on the 3D mesh

In the Shading panel (F5) choose TexFace for the material
In Map Input, choose UV for textures ccordinates
Don't forget to apply a material on each object.

Step 2: Go to "File>Export"

Choose the export type : VRML97(*.WRL)

FileExport

Next select "All Objects" or "Selected Objects..." mode depending on your aim in Webseed Studio 3D

ObjectsMode

Step 3: In the exporter window :
Browse to your saving folder
Give a name to your Vrml file
At last, click Export VRML97


By default, Blender exports texture without path : url "texture.jpg"
In that case one solution to import geometries and texture in Webseed Studio 3D is to put Vrml and images files in the same folder



Another solution to solve the problem is to edit the path in Vrml file.
Open the .WRL with a text editor and find the "url" node
If Vrml is at the root and textures in a folder, the url is : url "./MapFolder/Map.jpg"



If Vrml and textures are in individual folders at the same level, the url is : url "../MapFolder/Map.jpg"


| ! | Keep in mind that realtime engines need square maps with n exp2 size (8, 16, 32 64, 128, 256,512...)
You can combin them, for example you can have a 128 x 512 image.
There are exceptions :
On a environment map, width and height must be equal.
The alpha map must have the same dimensions as the diffuse map (if you use one)

Vrml format can only save standard material with simple texture in color channel.
Webseed Studio 3D only supports JPEG, GIF and PNG (8 and 24 bits)


©ViewLife 2008