speed-dreams/doc/tutorials/robot/torcs/robot/ch6/introduction.html

146 lines
5.1 KiB
HTML

<!DOCTYPE public "-//w3c//dtd html 4.01 transitional//en"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<!--
copyright : (C) 2003-2004 Bernhard Wymann
email : berniw@bluewin.ch
version : $Id$
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2
or any later version published by the Free Software Foundation;
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
Texts. A copy of the license is included in the section entitled "GNU
Free Documentation License".
-->
<head>
<title>introduction</title>
<link rel="stylesheet" type="text/css" href="../../../css/format.css"/>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"/>
<meta name="description" content="straight class"/>
<meta name="author" content="Bernhard Wymann"/>
<meta name="keywords" content="torcs, berniw, bernhard wymann, painting, logo, texture, introduction"/>
<script src="../../../js/utilities.js" type="text/javascript"></script>
<style type="text/css">
<!--
#shot1 { float:left; border:0px; width:128px; height:128px; border-style:hidden; margin-bottom:5px; margin-right:10px; }
-->
</style>
</head>
<body bgcolor="#ffffff">
<table class="maincontent">
<tr>
<td class="maincontent">
<h1>6.1 Introduction</h1>
<h3>The Look</h3>
<p>
In this chapter you will learn the basics you need for giving your team an individual
look. I'm not an artist, so I can't give you tips how you can make it look really cool.
You might have guessed that from the purple look of my team, don't you? But hey,
have you ever seen purple racing cars before? There are two things you can change per
car, the look of the car and the pit logo. While the general look is a matter of taste
you should take care of things like political correctness and legal issues of
advertisements and logos. Below you can see some screenshots of cars in front of
their pit.
</p>
<table class="thumbnail">
<tr>
<td class="thumbnail">
<a href="javascript:changetwoframes('images/shot1.html','content','navigation/backintro.html','navigation')">
<img src="images/tn/bt.jpg"
border="0" width="150" height="112"/>
</a>
</td>
<td class="thumbnail">
<a href="javascript:changetwoframes('images/shot2.html','content','navigation/backintro.html','navigation')">
<img src="images/tn/cylos.jpg"
border="0" width="150" height="112"/>
</a>
</td>
<td class="thumbnail">
<a href="javascript:changetwoframes('images/shot3.html','content','navigation/backintro.html','navigation')">
<img src="images/tn/tanhoj.jpg"
border="0" width="150" height="112"/>
</a>
</td>
<td class="thumbnail">
<a href="javascript:changetwoframes('images/shot4.html','content','navigation/backintro.html','navigation')">
<img src="images/tn/berniw.jpg"
border="0" width="150" height="112"/>
</a>
</td>
</tr>
<tr>
<td class="footer">
The default
</td>
<td class="footer">
Cylos 2 of Gions Team
</td>
<td class="footer">
Tanhoj of TORCS Team
</td>
<td class="footer">
Berniw 1 of my Team
</td>
</tr>
</table>
<p></p>
<h3>Textures</h3>
<p>
<img id="shot1" src="images/cg-nascar-rwd.jpg" alt="car texture" border="0"></img>
The pictures that define the look of your car are called textures. These textures
are put onto your car in a process called texture mapping. Car and pit logo
textures have to be stored in the SGI rgb format. The size must be a power of
two, eg. for the pit logo 128x128 and for the car 256x256. Textures need to be
quadratic (width equals height). You can see the default texture of the cg-nascar-rwd
car on the left. To create your custom car texture you need to download a default texture
and to modify it. To make your work easier there are for some cars textures available
as multilayer xcf images in several resolutions. To work with the textures I recommend you
to take the highest resolution available, you can reduce it later with your tool.
</p>
<h3>Tools</h3>
<p>
To work with the textures I recommend the
<a href="http://www.gimp.org" target="_parent">GIMP</a>
(GNU Image Manipulation Program). It
is for sure included in your Linux distribution. There is also a Windows version
available.
</p>
<h3>Summary</h3>
<ul style="list-style-type:disk; color:black;">
<li>You know what a texture is.</li>
<li>You know textures need to be quadratic.</li>
<li>You have a tool to work with xcf and rgb images.</li>
</ul>
<br/>
</td>
</tr>
</table>
<table class="navigation_foot">
<tr>
<td class="navigation_foot">
<a href="./ch6.html">
<p style="text-align:left;">Back</p>
</a>
</td>
<td class="navigation_foot">
<a href="./pitlogo.html">
<p style="text-align:right;">Create a pit logo.</p>
</a>
</td>
</tr>
</table>
</body>
</html>