This is a child page. You can use Parent in the quick nav bar at the top or the bottom of the page to navigate directly back to the parent of this page. Some child pages are more than one level deep, and in that case will require more than one Parent click to reach the outermost document level.

§ - smooth (SceneScript element)


The  <smooth language element takes a group of triangles within a  <structure and  </structure element pair and analyzes them for shared vertexes. When triangles are found to share vertexes, they will be smoothed as long as the angles between the triangles are less than 85 degrees. This means that a 90 degree turn in a triangulated surface will remain sharp, while a surface made in a "slower" curve will be smoothed.

Smoothing is done using a process related to bump-mapping; the geometric details of the triangles are not modified, only how light reflects off of them is. This means that the edges of objects seen in profile will retain the precise edges defined by the original set of triangles. Only surfaces that are not seen in profile will appear smoothed.

The  <smooth language element must appear after the object definitions for the triangles, and before the closing  </structure language element.

Keyboard Navigation
, Previous Page . Next Page t TOC i Index o Operators g Glossary
WinImages F/x, Morph and all associated documentation
Copyright © 1992-2007 Black Belt Systems ALL RIGHTS RESERVED Under the Pan-American Conventions
WinImages F/x Manual Version 7, Revision 6, Level A

Valid HTML 4.01 Loose

This manual was generated with wtfm
wtfm uses aa_macro and SqLite
aa_macro uses python 2.7
Page 215