ThreadBoard ArchivesSite FeaturesActiveworlds SupportHistoric Archives |
Prelighting Program (Community)
Prelighting Program // CommunitybaroMay 15, 2006, 7:55pm
Prelighting is a very powerfull tool, but rather tricky to use correctly
as it pretty much has to be added in via notepad. I used to be able to prelight all my objects with lovely gradiants and effects when I worked in notepad, but working in wings, I've got no option other than sitting there in notepad with a calculator for hours prelighitng every vertex. But it's very basic math, seems like something a program could very easily do. What I'm looking for is a simple program that looks at the vertex's of an object and figures out its XYZ dimensions then allows you to pick two numbers and a direction, then poof, you've got prelighting. For example. An object 1m thick, 5m wide, and 10m tall, you'd say "top to bottom" and ".5 to .2" and the program would add the #! prelight X X X comand to each vertex doing the basic math to give a gradiant of .5 to ..2 from the top of the object to the bottom. A more advanced version would allow you to set a mid-point, and create gradiants from there. For example, I could set the midpoint at 2m with a prelighting at .6 .6 .6, and a top prelighitng of .1 .1 .1 and a bottom of .2 .2 .2 and it would add the approprate prelight tags to all the vertex's. If such a program existed and was easy to use, it would truely help all of AW. Abuse and over-use of the create light comand absolutely murders the frame rate, but many people don't use the prelight comand as its simply too much work to implement. Anyone able to do this, or perhaps a program already exists? talisanMay 16, 2006, 3:11am
Given a few weeks I could probably write such a program, but it would
probably have several bugs and be unforgiving of differenences in the renderware standard and each users "style" lol. I am sure someone hear could potentially write a far better program than I however and in less time. *eyballs a couple of people* ;) |