Fr/Creating a wall light: Difference between revisions

From Valve Developer Community
< Fr
Jump to navigation Jump to search
(trad en cours)
 
No edit summary
Line 17: Line 17:
===Etape 2===
===Etape 2===
[[Image:Lighttutorial1.jpg|right|thumb|Step 2]]
[[Image:Lighttutorial1.jpg|right|thumb|Step 2]]
Texture the edges of the roof with the same texture you used for your roof.</div>
Texturer les arrêtes du toit avec la même texture que vous avez utilisez pour votre toit.</div>


<div style='clear:both'>
<div style='clear:both'>
===Etape 3===
===Etape 3===
[[Image:Lighttutorial2.jpg|right|thumb|Step 3]]
[[Image:Lighttutorial2.jpg|right|thumb|Step 3]]
Shrink the roof by four on each end, so in this case, from 384*384 -> 376*376</div>
Réduire la surface du toit de 4, de chaque côté. Pour avoir passer ainsi de 384*384 -> 376*376.</div>


<div style='clear:both'>
<div style='clear:both'>
===Etape 4===
===Etape 4===
[[Image:Lighttutorial3.jpg|right|thumb|Step 4]]
[[Image:Lighttutorial3.jpg|right|thumb|Step 4]]
Create a 4*16 block with the invisible texture and put it right beside your newly shrunk roof. They should fit so there are no leaks.</div>
Créer un bloc de 4*16 en appliquant une texture invisible, et insérez-la dans la nouvelle fente du toit, de façon à boucher les trous et ne plus avoir de ''leak'' (fuite).</div>


<div style='clear:both'>
<div style='clear:both'>
===Etape 5===
===Etape 5===
[[Image:Lighttutorial4.jpg|right|thumb|Step 5]]
[[Image:Lighttutorial4.jpg|right|thumb|Step 5]]
Copy the invisible blocks and re-texture them to have nodraw. Move them higher above the invisible blocks so you can easily preform step 6</div>
Copier les 4 blocs invisibles et collez-les en appliquant la texture '''Nodraw'''. Placez ces 4 nouveaux blocs au-dessus des 4 blocs invisibles.</div>


<div style='clear:both'>
<div style='clear:both'>
===Etape 6===
===Etape 6===
[[Image:Lighttutorial5.jpg|right|thumb|Step 6]]
[[Image:Lighttutorial5.jpg|right|thumb|Step 6]]
Texture the bottom of the nodraw 4*16 blocks to light_recessedcool002. Rotate the recessed texture with the face edit tool so it is parallel with the block, with the lighter side of the gradient facing the inside of the room. TIP: Change the light_recessedcool002 textures light map resolution to 8 to create a more constant glow. Also, you may choose to set the texture scale higher, so the light does not have the breaks in them</div>
Texturez la face du bas des blocs en Nodraw de 4x16 avec la texture '''recessedcool002'''. Rotate the recessed texture with the face edit tool so it is parallel with the block, with the lighter side of the gradient facing the inside of the room. TIP: Change the light_recessedcool002 textures light map resolution to 8 to create a more constant glow. Also, you may choose to set the texture scale higher, so the light does not have the breaks in them</div>


<div style='clear:both'>
<div style='clear:both'>
Line 44: Line 44:
[[Image:Lighttutorial6.jpg|right|thumb|Step 7]]
[[Image:Lighttutorial6.jpg|right|thumb|Step 7]]
'''You do not have to place the overlays, the differences are negligible.'''
'''You do not have to place the overlays, the differences are negligible.'''
Move the nodraw blocks to sit on top of the invisible blocks.</div>
Placez les blocs Nodraw sur les blocs invisibles.</div>


<div style='clear:both'>
<div style='clear:both'>

Revision as of 15:23, 11 April 2010

Template:Otherlang2


Introduction

Dans ce guide, vous allez apprendre comment construire un mur éclairé, comme on en voit dans les chambres de test de Portal.

L'effet désiré.

Etapes

Etape 1

D'abord créer une salle, pour l'exemple du guide, nous allons utiliser une salle de 384*384*256 avec des murs de 16 unités. Assurez-vous que le toit touche les murs uniquement par les arrêtes.

Etape 2

Step 2
Texturer les arrêtes du toit avec la même texture que vous avez utilisez pour votre toit.

Etape 3

Step 3
Réduire la surface du toit de 4, de chaque côté. Pour avoir passer ainsi de 384*384 -> 376*376.

Etape 4

Step 4
Créer un bloc de 4*16 en appliquant une texture invisible, et insérez-la dans la nouvelle fente du toit, de façon à boucher les trous et ne plus avoir de leak (fuite).

Etape 5

Step 5
Copier les 4 blocs invisibles et collez-les en appliquant la texture Nodraw. Placez ces 4 nouveaux blocs au-dessus des 4 blocs invisibles.

Etape 6

Step 6
Texturez la face du bas des blocs en Nodraw de 4x16 avec la texture recessedcool002. Rotate the recessed texture with the face edit tool so it is parallel with the block, with the lighter side of the gradient facing the inside of the room. TIP: Change the light_recessedcool002 textures light map resolution to 8 to create a more constant glow. Also, you may choose to set the texture scale higher, so the light does not have the breaks in them

Etape 7 (Optionnel)

Step 7

You do not have to place the overlays, the differences are negligible.

Placez les blocs Nodraw sur les blocs invisibles.

Etape 8

Step 8
Select all the top walls and pull them up so they enclose the invisible blocks.

Etape 9

Step 9
Add an overlay with decals/overlay_light_gradient, and change the vstart/end to .99 instead of 1.

Etape 10

Step 10
Resize to fit, and move inside of the hole.

Etape 11

Step 11
Répétez l'opération sur tous les murs.

Etape 12

Compilez la map, et assurez-vous qu'elle ne comporte pas de leak.

|}

Template:Otherlang:en Template:Otherlang:en:ru