]> OCCT Git - occt.git/commitdiff
0032459: Draw Harness, ViewerTest - fix description of vrenderparams -oit
authorkgv <kgv@opencascade.com>
Wed, 23 Jun 2021 18:33:43 +0000 (21:33 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 24 Jun 2021 16:50:48 +0000 (19:50 +0300)
src/ViewerTest/ViewerTest_ViewerCommands.cxx

index 566fd78023a981ac5575ef86b36bfb075d00625b..dbed9e289a69d7cd0bef2374a19282c99c7bc04e 100644 (file)
@@ -15032,7 +15032,7 @@ void ViewerTest::ViewerCommands(Draw_Interpretor& theCommands)
     "\n\t\t:               [-msaa 0..8=0] [-rendScale scale=1]"
     "\n\t\t:               [-resolution value=72] [-fontHinting {off|normal|light}=off]"
     "\n\t\t:               [-fontAutoHinting {auto|force|disallow}=auto]"
-    "\n\t\t:               [-oit {off|0.0-1.0}=off]"
+    "\n\t\t:               [-oit {off|weight|peel}] [-oit weighted [depthFactor=0.0]] [-oit peeling [nbLayers=4]]"
     "\n\t\t:               [-shadows {on|off}=on] [-shadowMapResolution value=1024] [-shadowMapBias value=0.005]"
     "\n\t\t:               [-depthPrePass {on|off}=off] [-alphaToCoverage {on|off}=on]"
     "\n\t\t:               [-frustumCulling {on|off|noupdate}=on] [-lineFeather width=1.0]"
@@ -15047,8 +15047,9 @@ void ViewerTest::ViewerCommands(Draw_Interpretor& theCommands)
     "\n\t\t:   -lineFeather     Sets line feather factor while displaying mesh edges."
     "\n\t\t:   -alphaToCoverage Enables/disables alpha to coverage (needs MSAA)."
     "\n\t\t:   -oit             Enables/disables order-independent transparency (OIT) rendering;"
-    "\n\t\t:                    weight OIT fixes transparency artifacts at the cost of blurry result,"
-    "\n\t\t:                    it is managed by depth weight factor (0.0 value also enables weight OIT)."
+    "\n\t\t:        off         unordered transparency (but opaque objects implicitly draw first);"
+    "\n\t\t:        weighted    weight OIT is managed by depth weight factor 0.0..1.0;"
+    "\n\t\t:        peeling     depth peeling OIT is managed by number of peeling layers."
     "\n\t\t:   -shadows         Enables/disables shadows rendering."
     "\n\t\t:   -shadowMapResolution Shadow texture map resolution."
     "\n\t\t:   -shadowMapBias   Shadow map bias."