skip to content
Frictional Game Wiki
User Tools
Register
Log In
Site Tools
Search
Tools
Show page
Old revisions
Backlinks
Recent Changes
Media Manager
Sitemap
Log In
Register
>
Recent Changes
Media Manager
Sitemap
Trace:
hpl3:tutorials:material_translucent
<h1>DDS Texture Export</h1> <div class="level1"> </div> <h2>Overview</h2> <div class="level2"> <p> Here it will be explained how to set up an entity with a translucent material. There is a lot of differetn techniques and programs that can be used to make the images used in this tutorial, so the focus will be mainly on using the engine's tools. </p> </div> <h2>Steps</h2> <div class="level2"> <p> <b>1) Setting up the model.</b><br/> First of all the model needs to be be set up and have a diffuse texture set to it (more info <a href="/doku.php?id=hpl3:engine:model_export#modelling" class="wikilink1" title="hpl3:engine:model_export">here</a>). The file we have are:<br/> <code>transbox.dae</code><br/> <code>transbox.dds</code><br/> Now we open transbox.dae up in the modelviewer and will see:<br/> <a href="/lib/exe/fetch.php?media=hpl3:tutorials:material_trans01.jpg" class="media" title="hpl3:tutorials:material_trans01.jpg"><img src="/lib/exe/fetch.php?w=300&tok=3e45ae&media=hpl3:tutorials:material_trans01.jpg" class="media" alt="" width="300" /></a><br/> The files we have are now: <code>transbox.dae</code><br/> <code>transbox.dds</code><br/> <code>transbox.mat</code><br/> <code>transbox.msh</code><br/> the ".mat"-file is generated by the modelviewer and is a solid material based upon the name of the diffuse texture (here "transbox"). Modelviewer can add further texture such as normalmaps, specular, etc if the files have the proper prefixes (for a list of those see <a href="/doku.php?id=hpl3:engine:materials#solid_diffuse" class="wikilink1" title="hpl3:engine:materials">here</a>).<br/> The "msh"-file is a binary version of the dae file that is much faster to load. No need to worry about that one in this tutorial. </p> <p> <b>2) Changing to translucent.</b><br/> </p> </div>
hpl3/tutorials/material_translucent.1322586483.txt.gz
· Last modified: 2011/11/29 17:08 by
thomas
Page Tools
Show page
Old revisions
Backlinks
Export to PDF
Back to top