WebGL Hotshot
上QQ阅读APP看书,第一时间看更新

A Hotshot challenge / Hotshot challenges

This section explains things to be done or tasks to be performed using the concepts explained in this project.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "Saturn also has a <Transform> node centered around the Sun and two child <Transform> nodes to control Saturn's day and rings that are constructed from a flat plane and a texture map with a transparency."

A block of code is set as follows:

<Shape>
    <Appearance>
        <ImageTexture url="./textureMaps/bassethound.jpg"/>
    </Appearance>
    <IndexedFaceSet coordIndex="0 1 2 -1   2 3 0 -1" texCoordIndex="0 1 2 -1   2 3 0 -1">
        <Coordinate point="-2 2 0   -2 -2 0   2 -2 0   2 2 0"/>
        <TextureCoordinate point="0 1   0 0   1 0   1 1"/>
    </IndexedFaceSet>
</Shape>

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "The neon X Y Z display on the left turns on in a red, green, and blue sequence, and glows onto the street with a red, green, and blue tinge using point lights."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.