User Tools

Site Tools


arma:modeling:shadows

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
arma:modeling:shadows [2015/08/22 01:45] – removed obsolete links. snakemanarma:modeling:shadows [2024/08/01 10:00] (current) – links added. snakeman
Line 1: Line 1:
-====== Shadows ======+====== ArmA 1 Shadows ====== 
 + 
 +[[https://www.pmctactical.org/forum/viewforum.php?f=42|ArmA 1 Forum]], [[:arma|ArmA 1 Home]], [[arma:config|ArmA 1 Config]], [[arma:tools|ArmA 1 Tools]], [[arma:file_formats|ArmA 1 File Formats]], [[arma:missions|ArmA 1 Missions]], [[arma:modeling|ArmA 1 3D Modeling]], [[arma:terrain|ArmA 1 Terrain]], [[arma:texturing|ArmA 1 Texturing]], [[arma:scripting|ArmA 1 Scripting]] 
 + 
 +**ArmA 1** aka Armed Assault (ArmA)
  
 Used for HW shadow casting. The shadows are cast from this LOD on resolution LOD surfaces. The shadow volume area is made by extruding the lit faces of the shadow LOD (faces that have normals oriented towards the light) in the light direction. Used for HW shadow casting. The shadows are cast from this LOD on resolution LOD surfaces. The shadow volume area is made by extruding the lit faces of the shadow LOD (faces that have normals oriented towards the light) in the light direction.
Line 13: Line 17:
 LOD must be named ShadowVolume 0.000, ShadowVolume 10.000 or ShadowVolume 1000.000 LOD must be named ShadowVolume 0.000, ShadowVolume 10.000 or ShadowVolume 1000.000
  
-  * Shadow volume 0 is the main stencil shadow. It should have less than 1000 triangles.  +  * Shadow volume 0 is the main stencil shadow. It should have less than 1000 triangles. 
-  * Shadow Volume 10 is optimized stencil shadow LOD with as few triangles as possible. +  * Shadow Volume 10 is optimized stencil shadow LOD with as few triangles as possible.
   * Shadow 1000 is special for trees, it uses alpha transparent textures to be calculated using GPU shadow buffer. (so this lod can have link on texture)   * Shadow 1000 is special for trees, it uses alpha transparent textures to be calculated using GPU shadow buffer. (so this lod can have link on texture)
  
Line 34: Line 38:
  
  
-====== ShadowVolume on BIS MLODs ======+====== ShadowVolume on bis MLODs ======
  
-These are statistics on the BIS MLOD vegetation objects for ShadowVolume settings.+These are statistics on the bis MLOD vegetation objects for ShadowVolume settings.
  
 akat02s:\\ akat02s:\\
Line 152: Line 156:
 4 - Open the same property (LODNoShadow) in all the other LODs but this time give it a value of 1. 4 - Open the same property (LODNoShadow) in all the other LODs but this time give it a value of 1.
  
-5 - Inside the Shadow Lod (10000) with the entire model selected go to Structure/Topology/Find non-Closed and check if you have any opened point/faces (they get red if you do and below on your left O2 tells you the amount of them).  +5 - Inside the Shadow Lod (10000) with the entire model selected go to Structure/Topology/Find non-Closed and check if you have any opened point/faces (they get red if you do and below on your left O2 tells you the amount of them).
  
 6 - If you do have any opened points/faces you must close them, you may try O2 to close them for you, for that go to Structure/Topology/Close, this should close the model for you, however, sometimes you need to do it by hand since this feature inside O2 as some limitations. 6 - If you do have any opened points/faces you must close them, you may try O2 to close them for you, for that go to Structure/Topology/Close, this should close the model for you, however, sometimes you need to do it by hand since this feature inside O2 as some limitations.
Line 169: Line 173:
 inner shadow can cause sick effects on weapons ? inner shadow can cause sick effects on weapons ?
  
-i get best results when shadow lod was almost copy of pilot view why shadows behave different ?\\ +i get best results when shadow lod was almost copy of pilot view why shadows behave different ?\\
 i have my graphic options on LOW, maybe this ?\\ i have my graphic options on LOW, maybe this ?\\
 but i really get zebra effects but i really get zebra effects
Line 175: Line 179:
 i gave no "LODNoShadow = 1", i gave LOD 10000 (as i was told)\\ i gave no "LODNoShadow = 1", i gave LOD 10000 (as i was told)\\
 i gave model with lower poly count as i it was in OFP maybe there should be more detailed model ?\\ i gave model with lower poly count as i it was in OFP maybe there should be more detailed model ?\\
-all faces are closed, no "open" or "hole" faces and weapons look really really sick than +all faces are closed, no "open" or "hole" faces and weapons look really really sick than
  
 half of gun is almost black on the soldiers there is "zebra" of shadow half of gun is almost black on the soldiers there is "zebra" of shadow
Line 182: Line 186:
 ====== Notes ====== ====== Notes ======
  
-**Armored_Sheep (BIS dev)**: The LODNoShadow property is not necessary. This property is used in other lods to disable shadow projection on too complex meshes.+**Armored_Sheep (bis dev)**: The LODNoShadow property is not necessary. This property is used in other lods to disable shadow projection on too complex meshes.
  
 ArmA engine uses Shadow Volume 0, Shadow Volume 10 and Shadow Volume 1000. Different values than that are not used. ArmA engine uses Shadow Volume 0, Shadow Volume 10 and Shadow Volume 1000. Different values than that are not used.
Line 195: Line 199:
 ===== Earl Summary ===== ===== Earl Summary =====
  
-**Earl (BIS dev)**: The only named property that should always be used is "LODNoShadow = 1" on all visual LODs which are >400 faces.+**Earl (bis dev)**: The only named property that should always be used is "LODNoShadow = 1" on all visual LODs which are >400 faces.
  
 Default behavior should be: Default behavior should be:
Line 206: Line 210:
 ===== Hand Rails ===== ===== Hand Rails =====
  
-**Armored_Sheep** (BIS Dev) about handrail modeling in houses: Stencil buffer shadows (those sharp polygons) are not able to use alpha transparency. They are drawn by extruding triangles from ShadowVolume lod.+**Armored_Sheep** (bis Dev) about handrail modeling in houses: Stencil buffer shadows (those sharp polygons) are not able to use alpha transparency. They are drawn by extruding triangles from ShadowVolume lod.
  
 If you choose shadow buffer casting (used on trees) you can have alpha transparent textures in shadow casting lod (you define this by properties in geometry lod) BUT you will be still limited by texture resolution (ArmA casts this shadow using single 2048x2048 texture for whole scene) If you choose shadow buffer casting (used on trees) you can have alpha transparent textures in shadow casting lod (you define this by properties in geometry lod) BUT you will be still limited by texture resolution (ArmA casts this shadow using single 2048x2048 texture for whole scene)
Line 226: Line 230:
  
 Best check for shadow LOD is to create a big box in the first visual LOD, invert the faces (w-button) of this box and check the result in the buldozer. Best check for shadow LOD is to create a big box in the first visual LOD, invert the faces (w-button) of this box and check the result in the buldozer.
 +
arma/modeling/shadows.1440207937.txt.gz · Last modified: 2015/08/22 01:45 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

All PMC web site download services are temporarily suspended until web site yearly fees have been recovered, want to download addons/mods? Then Support PMC.

If you are grateful for all the work PMC has done in the past 25 years, use Support PMC page.