Problem is that on my computer everything is fine, but on tho
internet, on my page after load the .X3D file, textures are
dislocated, I mean that there are different textures on different
objects
but on my computer they are fine
I already tried .png files for textures, I'm using <ImageTexture> tag
for adding textures, some textures are used more than once with
USE="......"
please help me, thank you very much for your answers, and forgive me
my English :)
...
> I already tried .png files for textures, I'm using <ImageTexture> tag
> for adding textures, some textures are used more than once with
> USE="......"
It is difficult to imagine the problem without a example. Is it possible
to public a example of the problem on a web page and public the URL here ?
The only possibility for such a problem would be the multiple "DEF" of the
same DEF name.
E.g.
...
texture DEF TEXTURE ImageTexture
{
url "1.png"
}
...
texture USE TEXTURE
...
texture DEF TEXTURE ImageTexture
{
url "2.png"
}
...
texture USE TEXTURE
The standard about multiple DEF names:
http://www.web3d.org/x3d/specifications/vrml/ISO-IEC-14772-VRML97/part1/concepts.html#4.6.2
| If multiple nodes are given the same name, each USE statement refers to the
| closest node with the given name preceding it in either the VRML file or
| prototype definition.
Maybe it is ambiguous, what the "closest node" is....
so long
MUFTI
--
Fuer CPUs von 150 mm bis 250 mm Breite.
(Aus einem Katalog fuer EDV-Zubehoer)