Re: TExture problem

Vassilis Bourdakis (V.Bourdakis@bath.ac.uk)
Wed, 7 Jun 1995 16:54:35 +0000


>
>Hi all,
>
>I just created a basic textured cube in gview. Converted this to VRML
>
>:::
>
>
>#VRML V1.0 ascii
>
>Separator {
> Texture2 {
> filename "/usr/demos/data/textures/brick.rgb"
> }
> Cube {
> }
>}
>
>
>The rgb file is definately there. I load it into webspace and its just a flat
>shaded cube no terxtures. I know that encodeing the texture in line as hex
works ok.

How can you encode a texture in line as hex then? If the link doesn't work then
I could live with that :-)
>Anybody had this problem.
>
>I'm also having some problems with camera viewpoints, mucking up my
hypertext links...

Had that yesterday, I was saving environment from Gview and pasting the
camera and lights description on the main geometry .iv file...
Solution is that you have to do the pasting _BEFORE_ any of the .iv code.
And especially before the tranformation matrix which is usually on the first
two three lines. Don't know why but it works (I guess I have to read the
manuals)
>
>Cheers, Dave ....
>

Vassilis