Horde3D
http://horde3d.org/forums/

Pre Rendered textures ?
http://horde3d.org/forums/viewtopic.php?f=5&t=490
Page 1 of 2

Author:  Siavash [ 04.09.2008, 14:59 ]
Post subject:  Pre Rendered textures ?

I'm n00b and don't have enough knowledge about texturing.
As you know most of the games for increasing fps are using prerendered textures.I don't know how to make and where to use them :?:

Any ideas, techniques, trix and helps about texturing are welcome :wink:
[I'm using Blender]

Author:  Volker [ 04.09.2008, 15:35 ]
Post subject:  Re: Pre Rendered textures ?

I don't exactly know what you mean. Do you want to render the screen to a texture? Or do you want to create procedural calculated textures?

Author:  Siavash [ 04.09.2008, 18:24 ]
Post subject:  Re: Pre Rendered textures ?

If you look at this picture you see that they didn't use realtime shadow and lighting on the stones, trees and ...

I want to know how to build those textures

Attachments:
File comment: WarCraft III screenshot
WCIII RoC.jpg
WCIII RoC.jpg [ 16.76 KiB | Viewed 23102 times ]

Author:  phoenix64 [ 04.09.2008, 18:31 ]
Post subject:  Re: Pre Rendered textures ?

You can either use RTT for rendering the rocks onto a texture or just render them in the graphics program of your choice and save them as normal textures. For this I'd do the latter, ingame when you use impostors you often just render them onto a texture from the current camera position or with an orthogonal camera and use that.

Author:  swiftcoder [ 04.09.2008, 20:29 ]
Post subject:  Re: Pre Rendered textures ?

Siavash wrote:
If you look at this picture you see that they didn't use realtime shadow and lighting on the stones, trees and ...
If you dial the quality settings all the way up, you will see that they are using dynamic lighting, but the main light has a very sharp falloff.

Author:  DarkAngel [ 05.09.2008, 01:23 ]
Post subject:  Re: Pre Rendered textures ?

These kinds of pre-rendered (also called "Baked") textures are usually created by the artist in the modelling program (e.g. 3D studio max).

Author:  Siavash [ 05.09.2008, 05:39 ]
Post subject:  Re: Pre Rendered textures ?

DarkAngel wrote:
These kinds of pre-rendered (also called "Baked") textures are usually created by the artist in the modelling program (e.g. 3D studio max).


Blender features Baking too, but as you know most of the tutorials and learning resources are outdated or not complete (WikiBooks - Blender 3D: Noob to Pro)

Author:  Siavash [ 05.09.2008, 12:28 ]
Post subject:  Re: Pre Rendered textures ?

I think using UVmaps is the only way.It's a bit hard and you must create textures manually but gives better results at last :roll:

Author:  Sniper [ 05.09.2008, 13:26 ]
Post subject:  Re: Pre Rendered textures ?

I would prefer bakeing the textures at loading time by using an own implementation and not using a 3D-Program like Blender or Lightwave to bake it.
Because I guess it will use allot of diskspace when you want use larger scenes?? Of cause this depends on texture size. Also prerendered textures are easier to make and can have better quality but I still would prefer generating it at loading time if possible.

Author:  swiftcoder [ 05.09.2008, 13:36 ]
Post subject:  Re: Pre Rendered textures ?

Sniper wrote:
I would prefer bakeing the textures at loading time by using an own implementation and not using a 3D-Program like Blender or Lightwave to bake it.
That means implementing a complete lighting solution on your own - the plus side is that you can implement true global illumination, etc. with no performance hit, the downside is that all your lighting will be static.

Quote:
Because I guess it will use allot of diskspace when you want use larger scenes?? Of cause this depends on texture size. Also prerendered textures are easier to make and can have better quality but I still would prefer generating it at loading time if possible.
That depends how the level is setup. If you are tiling textures, then yes, you will have to switch to unique texturing, if you are already using unique texturing, it wont take any more space.

Author:  Siavash [ 05.09.2008, 14:09 ]
Post subject:  Re: Pre Rendered textures ?

Sniper wrote:
I would prefer bakeing the textures at loading time by using an own implementation and not using a 3D-Program like Blender or Lightwave to bake it.


Then how to bake textures at loading time :?:
Is it possible to assign shaders at runtime to them to avoid static lighting :?:

Author:  gunnar [ 05.09.2008, 14:19 ]
Post subject:  Re: Pre Rendered textures ?

Siavash wrote:
Is it possible to assign shaders at runtime to them to avoid static lighting :?:


See this page: http://wiki.blender.org/index.php/Manual/Render_Bake

And read this book: http://www.amazon.com/3D-Game-Environme ... 752&sr=8-1

Author:  Sniper [ 05.09.2008, 14:50 ]
Post subject:  Re: Pre Rendered textures ?

swiftcoder wrote:
That means implementing a complete lighting solution on your own - the plus side is that you can implement true global illumination, etc. with no performance hit, the downside is that all your lighting will be static.

Yes thats true. I did'nt said that this is an easy job...
Anyway if you use small scenes simply use unique precalculated textures .. I won't make much difference and is simple to implement. Or use dynamic lightning all the time :wink:

Well I'm not a PC 3D specialist .. I coded more stuff on much slower machines where dynamic lightning is very limited and only some MB RAM and not some GB. So mostly I used 64x64 or 256x256 textures 256cols which does not take that much memory.

Author:  Siavash [ 05.09.2008, 15:19 ]
Post subject:  Re: Pre Rendered textures ?

gunnar wrote:
Siavash wrote:
Is it possible to assign shaders at runtime to them to avoid static lighting :?:


See this page: http://wiki.blender.org/index.php/Manual/Render_Bake

And read this book: http://www.amazon.com/3D-Game-Environme ... 752&sr=8-1


Here is a good tutorial about UV mapping with Blender for n00bs 8)

Author:  PuG [ 10.09.2008, 09:07 ]
Post subject:  Re: Pre Rendered textures ?

If your geometry is using UV tiled textures, you could asign a second unique UV map for a pre-baked AO pass for instance.

Page 1 of 2 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/