proton:win_3dapp
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
proton:win_3dapp [2010/11/07 11:03] – seth | proton:win_3dapp [2010/12/15 01:46] – seth | ||
---|---|---|---|
Line 2: | Line 2: | ||
This app combines the features of the previous apps with the powerful 3D engine [[http:// | This app combines the features of the previous apps with the powerful 3D engine [[http:// | ||
- | I integrated it over a couple days [[http:// | + | Seth integrated it over a couple days [[http:// |
Key points about how I integrated it: | Key points about how I integrated it: | ||
Line 18: | Line 18: | ||
====You built RTBareBones and RTSimpleAPP, | ====You built RTBareBones and RTSimpleAPP, | ||
- | This tutorial assumes you already did [[proton: | + | This tutorial assumes you already did [[proton: |
====Compiling RT3DApp on Windows==== | ====Compiling RT3DApp on Windows==== | ||
Line 27: | Line 27: | ||
This cryptic line in the batch file does most of the compressing: | This cryptic line in the batch file does most of the compressing: | ||
- | < | + | < |
for /r %%f in (*.bmp *.png *.jpg *.tga) do ..\%PACK_EXE% -flipv -mipmaps -stretch -pvrt4444 %%f | for /r %%f in (*.bmp *.png *.jpg *.tga) do ..\%PACK_EXE% -flipv -mipmaps -stretch -pvrt4444 %%f | ||
- | </cpp> | + | </code> |
- | It's saying turn everything into 4444 raw files, stretch them to be power of two, and flip them vertically. | + | It's saying turn everything into 4444 raw files, stretch them to be power of two, and flip them vertically. It also compresses the final product with zlib, the filesizes of an .rttex are comparable to .png. |
These textures will load on anything. | These textures will load on anything. |
proton/win_3dapp.txt · Last modified: 2010/12/22 03:35 by seth