PDA

View Full Version : PreRender Script


svenip
10-17-2002, 04:31 PM
Hi to all,

at first, i'm fine in my new job and really like the work.

for one problem we hade i made a little script for.

problem was to do pre renderings, without any textures, but also without the need of creating a new scene (select all surfaces and apply one shader to all). we needed something to get the original state of the scene back after rendering.

so i've searched a bit and found a little script at highend, which disconnects all shading informations and all would be rendered grey.

my solution creates a new shader, which you can simply change everything to your needs.

so, what does the script.

simply, it stores the information about the old shader of the surface and attaches the new one. the restore gets the info back and restores everything.

it helped out a lot here even it's a little one.

hope you like it, and of course comments are welcome.

svenip

svenip
10-17-2002, 04:40 PM
here is the file !!!

sorry something got wrong

CGTalk Moderation
01-13-2006, 07:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.