cwiczenia 5 trees in environment

This commit is contained in:
duszekjk 2021-05-06 01:44:28 +02:00
parent 1a1f74e3e6
commit 0e2aa52987
10 changed files with 1462 additions and 4 deletions

1458
Opis.html Normal file

File diff suppressed because one or more lines are too long

View File

@ -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
Opis.pdf Normal file

Binary file not shown.

BIN
images/.DS_Store vendored Normal file

Binary file not shown.

View File

Before

Width:  |  Height:  |  Size: 247 KiB

After

Width:  |  Height:  |  Size: 247 KiB

View File

Before

Width:  |  Height:  |  Size: 216 KiB

After

Width:  |  Height:  |  Size: 216 KiB

View File

Before

Width:  |  Height:  |  Size: 493 KiB

After

Width:  |  Height:  |  Size: 493 KiB

View File

Before

Width:  |  Height:  |  Size: 122 KiB

After

Width:  |  Height:  |  Size: 122 KiB

View File

Before

Width:  |  Height:  |  Size: 139 KiB

After

Width:  |  Height:  |  Size: 139 KiB

View File

Before

Width:  |  Height:  |  Size: 284 KiB

After

Width:  |  Height:  |  Size: 284 KiB