home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Using VRML (Special Edition)
/
Special_Edition_Using_VRML_CDROM_Que_1996.iso
/
webpages
/
software
/
unix
/
utils
/
img2wrl
/
image2wr.1l
< prev
next >
Wrap
Text File
|
1995-08-23
|
1KB
|
65 lines
IMAGE2WRL(1VT) VRML TOOLS IMAGE2WRL(1VT)
NAME
image2wrl - convert an SGI image to a wrl grid
SYNOPSIS
image2wrl image.sgi [args]
DESCRIPTION
image2wrl reads an sgi format file and converts the first channel
into a grid in VRML wrl file format. the grey value of the image is
translated into the height of each grid point.
Source images can be either 1,3 or 4 channel.
An optional zscale will modify the height of the grid.
if the texture option is specified then a 'Texture2' object is
added to the file.
if no output file is specified, the default is STDOUT
OPTIONS
-z (float) default is 1.0
-t texture file (must be JPEG)
EXAMPLES
image2wrl test.sgi test.wrl
image2wrl test.sgi > test.wrl
KNOWN BUGS
The original image resolution will determine the final grid
size. Thus large images can lead to VERY large wrl files
use izoom(6D) to reduce the image size first
AUTHOR
Geoff horne
Sydney VisLab Aug 1995
Sydney VisLab Last change: Aug 24, 1995 1