importing text in a .wrl or .x3d file

The forums here are for Blender development. Questions and discussion about *using* Blender belong on blenderartists.org If your thread was moved here, you are probably in the wrong place.

Moderators: jesterKing, stiv

Post Reply
alanhbond1
Posts: 0
Joined: Sat Aug 10, 2013 7:12 pm
Location: London

importing text in a .wrl or .x3d file

Post by alanhbond1 » Mon Aug 19, 2013 4:30 pm

It seems that blender will import .wrl or .x3d files alright, except
for text objects, which it ignores.
Something like this:
<Text string='"object_motion"'>
</Text>

Is this a known bug, or is there a workaround?

Alan Bond

abond@mednet.ucla.edu

stiv
Posts: 0
Joined: Tue Aug 05, 2003 7:58 am
Location: 45N 86W

Post by stiv » Mon Aug 19, 2013 7:47 pm

Is that the entire tag? It seems to be lacking in spatial/geometric information.

alanhbond1
Posts: 0
Joined: Sat Aug 10, 2013 7:12 pm
Location: London

Post by alanhbond1 » Mon Aug 19, 2013 8:02 pm

Here is a more complete form:

<Transform translation="4.0 -3.0 4.0" rotation="0.0 0.0 1.0 1.57">
<Transform rotation="1.0 0.0 0.0 1.57">
<Shape >
<Appearance >
<Material ambientIntensity="0.0" emissiveColor="0.0 0.0 0.0" shininess="0.0" diffuseColor="0.0 0.0 0.0" specularColor="0.0 0.0 0.0"/>
</Appearance>
<Text string='"object_motion"'>
</Text>
</Shape>
</Transform>
</Transform>

Font and other information can be left out as it is supposed
to evoke default values.

Incidentally, I also need to be able to output a blender model
as .x3d, with proper text forms. It seems that blender is
currently changing all text into geometric meshes and outputing
these meshes into .x3d, whereas it would be much better
for it to retain the character form and output these.

Post Reply