Howto:Illuminate faces: Difference between revisions

m
Line 183: Line 183:
You can no longer change the texture (see section above), but you can switch to another part of the same texture map and illuminate it.
You can no longer change the texture (see section above), but you can switch to another part of the same texture map and illuminate it.


You need to make a texture map that is exactly 512 pixels wide (see [[Textures_&_Texture_Maps_in_SketchUp]]. The height must be any square of two (eg. 2<sup>0</sup>=1, 2<sup>1</sup>=2, 2<sup>2</sup>=4, 2<sup>3</sup>=8, 2<sup>4</sup>=16 and so on). This texture map has two sides that are each 256 pixels wide. The '''left side''' is for day-time textures, the '''right side''' is for night-time textures. Each night-time texture is positioned exactly 256 pixels to the right of the day-time texture. Here is an example taken from the shared model [http://scenemodels.flightgear.org/modeledit.php?id=1570 German village house - grey roof]:
You need to make a texture map that is exactly 512 pixels wide (see [[Textures & Texture Maps in SketchUp]]. The height must be any square of two (eg. 2<sup>0</sup>=1, 2<sup>1</sup>=2, 2<sup>2</sup>=4, 2<sup>3</sup>=8, 2<sup>4</sup>=16 and so on). This texture map has two sides that are each 256 pixels wide. The '''left side''' is for day-time textures, the '''right side''' is for night-time textures. Each night-time texture is positioned exactly 256 pixels to the right of the day-time texture. Here is an example taken from the shared model [http://scenemodels.flightgear.org/modeledit.php?id=1570 German village house - grey roof]:
[[Image:Germanvillagehouse1_day.png|thumb|day-time textures]]  
[[Image:Germanvillagehouse1_day.png|thumb|day-time textures]]  
[[Image:Germanvillagehouse1_night.png|thumb|night-time textures]]
[[Image:Germanvillagehouse1_night.png|thumb|night-time textures]]
248

edits