This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > VRML > August 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-21, 4:34 am

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-25, 6:17 am

> 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-08-26, 12:28 pm

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.
Sponsored Links


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