{"id":338,"date":"2019-07-12T17:09:21","date_gmt":"2019-07-12T17:09:21","guid":{"rendered":"https:\/\/ccsb.scripps.edu\/mgltools\/?page_id=338"},"modified":"2019-07-12T17:46:35","modified_gmt":"2019-07-12T17:46:35","slug":"doc-156-camera","status":"publish","type":"page","link":"https:\/\/ccsb.scripps.edu\/mgltools\/doc-156-camera\/","title":{"rendered":"doc 156 Camera"},"content":{"rendered":"<h2>Camera Tools Group<\/h2>\n<p>The \u201c<strong>Camera Tools<\/strong>\u201d group provides control over common attributes of the 3D Viewer rendering window (i.e. the camera). The background color can be set using the color wheel button <img decoding=\"async\" width=\"59\" height=\"46\" class=\"wp-image-415\" src=\"https:\/\/ccsb.scripps.edu\/mgltools\/wp-content\/uploads\/sites\/42\/2019\/07\/desktopscreen-shot-2011-03-14-at-12-18-10-pm.png\" alt=\":::::Desktop:Screen shot 2011-03-14 at 12.18.10 PM.png\" \/> . Depthcueing is a rendering technique in which background color is mixed into the color of displayed objects based on the distance from the person viewing the scene. This fog-like effect enhances 3D perception. By default the Fog color is set to be the same as the background color. Clicking in the chain icon <img decoding=\"async\" width=\"73\" height=\"50\" class=\"wp-image-416\" src=\"https:\/\/ccsb.scripps.edu\/mgltools\/wp-content\/uploads\/sites\/42\/2019\/07\/desktopscreen-shot-2011-03-14-at-12-21-12-pm.png\" alt=\":::::Desktop:Screen shot 2011-03-14 at 12.21.12 PM.png\" \/> between the 2 color wheel buttons will break this stop the automatic setting of fog color to the background. Once the link is broken <img decoding=\"async\" width=\"109\" height=\"31\" class=\"wp-image-417\" src=\"https:\/\/ccsb.scripps.edu\/mgltools\/wp-content\/uploads\/sites\/42\/2019\/07\/desktopscreen-shot-2011-03-14-at-12-21-59-pm.png\" alt=\":::::Desktop:Screen shot 2011-03-14 at 12.21.59 PM.png\" \/> , the second color while button becomes enabled and can be used to set a fog color that is different from the background color. The picture to the right shows a white background with black fog.<\/p>\n<p><img decoding=\"async\" width=\"581\" height=\"642\" class=\"wp-image-418\" src=\"https:\/\/ccsb.scripps.edu\/mgltools\/wp-content\/uploads\/sites\/42\/2019\/07\/desktopscreen-shot-2011-03-14-at-12-23-13-pm.png\" alt=\":::::Desktop:Screen shot 2011-03-14 at 12.23.13 PM.png\" srcset=\"https:\/\/ccsb.scripps.edu\/mgltools\/wp-content\/uploads\/sites\/42\/2019\/07\/desktopscreen-shot-2011-03-14-at-12-23-13-pm-200x221.png 200w, https:\/\/ccsb.scripps.edu\/mgltools\/wp-content\/uploads\/sites\/42\/2019\/07\/desktopscreen-shot-2011-03-14-at-12-23-13-pm-271x300.png 271w, https:\/\/ccsb.scripps.edu\/mgltools\/wp-content\/uploads\/sites\/42\/2019\/07\/desktopscreen-shot-2011-03-14-at-12-23-13-pm-400x442.png 400w, https:\/\/ccsb.scripps.edu\/mgltools\/wp-content\/uploads\/sites\/42\/2019\/07\/desktopscreen-shot-2011-03-14-at-12-23-13-pm.png 581w\" sizes=\"(max-width: 581px) 100vw, 581px\" \/><\/p>\n<p>The AA button <img decoding=\"async\" width=\"92\" height=\"41\" class=\"wp-image-419\" src=\"https:\/\/ccsb.scripps.edu\/mgltools\/wp-content\/uploads\/sites\/42\/2019\/07\/desktopscreen-shot-2011-03-14-at-12-25-59-pm.png\" alt=\":::::Desktop:Screen shot 2011-03-14 at 12.25.59 PM.png\" \/> enables setting the level of anti aliasing. Anti aliasing smooth out the edge of lines and polygons and is achieve by redrawing the scene a number of times wile jittering the camera and accumulating pixel values. The higher the number AA number, the smoother the edge of lines and polygons. However, since the AA corresponds to the number of times the scene has to be drawn, rendering can slow down. Modern graphics cards usually support 4xAA in hardware with not noticeable performance penalty.<\/p>\n<p>The clipZ thumbwheels <img decoding=\"async\" width=\"198\" height=\"23\" class=\"wp-image-420\" src=\"https:\/\/ccsb.scripps.edu\/mgltools\/wp-content\/uploads\/sites\/42\/2019\/07\/desktopscreen-shot-2011-03-14-at-12-31-21-pm.png\" alt=\":::::Desktop:Screen shot 2011-03-14 at 12.31.21 PM.png\" \/> allow setting the near and far clipping planes which define the start and end of the 3D scene along the viewing axis. The begin and end of the Fog used for depthcueing can be controlled using the Fog thumbwheels <img decoding=\"async\" width=\"197\" height=\"25\" class=\"wp-image-421\" src=\"https:\/\/ccsb.scripps.edu\/mgltools\/wp-content\/uploads\/sites\/42\/2019\/07\/desktopscreen-shot-2011-03-14-at-12-31-28-pm.png\" alt=\":::::Desktop:Screen shot 2011-03-14 at 12.31.28 PM.png\" \/> , unless the fog is tied to the Z clipping planes, in which case the fog will automatically adjust to changes in near and far clipping planes. The vertical chain button <img decoding=\"async\" width=\"59\" height=\"61\" class=\"wp-image-422\" src=\"https:\/\/ccsb.scripps.edu\/mgltools\/wp-content\/uploads\/sites\/42\/2019\/07\/desktopscreen-shot-2011-03-14-at-12-38-01-pm.png\" alt=\":::::Desktop:Screen shot 2011-03-14 at 12.38.01 PM.png\" \/> to the right of the thumbwheels allows tieing the fog to the Z clipping planes.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Camera Tools Group The \u201cCamera Tools\u201d group provides control over  [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-338","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ccsb.scripps.edu\/mgltools\/wp-json\/wp\/v2\/pages\/338","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ccsb.scripps.edu\/mgltools\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ccsb.scripps.edu\/mgltools\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ccsb.scripps.edu\/mgltools\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ccsb.scripps.edu\/mgltools\/wp-json\/wp\/v2\/comments?post=338"}],"version-history":[{"count":3,"href":"https:\/\/ccsb.scripps.edu\/mgltools\/wp-json\/wp\/v2\/pages\/338\/revisions"}],"predecessor-version":[{"id":424,"href":"https:\/\/ccsb.scripps.edu\/mgltools\/wp-json\/wp\/v2\/pages\/338\/revisions\/424"}],"wp:attachment":[{"href":"https:\/\/ccsb.scripps.edu\/mgltools\/wp-json\/wp\/v2\/media?parent=338"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}