Logo Tools - Convert Bitmaps to MXS by David Mackenzie

Logo Tools v1.00
Logo Tools v1.00

Here is a script designed for other script writers. Anyone who has spent some time creating custom images for their scripts and tools know how much of a pain it can be wrapping them for distribution. Logo Tools is designed to make that a little bit easier. It allows you to pick an image and then convert it to a maxscript array so you can embed your bitmap into your script. All of the functions and code required to convert your maxscript array back into a bitmap are included.

This is a very easy, neat and tidy way to package your scripts up. I normally include the code in a install script that writes all of the bitmaps to disk so they can be used again later. If anything ever happens to those images your script has the code to recreate them on the fly.

Logo Tools is very easy to use, just follow the steps below:

  1. Pick an image file that you would like to convert. Do this by clicking the "+" button.
  2. Now pick the file to output again by clicking the "+" button. This file will contain the array representing the bitmap and a code required to convert the array back to a bitmap.
  3. You can now hit the "Make It So" button to get the ball rolling. The progress bars will continue to update until complete.
  4. You can now open the outputted script file which will have the array and a function to create the bitmap already in it.

If you run into any trouble or have any ideas on how I could improve this script please let me know. Feel free to leave a comment below.

To download Logo Tools just click here.

Remember the bigger the image you select the longer it will take and the larger the resulting script file will be.  This script is really designed to handle small logos and button icons that would be added to custom tools. Running the script on a large image will take a long time and the script file will be huge!

I have been asked for an example on how to integrate the images into a GUI control. Below you can download the source for my script (I think some people thing I did not write it??) along with a small example showing how to add an image to a button. I should also mention that the max script help file has excellent resources for working with images and UI controls.

To download Logo Tools source and demo click the link below.


Wire Colour Tools by David Mackenzie


Wire Colour Tools is a simple script for setting random wire colours to all of the objects in the scene. Anyone who does allot of post work either in PS or a compositing package should find this script useful. Being able to adjust any element or of your project in post by the object enables you to get the most of your image, rendering Wire Colour passes is very simple and inexpensive from render time point of view.

Wire Colour Tools
Wire Colour Tools

You can download it here.

Wire Colour Tools has three way in which you can use it:

  • Colour By Layer. This sets a random wire colour all of the objects on each layer.
  • Colour By Material. Perhaps the most useful of the three options this one will set all objects wire colour based on the material that is applied to it.
  • Random Colour. This is pretty self explanatory it allows you to set a random wire colour to every object in the scene.

There is also the option to run these only on selected objects.

To install just copy "" to you 3dsmax/Scripts directory and then run "wireColourTools_Macro.mcr". You will then be able to find the script in the Customize User Interface options under the category "Daves Tools".

I hope you find Wire Colour Tools useful. Again if you are doing allot photoshop work on your images I imagine this tool will save you some time.  If you have any suggestions for new features please let me know and I will do my best to get them in there. If you do come across a bug please let me know.



V-Ray Material Shortcuts by David Mackenzie

Vray Material Shortcuts

These short cuts are really collection of very simple Macro scripts. Like my Turn Viewport Maps On/Off this one has had some serious staying power with artists to date it has to be one of my most used scripts. All of the macros are designed to manipulate V-Ray materials globally throughout the scene, very quickly and efficiently. Each macro effects every V-Ray material in the scene. They are very handy in a number of situations, for example when you get a file from a junior that has the glossy sub divs on every material sky high.

Vray Material Short Cuts Screen Cap
Vray Material Short Cuts Screen Cap

You can download it here.

To install just run the script and all of the macros will be available under the category "Daves Tools" where you can choose to add all or some of them to a menu. I suggest you create a new menu and add them all to it. At the request of my good friend Warwick Hays from Monkey3Media I am currently in the process of creating a GUI version as well that will give artists a lot more control. If you have any suggestions for improvement or there is anything else you would like automated in V-Ray please let me know  I am always looking to expand upon and improve my scripts.