This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > VRML > September 2004 > Problem with PixelTexture





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Problem with PixelTexture
O.L.

2004-08-26, 12:28 pm

Hello,

I've a big problem with PixelTexture ...
I'll try to make my question simple & distinct :

How can I apply a PixelTexture{} onto a Shape{},
- with no repetitions (each pixel corresponds to ONE region of the Shape)
- with a texturing of the complete Shape{} (no blank region)

If somebody knows ... :-/

Thank you,
O.L.
Joerg Scheurich aka MUFTI

2004-08-30, 7:17 pm

> In fact I tried to texture an avatar, so I put a PixelTexture with repeatS
> and repeatT FALSE ont it. But when I drawed something on the avatar's
> torso, it appeared in his back too !


What type of shape did you use ? Using the same Texture on different faces
of a shape is typical for primitive shapes (e.g. a box use the same texture
on each of it's 6 faces).

so long
MUFTI
--
Eine Unter-Speisekarte wird erscheinen, in der Sie waehlen koennen,
entweder zu spielen, oder das Video zu schlingen.
(aus einem Software-Handbuch, Stichworte: menu und loop)
Joerg Scheurich aka MUFTI

2004-08-31, 12:19 pm

> I've a big problem with PixelTexture ...
> I'll try to make my question simple & distinct :


> How can I apply a PixelTexture{} onto a Shape{},
> - with no repetitions (each pixel corresponds to ONE region of the Shape)
> - with a texturing of the complete Shape{} (no blank region)


For this questions, it makes no difference, if you talk about PixelTexture
or ImageTexture.

In general you need a geometry in your shape, that supports
TextureCoordinates and you need to set this TextureCoordinates depending
from your geometry to solve your requests.

so long
MUFTI
--
A number of the Windows-based application programming interfaces (APIs) that
are documented as accepting only a module handle are defined incorrectly.
(aus einer M$Windows Dokumentation)
O.L.

2004-09-01, 7:16 am

Joerg Scheurich aka MUFTI <rusmufti@helpdesk.rus.uni-stuttgart.de> wrote
in news:cgganm$bkp$5@infosun2.rus.uni-stuttgart.de :

>
>
> For this questions, it makes no difference, if you talk about
> PixelTexture or ImageTexture.
>
> In general you need a geometry in your shape, that supports
> TextureCoordinates and you need to set this TextureCoordinates
> depending from your geometry to solve your requests.
>
> so long
> MUFTI


Yes, but the TextureCoordinate makes the VRML file bigger, and it's
difficult to use, I think.
In fact I tried to texture an avatar, so I put a PixelTexture with repeatS
and repeatT FALSE ont it. But when I drawed something on the avatar's
torso, it appeared in his back too !
So I cut it in several parts : right leg, left leg, right arm, etc. and I
put one PixelTexture for each body part. And it worked. But ... I don't
understand how a texture can be visible on more than one region of a Shape
{}, with repeatS and T FALSE ..... :-S

Bye
O.L.
O.L.

2004-09-01, 12:17 pm

Joerg Scheurich aka MUFTI <rusmufti@helpdesk.rus.uni-stuttgart.de> wrote
in news:cgvi7e$b9m$1@infosun2.rus.uni-stuttgart.de :

>
> What type of shape did you use ? Using the same Texture on different
> faces of a shape is typical for primitive shapes (e.g. a box use the
> same texture on each of it's 6 faces).
>
> so long
> MUFTI


It was an IndexedFaceSet.
But I solved this problem by cutting my avatar IFS in several parts.

Bye
Joerg Scheurich aka MUFTI

2004-09-01, 7:16 pm

>>> In fact I tried to texture an avatar, so I put a PixelTexture with
[color=darkred]
> It was an IndexedFaceSet.


This is amazing, it should not occure without TextureCoordinates.
Did you tested several browsers ?

so long
MUFTI
--
Wenn Ihr CD-ROM Antrieb Brief d nicht ist, tauschen Sie ihren CDROM Antrieb
fuer d in der Fuehrung aus.
(aus einem Softwarehandbuch, Stichworte: drive und letter)
O.L.

2004-09-02, 12:18 pm

Joerg Scheurich aka MUFTI <rusmufti@helpdesk.rus.uni-stuttgart.de> wrote in
news:ch4nkr$o25$1@infosun2.rus.uni-stuttgart.de :

>
>
> This is amazing, it should not occure without TextureCoordinates.
> Did you tested several browsers ?
>
> so long
> MUFTI


Yes this is very strange :-/
No, I didn't test with other browsers than Blaxxun Contact.

Bye
Joerg Scheurich aka MUFTI

2004-09-04, 4:19 am

>>> In fact I tried to texture an avatar, so I put a PixelTexture with
[color=darkred]
> It was an IndexedFaceSet.


This is amazing, it should not occure without TextureCoordinates.
Did you tested several browsers ?

so long
MUFTI
--
Wenn Ihr CD-ROM Antrieb Brief d nicht ist, tauschen Sie ihren CDROM Antrieb
fuer d in der Fuehrung aus.
(aus einem Softwarehandbuch, Stichworte: drive und letter)
O.L.

2004-09-04, 4:19 am

Joerg Scheurich aka MUFTI <rusmufti@helpdesk.rus.uni-stuttgart.de> wrote
in news:cgvi7e$b9m$1@infosun2.rus.uni-stuttgart.de :

>
> What type of shape did you use ? Using the same Texture on different
> faces of a shape is typical for primitive shapes (e.g. a box use the
> same texture on each of it's 6 faces).
>
> so long
> MUFTI


It was an IndexedFaceSet.
But I solved this problem by cutting my avatar IFS in several parts.

Bye
Joerg Scheurich aka MUFTI

2004-09-05, 11:17 pm

> In fact I tried to texture an avatar, so I put a PixelTexture with repeatS
> and repeatT FALSE ont it. But when I drawed something on the avatar's
> torso, it appeared in his back too !


What type of shape did you use ? Using the same Texture on different faces
of a shape is typical for primitive shapes (e.g. a box use the same texture
on each of it's 6 faces).

so long
MUFTI
--
Eine Unter-Speisekarte wird erscheinen, in der Sie waehlen koennen,
entweder zu spielen, oder das Video zu schlingen.
(aus einem Software-Handbuch, Stichworte: menu und loop)
Joerg Scheurich aka MUFTI

2004-09-08, 12:17 pm

>>> In fact I tried to texture an avatar, so I put a PixelTexture with
[color=darkred]
> It was an IndexedFaceSet.


This is amazing, it should not occure without TextureCoordinates.
Did you tested several browsers ?

so long
MUFTI
--
Wenn Ihr CD-ROM Antrieb Brief d nicht ist, tauschen Sie ihren CDROM Antrieb
fuer d in der Fuehrung aus.
(aus einem Softwarehandbuch, Stichworte: drive und letter)
O.L.

2004-09-08, 12:17 pm

Joerg Scheurich aka MUFTI <rusmufti@helpdesk.rus.uni-stuttgart.de> wrote in
news:ch4nkr$o25$1@infosun2.rus.uni-stuttgart.de :

>
>
> This is amazing, it should not occure without TextureCoordinates.
> Did you tested several browsers ?
>
> so long
> MUFTI


Yes this is very strange :-/
No, I didn't test with other browsers than Blaxxun Contact.

Bye
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews