proton:win_3dapp
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
proton:win_3dapp [2010/10/29 13:00] – created 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 16: | Line 16: | ||
However, I don't mind too much, because it means for games that don't require 3D, Irrlicht doesn' | However, I don't mind too much, because it means for games that don't require 3D, Irrlicht doesn' | ||
+ | |||
+ | ====You built RTBareBones and RTSimpleAPP, | ||
+ | This tutorial assumes you already did [[proton: | ||
====Compiling RT3DApp on Windows==== | ====Compiling RT3DApp on Windows==== | ||
Line 24: | 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. | ||
Line 91: | Line 94: | ||
It also loads a separate .b3d file for the collision data, this lets you simplify it and make it so trees and things are smoother to navigate around. | It also loads a separate .b3d file for the collision data, this lets you simplify it and make it so trees and things are smoother to navigate around. | ||
- | Hmm, I probably should put up the .max file of the house scene as well as an example for 3DSMax users, bug me if you need it. :) | + | Hmm, I probably should put up the .max file of the house scene as an example for 3DSMax users, bug me if you need it. :) |
====Does this mean I can pop out a 3d game now?==== | ====Does this mean I can pop out a 3d game now?==== |
proton/win_3dapp.txt · Last modified: 2010/12/22 03:35 by seth