Smoothing groups: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
[[Image:Smoothing groups smoothing example.jpg|thumb|400px|right|The cylinder on the left is not smoothed.<br> The cylinder in the middle is smoothed with the default [[lightmap scale]] of 16.<br> The cylinder on the right is smoothed with a [[lightmap scale]] of 8.]] | [[Image:Smoothing groups smoothing example.jpg|thumb|400px|right|The cylinder on the left is not smoothed.<br> The cylinder in the middle is smoothed with the default [[lightmap scale]] of 16.<br> The cylinder on the right is smoothed with a [[lightmap scale]] of 8.]] | ||
When a number of adjacent surfaces are assigned to the same [[Smoothing group]], the Rendering Engine <!--a particular Shader perhaps?--> will "soften" the light and shadow across each vertex or edge shared by the group. This makes the geometry seem smoother when viewed from most angles. It does not soften the profile or silhouette of the object. | |||
'''Vertex Smoothing''' simply uses [[Vertex normal]]s ([[vector]]s) as if they were [http://en.wikipedia.org/wiki/Surface_normal Surface normals] to generate a kind of ''pseudo-''[http://en.wikipedia.org/wiki/Subdivision_surface subdivision surface] for the Lighting shader to work with. {{todo| Do Vphysics deflection calculations recognise smoothed vertices ? ... or is smoothing only a lighting/rendering thing ? }} | |||
When a number of adjacent surfaces are assigned to the same [[Smoothing group]], the ''Rendering Engine'' <!--a particular Shader perhaps?--> will "soften" the light and shadow across each vertex or edge shared by the group. This makes the geometry seem smoother when viewed from most angles. It does not soften the profile or silhouette of the object. | |||
==Guidelines== | ==Guidelines== | ||
* Brush geometry must be manually assigned to a Smoothing Group in Hammer. Model geometry smoothing data is configured in the [[model editor]] before [[SMD export]]. {{confirm|Brush smoothing groups may not include Model geometry, and vice versa.}} | |||
Revision as of 11:17, 5 May 2008

The cylinder on the left is not smoothed.
The cylinder in the middle is smoothed with the default lightmap scale of 16.
The cylinder on the right is smoothed with a lightmap scale of 8.
The cylinder in the middle is smoothed with the default lightmap scale of 16.
The cylinder on the right is smoothed with a lightmap scale of 8.
Vertex Smoothing simply uses Vertex normals (vectors) as if they were Surface normals to generate a kind of pseudo-subdivision surface for the Lighting shader to work with.
Todo: Do Vphysics deflection calculations recognise smoothed vertices ? ... or is smoothing only a lighting/rendering thing ?
When a number of adjacent surfaces are assigned to the same Smoothing group, the Rendering Engine will "soften" the light and shadow across each vertex or edge shared by the group. This makes the geometry seem smoother when viewed from most angles. It does not soften the profile or silhouette of the object.
Guidelines
- Brush geometry must be manually assigned to a Smoothing Group in Hammer. Model geometry smoothing data is configured in the model editor before SMD export.
Confirm:Brush smoothing groups may not include Model geometry, and vice versa.