Page 1 of 1

SGI Cube Demo reloaded

Posted: Fri Aug 08, 2008 1:35 am
by Martin Steen

People were asking for more features, so I give people what they want!
Next week I am on a vacation, so I had to finish it quick.

You can download the new version here:

New commandline options are:

-xrot = X-axis rotation only
-yrot = Y-axis rotation only
-zrot = Z-axis rotation only
-window = Start in window-mode
-map <image.tga> = change map (see notes)
-itsacow = ???

Also, the zoom-limit has changed so you can take a very close look at
the model.

About the map-feature: You can provide your own environment-map as
a Targa-file (.tga). Size must fit the OpenGL requirements
(e.g. 256x256 or 128x128 or 64x64 Pixels), depth must be 24 bit.
I made a 256x256 Pixel test image with "gimp" on my fuel and it


Code: Select all

3dlviewer-sgi -yrot -window -map myimage.tga

= start the demo with y-rotation in window-mode, using
"myimage.tga" for mapping.

Have fun, Martin

Re: SGI Cube Demo reloaded

Posted: Fri Aug 08, 2008 1:58 am
by ramq
Nice work!

And that cow is hollow... :)
(By looking underneath)

Other features I might find handy:
- different rotaional speed using command line arguments
- change rotaional speed using the mouse left button (like the SGI 'powerflip' demo)

About that second option; You can today rotate the object in whatever speed you'd like using mouse motion while holding the left mousebutton, but once you release the mousebutton it could remain in that speed. Kind of getting the feeling of "pushing up" the speed of it and let it continue to run.

I know these are just plain ridicoulus features, but I have a sense this application wasn't ment for the market-driven enterprise production enviroments either? :D

Now for everyone else to start posting different cool enviroment-maps!