cwiczenia 5 trees in environment
8
Opis.md
@ -63,7 +63,7 @@ bool inVoxelSpace(int a, int b, int c)
|
||||
|
||||
## Zadanie 1
|
||||
|
||||
<img src="images/Trees in environment/shadowBox-0244468.gif" alt="shadowBox" style="zoom:50%;" />
|
||||
<img src="images/Trees in environment/shadowBox.gif" alt="shadowBox" style="zoom:50%;" />
|
||||
|
||||
1. Otwórz Unity Project, wersję na te ćwiczenia. Następnie otwórz scenę "Pipe Model"
|
||||
2. Do objektu shadowBox jest przypięty skrypt Cast Shadow. Otwórz ten skrypt.
|
||||
@ -73,7 +73,7 @@ bool inVoxelSpace(int a, int b, int c)
|
||||
|
||||
## Zadanie 2
|
||||
|
||||
<img src="images/Trees in environment/inShadow-0245281.gif" alt="inShadow" style="zoom:50%;" />
|
||||
<img src="images/Trees in environment/inShadow.gif" alt="inShadow" style="zoom:50%;" />
|
||||
|
||||
1. W objekcie inShadow jest skrypt receiveShadow
|
||||
2. Zmodyfikuj skrypt - jak na ten objekt spadnie cień, to zmień materiał
|
||||
@ -82,7 +82,7 @@ bool inVoxelSpace(int a, int b, int c)
|
||||
|
||||
## Zadanie 3
|
||||
|
||||
<img src="images/Trees in environment/treeshadow-0250708.png" alt="treeshadow" style="zoom:33%;" /><img src="images/Trees in environment/treeshadowgreen-0250548.png" alt="treeshadowgreen" style="zoom:33%;" /><img src="images/Trees in environment/treeshadow-0250563.png" alt="treeshadow" style="zoom:33%;" />
|
||||
<img src="images/Trees in environment/treeshadow.png" alt="treeshadow" style="zoom:33%;" /><img src="images/Trees in environment/treeshadowgreen.png" alt="treeshadowgreen" style="zoom:33%;" /><img src="images/Trees in environment/treeshadow.png" alt="treeshadow" style="zoom:33%;" />
|
||||
|
||||
1. Wybierz objekt tree (001)
|
||||
|
||||
@ -118,7 +118,7 @@ S(a,c) : c<50 -> G\(90)[-S(0,0)]S(0,0)
|
||||
|
||||
## Zadanie 4
|
||||
|
||||
<img src="images/Trees in environment/manytrees-0251718.png" alt="manytrees" style="zoom:50%;" />
|
||||
<img src="images/Trees in environment/manytrees.png" alt="manytrees" style="zoom:50%;" />
|
||||
|
||||
1. Dodaj do objektu Environment więcej drzew (Trees) i zobacz jak drzewa wpływają na siebie nawzajem
|
||||
2. Napisz skrypt, który utworzy 9 drzew (3x3) rozmieszczonych co równą odległość
|
||||
|
BIN
images/.DS_Store
vendored
Normal file
Before Width: | Height: | Size: 247 KiB After Width: | Height: | Size: 247 KiB |
Before Width: | Height: | Size: 216 KiB After Width: | Height: | Size: 216 KiB |
Before Width: | Height: | Size: 493 KiB After Width: | Height: | Size: 493 KiB |
Before Width: | Height: | Size: 122 KiB After Width: | Height: | Size: 122 KiB |
Before Width: | Height: | Size: 139 KiB After Width: | Height: | Size: 139 KiB |
Before Width: | Height: | Size: 284 KiB After Width: | Height: | Size: 284 KiB |