Graphics Programs Reference
In-Depth Information
Thefirstbuildingisnowtexturedintheareaswhereyouhavetextureforit.Ifyou
look at this textured geometry through the camera, it will look right. This tech-
nique allows some movement around this object—but only limited movement, as
this texture is only really designed to be viewed from the angle it was shot in. If
you look at it straight on, you will see noticeable stretching (deforming and scal-
ing the texture unevenly over the geometry).
Let's repeat this for the other two buildings:
25. SelectProject3D1andApplyMaterial1.Copybothselectednodesand,withnoth-
ing selected, paste.
26. Connect Camera1 to the Cam input of Project3D2, Read1 to Project3D2's other
input, and finally ApplyMaterial2's other input to ReadGeo2's output.
27. Repeat again for the third building, or ReadGeo3.
28. Forsanity'ssake,arrangethenodeinawaythatmakessensetoyou.Iusealotof
Dotstohelpwiththat.CreateaDotbypressingthe.(period)key( FIGURE 11.12 ).
Figure 11.12. Using Dots to tidy up a script.
 
Search WWH ::




Custom Search