Thread: Vrml

    #1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2002
    Location
    Ireland
    Posts
    1
    Rep Power
    0

    Vrml


    Does anyone know how to put a gif or jpeg onto either the sky or ground in a VRML world?

    I want to have this jpeg I found as a background...any ideas???

    Background{
    skyColor [.7 .5 .5]
    groundColor [.2 .2 .2 ]

    Cheers,
    Mike.
  2. #2
  3. Contributing User
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Oct 2001
    Location
    New Zealand
    Posts
    1,774
    Rep Power
    24
    Can't be too sure as I commented out the line in what I wrote but.. possibly put:

    texture ImageTexture {url "/picture.jpg"}

    inside your Background definition.

IMN logo majestic logo threadwatch logo seochat tools logo