OT: another mass rendermap script
| Date : Thu, 5 Jul 2007 14:16:47 +0300 |
| To : <XSI(at)Softimage.COM> |
| From : "Alexander Hemery" <vortex(at)fhw.gr> |
| Subject : OT: another mass rendermap script |
|
Hello everyone,
I'm attaching this small xsiaddon in case it might
come handy to anyone, it's 3 scripts I made to bake occlusion/lightmaps on
several buildings we have here, to be used with a multitexturing technique
for VR in a dome.
VR_Occlusion:
This is where you
setup your rendermap properties, shader type, autoUV type etc.
It uses the object's surface area to determine the
texture size generated, and you have to input some values ..for example..a
512x512 texture will be generated for all objects with surface area
from the previous(256x256texture value) up to 1000 and so on.
Before clicking OK and let it run you should click
the buttons to freeze transformations,delete
materials/rendermaps/UVs.
The "hack ao spdl" button is to adjust the max
distance value, since the rendermap uses 0 (infinite) ..as opposed to the shader
where you can adjust it. (xsi needs to be restarted after the spdl has been
edited for it to have effect)
When it's finished you should have the occlusion
textures applied on each object and visible in the textured
viewport.
(Keep in mind all the default values is what works
best here for me.. probably won't work for you!)
MaxSrfSelect:
This just makes a selection depending on the user
selected MAX surface area. I use it to select small objects and merge
them.
VR_rename: appends prefix/suffix to all object's
names.
All this is in plain VB and some parts of the
script might come handy to someone... For me it's been a great help to look
at other's scripts (Ofcourse Bernard has been very helpfull too ..cheers man :)
Alex.
|
Attachment:
VR_Occlusion.xsiaddon
Description: Binary data
| DATE: | << | >> | THREAD: | << | >> | INDEX: | Main | Thread |
|---|
- Previous by Date: Re[2]: render managers for 6.x
- Next by Date: Re[2]: render managers for 6.x
- Previous by Thread: Re[2]: render managers for 6.x
- Next by Thread: Re[2]: render managers for 6.x
- Index(es):
| Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available. |