Obiekt node::triangles: Różnice pomiędzy wersjami

Z MaSzyna
Skocz do: nawigacja, szukaj
Linia 1: Linia 1:
Dyrektywa '''node''' typu '''triangles''' definiuje trójkąty terenu.
+
Definiuje trójkąty terenu.
 
  {{Szablon:Kod_preambuly_node}} <span style="color:tomato;font-weight:bold">triangles</span> <span style="color:tomato;font-weight:bold">material</span> <span style="color:orange;font-weight:bold">ambient:</span> ''ambient'' <span style="color:orange;font-weight:bold">diffuse:</span> ''diffuse'' <span style="color:orange;font-weight:bold">specular:</span> ''specular'' <span style="color:tomato;font-weight:bold">endmaterial</span> ''tekstura''
 
  {{Szablon:Kod_preambuly_node}} <span style="color:tomato;font-weight:bold">triangles</span> <span style="color:tomato;font-weight:bold">material</span> <span style="color:orange;font-weight:bold">ambient:</span> ''ambient'' <span style="color:orange;font-weight:bold">diffuse:</span> ''diffuse'' <span style="color:orange;font-weight:bold">specular:</span> ''specular'' <span style="color:tomato;font-weight:bold">endmaterial</span> ''tekstura''
 
     ''x y z nx ny nz u v'' <span style="color:tomato;font-weight:bold">end</span> <span style="color:gray">//definicja pojedynczego wierzchołka</span>
 
     ''x y z nx ny nz u v'' <span style="color:tomato;font-weight:bold">end</span> <span style="color:gray">//definicja pojedynczego wierzchołka</span>

Wersja z 19:31, 27 gru 2017

Definiuje trójkąty terenu.

node range_max range_min name triangles material ambient: ambient diffuse: diffuse specular: specular endmaterial tekstura
    x y z nx ny nz u v end //definicja pojedynczego wierzchołka
    ...
    x y z nx ny nz u v
    endtri
Opis parametrów
Nazwa Interpretacja Uwagi