summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2024-07-15 21:30:08 +0000
committerrodri <rgl@antares-labs.eu>2024-07-15 21:30:08 +0000
commit1e2596cb1497bd8e491a3b9cd05062a98256ab5d (patch)
treef603446acd11b792546650e4d7dcd77a1c24aa2a
parent05e63a30ce73bbb09b60cd7943e34145351f9055 (diff)
download3dee-1e2596cb1497bd8e491a3b9cd05062a98256ab5d.tar.gz
3dee-1e2596cb1497bd8e491a3b9cd05062a98256ab5d.tar.bz2
3dee-1e2596cb1497bd8e491a3b9cd05062a98256ab5d.zip
update readme.
-rw-r--r--readme7
1 files changed, 5 insertions, 2 deletions
diff --git a/readme b/readme
index 3f2cc37..4ffe24e 100644
--- a/readme
+++ b/readme
@@ -17,12 +17,15 @@ TOOLS
USAGE
- vis [-s] [-t picfile] model...
+ vis [-s] [-t picfile] [-g wxh] model...
The s option will switch the skybox on (performance will drop
considerably).
The t flag takes as input an image(6) file used to texture the first model
(if it happens to have no materials).
+ The g flag takes as input the dimensions of the camera viewport. If it's
+ smaller than screen the image will be upscaled to fit it as much as
+ possible, otherwise it will default to the screen dimensions.
The models supported by the program are OBJ files with material data (MTL
files). You can find examples in the mdl/ folder.
@@ -32,7 +35,7 @@ USAGE
- to zoom in and out use Z and X respectively, also mouse ScrUp and ScrDn.
- to show the HUD with stats and context information press H.
- pressing RMB shows a shader selection menu.
- - pressing MMB shows a menu to control the main light position and texture samplers.
+ - pressing MMB shows a menu with a variety of controls.
- holding down the LMB while moving the cursor will change the scene orientation.
- to quit press Del.