X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Frasterize;a=blobdiff_plain;f=Makefile;h=024bb482ab202cc43adbc2ad0baff74d6fb4ac6d;hp=0474ec9e1319692f700c1f5af503c24f5f5c92a9;hb=b0a8ea303e942930350bf85c860afc969442c7a4;hpb=c875478cdd823c7df8fdc859941bd9e5948c9315 diff --git a/Makefile b/Makefile index 0474ec9..024bb48 100644 --- a/Makefile +++ b/Makefile @@ -3,14 +3,18 @@ PROJECT = project2 IUSE = CLIPPING DEPTH_TEST SMOOTH_COLOR \ EXTRA_INLINE NDEBUG RASTER_STATS RENDER_PROGRESS RENDER_TIMER -# BACKFACE_CULLING avoid drawing triangles that are not facing forward + +# BACKFACE_CULLING prevent drawing triangles that are not facing forward # CLIPPING turn on clipping (you really always want this) # DEPTH_TEST enable the z buffer for depth testing +# EXPORT_BMP save scene as bitmap (enabled by default) +# EXPORT_PPM save scene as a PPM file (also enabled by default) # EXTRA_INLINE allow the compiler to inline even more aggressively # LIGHTING turn the lights on (experimental) # NDEBUG disable assertions and other nonessential checks -# FIND_NORMALS[=n] pre-compute vertex normals at loading time -# set to 1 for per-face normals, 2 for averaged normals +# PRE_NORMALS[=n] pre-compute mesh normals at scene-loading time; +# set to 1 for per-face normals, 2 for averaged normals, +# or 3 to also enable caching the computed normals # RASTER_STATS print triangle count and optimization savings at the end # RENDER_PROGRESS print progress while drawing the scene # RENDER_TIMER add a timer to see how long the renderer takes