Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

texture problem in X3D

3 views
Skip to first unread message

Matej Hudak

unread,
May 24, 2009, 3:09:16 PM5/24/09
to subset...@gmail.com
Hi,
I'm quite new to X3D and I have this problem,
I am working on project of one 3D model, it's supported in X3D now,
everything is very fine, there is sky-cube for environment map and
some 3D objects, geometry is very fine, everything is perfectly
located in virtual space BUT there is problem with textures, there are
34 textures, in jpg and I am using Octaga player

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 :)

Joerg Scheurich aka MUFTI

unread,
May 25, 2009, 7:09:25 AM5/25/09
to
> I am working on project of one 3D model, it's supported in X3D now,
> everything is very fine, there is sky-cube for environment map and
> some 3D objects, geometry is very fine, everything is perfectly
> located in virtual space BUT there is problem with textures, there are
> 34 textures, in jpg and I am using Octaga player

...

> 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)

0 new messages