Fog / Smoke (Rob Laddish)
One of the major goals for me in doing the graphics was to understand and play with
the various modes offered by the SGI. One of these modes is fog, and we hoped it would
help simulate a smoky pool hall. It doesn't work well, but we left it in to allow
others to see what the fog effect looks like.
Problems Encountered
It doesn't work well. An animated 3D smoke model that showed the effects of the
spotlighting would look MUCH better. It would also take more time that was better
spent elsewhere for us. It is left as an exercise to the desperate.
Related config file parameters: (the config file explains them better)
- fog_param density r,g,b This defines the rgb color of the fog, and
it's density. The fog appears "more dense" for objects that are further away
from the viewer. For actions like walking down a narrow street, it might
look nice, but for a pool table, it fails.
- use_fog num This defines the texture mode. Set num=0 to turn it off,
or set num>0 or do not specify num to turn textures on. Fog is off by
default, and it can be turned on/off by the user during run time.
See Also: