13 entries in 2005

RenderWanger

Save and load render presets

Saturday, December 24th, 2005

This MAXScript entry has not yet been completed...
(more...)

Macro Lister

Scans all installed macros by category, and creates a dockable tree-view

Monday, October 24th, 2005

Macro Lister lists all installed macros in a tree-view, by category. Double-clicking an entry will run the macro.

Interface

Macro Lister can be docked on the left or right sides of the screen by dragging.

Download and Installation

Download and run Macro Lister 0.5.ms from 3dsmax.

It will create the macroscript in the correct directory for your max version, then you can add the script to a toolbar by going to:

  • Customize > Customize User Interface...
  • and looking under the MAX Script Tools category for MacroLister.

ActiveX Inspector

Lists all ActiveX controls, and lets you interactively test their methods and properties

Wednesday, September 21st, 2005

This MAXScript entry has not yet been completed...
(more...)

HTML Help Template

An HTML template for a good-looking help system for your scripts

Tuesday, September 13th, 2005

This MAXScript entry has not yet been completed...
(more...)

Set and get paths

Assign default paths to both scene and MAXScript directories

Monday, July 18th, 2005

This MAXScript entry has not yet been completed...
(more...)

HTML Interface

A set of functions that allow you to run any MaxScript command from a rollout's ActiveX HTML control

Sunday, June 26th, 2005

MaxHtml provides methods to run max commands from an ActiveX HTML page. Also, provides simple methods to write back to the page.

Example uses:

  • Run MaxScript commands as part of a help system
  • Build a custom UI using HTML / JavaScript

It's form is a struct (function library) in conjunction with a JavaScript library. It is designed for programmers to use within their scripts.

Demo UI

Functions

This is just a base set of functions. I may add more at some point.

parseUrl Parse and run the max command from the web page
addMaxLink Add a MaxScript link to the web page
addHtmlLink Add a normal HTML link to the web page
setBgColor Set the background color of the page to the max UI color

Implementation

HTML

  • Include maxHtml.js in your HTML
  • Construct your HTML links correctly, e.g. <a href="javascript:maxCmd('render()')">render</a>

3dsMax

  • Include maxHtml.ms in your MaxScript
  • Set up the ActiveX browser control to display your html page
  • Use the control’s BeforeNavigate2 event to intercept the links in the web page
  • Pass the url along to the maxHtml struct like so: maxHtml.parseUrl url

Explore the demo to see how things work. Be sure to change the path in the top of the demo.ms file to point to towards the html demo file!

Download

Download MaxHtml.zip

Z-buffer to boxes

Visualize the z-buffer of an image using boxes

Thursday, June 16th, 2005

This MAXScript entry has not yet been completed...
(more...)

VMS Tidy

Re-arranges and beautifies Visual MaxScript output

Thursday, May 19th, 2005

What VMS Tidy is

VMS Tidy reorders the lines of code that Visual MaxScript creates, so that the linear order of the lines matches the visual order of the controls. It also has options for renumbering and renaming controls.

This makes for much quicker prototyping of tools as you can just jump in and start throwing UI elements around without worrying about:

  • Visual relationships between UI elements and code
  • Relationships between groups and contained controls
  • Out-of order lines of code
  • Whitespace between blocks of code
  • Code indentation

VMS Tidy lets you concentrate on the task of designing functional user interfaces within Visual MaxScript before tidying and re-ordering it's output to match the visuals.

Tidy modes

In the screenshot below, some sample code has been pasted into the editor window - as you can see, it's all out of order, jumbled up, and none of the controls have been named (eg spn4, rdo2, chk4).

You can use one of the 3 VMS Tidy modes to tidy up the code:

  1. Layout Only - In this screen, the layout has been tidied with the "layout only" option. VMS Tidy has reordered and indented the code to make it more readable.
  2. Re-number -In this screen, the controls have also been re-numbered using the "re-number" option. Controls that were previously named <control><number> are renumbered in consecutive order, eg spn1, spn2, spn3.
  3. Re-name - In this screen, the controls have actually been re-named, using the "re-name" option. Note how the controls are now named <controlCode><title>, eg spnArms, btnObject, sld1.Naming options can be edited from the Options dialog.

Results

Once the code has been tidied, it behaves exactly the same as before. Here is the result of the above code after clicking the Test button.

Workflow

The process of working with VMS Tidy is this:

  1. Use Visual Max Script to design an your user interface
  2. Copy the code to the VMS editor window
  3. Click the "Go!" button to tidy the code
  4. Copy, re-Edit or Test the code

Options

You can change the options for renaming and restructuring from the options option of the Tidy dropdown.

What VMS Tidy isn't

VMS Tidy is not a visual code designer, or a replacement for the Visual MaxScript Editor.

Known issues

Nested groups are currently not supported. Sorry.

Download and Installation

Download and extract VMS Tidy.zip, then run the main VMS Tidy script from 3dsmax to create the VMS Tidy dialog.

Twist Profile

Apply a curve-defined twist to any geometry

Friday, April 22nd, 2005

This MAXScript entry has not yet been completed...
(more...)

Random 3D Spline

A bit of fun that animates a line!

Friday, February 25th, 2005

This is a "just for fun!" script :)

It creates a spline that randomly snakes from grid point to grid point in x, y, or z only. The end result is a very rectilinear, organic spline.

Download

Download random 3D spline 01.ms.