[Bf-committers] Render to texture

Nikola Radovanovic bf-committers@blender.org
Sun, 28 Mar 2004 00:50:50 +0100


Did anyone think to implement render to texture feature in Blender.
It is great stuff, for games in first place, better than radiosity.
I think that think like that is better to be done in c++(integrated)
than in python (like plugin) for batter performance, and maybe is
simpler to be done.

* Maybe I can make it by myself in python, but it will take forever, I
bet that there is much better programers in there.

There is the step what I can propose:

1. Calculating total face number of selected object.
2. Dividing selected texture matrix (128x128, 256x256, ...) to fit
total face number in it, so we got size of small image what should be
render for one face. That size also can be different depending on face area.
3. Making a ortho camera normal to face and render an image, do that
for all selected faces in object.
4. Collect all render images in one big (128x128, 256x256, ...), save
it and import in blender.
5. Make unwrap coordinates for selected face to match rendered image.

I think that it is not so complicated to do that. There is field
rendering, I think that it can be used for my approach.

Till it be implemented in Blender I will be forced to use 3DSMax for
making textures with realistic shadows with not complex radio objects.

Serbian Blender Community
Nikola Radovanovic