@brurpo My hack-ish idea was that you only generate it once somehow. You execute a script that sets a global variable if the sky texture has been generated or not. First time, it will generate it. For all other shaders, it won't, because the global value is now true. Really have no idea if this would work.
If the rotation isn't applied to the mesh you can work in local axis mode by either selecting it in the transform orientation dropdown in the viewport header or by pressing the axis shortcuts twice if you leave it as global. It works even when you constrain the scaling to two axis by pressing shift+axis letter. Example:…
[ QUOTE ] the quickest and easiest way to get global illumination is probably to go to rendering> advanced lighting> light tracer, then stick a skylight somewhere in the scene. [/ QUOTE ] Yup, the majority of 'quick + cool' renders I see all over this board and others are done like that. The global illumination give ya the…
Here's a hint to make things that toggle into really simple code: toggleCmd -flag (1-`toggleCmd -q -flag`); So in your case: selectPref -useDepth (1-`selectPref -q -useDepth`); To make it callable from the command line, you need to make it a global procedure and load it. Making it a procedure is simple: global proc…
Maya 2013 SP1 Whenever I update a PSD network, all of the materials in the scene change their Texture Filter to "Use Global Settings", I have to go back in and change them to "Unfiltered" every single time. I'm working with really low resolution textures and need my materials to stay unfiltered.. Can I change the global…
Hey all you scripting gurus. How do I create a scriptnode that contains a larger amount of code? I need to create a scriptnode (with MEL) that contains my global procedure, but the syntax gets broken if I try to add it all in to the scriptnode command.... Or is there another solution? I want my scriptnode (that runs on…
ya your doing good making something like this if your just starting to get familiar with mel. as far as code organization, you should be trying to use global variables less, and use function arguments and returns in there place, This makes it easier to read the code, and also prevents conflicts with pre-existing global…
Hi polycounters! I'm developing a tool that load every scripts contain a subfolder (called "Pickers") and then load into the Rollout the script, in this case is another Rollout. The problem is when I execute another instance, if you select another external script (not human), this is loaded perfectly but if you select…
I'm also somewhat tired of steampunk - I'm with the Biosphere - so long as it's not too 'generic sci-fi'. Edit: You could try an interesting twist on it - it's all too obvious to have a big industrial dome full of foliage. What about something where this is a bit flipped? Consider global warming going too far in future,…
Awesome, looking forward to this. Btw, I just discovered how to get custom lighting to work perfectly with lightmaps (while still maintaining custom specular). While it may not be ideal for memory, the trick is to use toggleable lights with indirectlightingscale turned to 1 in their settings (they default to 0, making it…