Tagged 'Tutorials'

Setting up Ultra Edit as your Maxscript Editor

23 votes

This document is meant to get a person RAPIDLY set up to use Ultra Edit as a maxscript editor. This is made possible by a bridge created by Simon Feltman at Rezn8 studios. This bridge enables any third party editor to call internal Max functions. In our case, we will set up our text editor to call 3 internal Max functions, Evaluate, Open, and Encrypt.

A few notes about code optimization

47 votes

The base idea of this topic is to say to all coders - always to research, because this is the only way to get rid of any myths. Each myth may hinder your future development and may leave a wrong impression in us for the MaxScript language at all.

 

Get list of all subfolders

1 vote

-- How to get list of all sub folders in special path --

function GetAllSubDirs_fn MyDirectory =
(
temp = #();
s = 1;
folders = getDirectories (MyDirectory + "/*");
t = folders.count;
while s < t do
(
for i = s to t do (temp = getDirectories (folders[i]+"*");
for j = 1 to temp.count do folders[folders.count+1] = temp[j] );
s = t;
t = folders.count;
)
sort folders
return folders;
)
-- call the function whit a folder path --

GetAllSubDirs_fn("D:")

3DS Max Numerical Expression Evaluator

1 vote

Whenever you have a numeric field in 3DS Max, you can use a nice little feature called Numerical Expression Evaluator. Just click inside that field and press CTRL+N to open Numerical Expression Evaluator Dialog.

Maxscript tutorial: Read external text file

1 vote

As the titles says this tutorial is about reading an external txt file. My friend asked me how to read and external text file using maxscript. He wanted to create a tool that grab system directory paths from an external predefined text file. Check the full tutorial here....

Kindest Regards

Alaa Alnahlawi

How to create a realtime feather system with ParticleFlow

54 votes

this is a very optimized solution to drive the behavior of particles by the deformation of a surface without to use script or complex rigs, this system can be useful not only to animate but just to model objects that have a large number of elements like tiles on a roof or to drive fractured objects to follow a deforming surface and so on, if you like this please let me know so I will produce more tutorials about the various implementations of this system

dotNet links

37 votes

A collection of links to dotNet + MAXScript information available. If you find a useful post, add it in the comments and this post will be updated to include it.

How To Rig A Crank-Connecting Rod System

0 votes

A = Angle Of Rotation
B = Rod Size
R = Crank Radius

CHANGE THE VALUES BETWEEN "..."

A = "X"_Rotation*180/pi
B = "30"
R = "10"
(B+R)-sqrt(B*B-R*R*sin(A)*sin(A))-R*cos(A)

3DS Max Rotate And Scale Using Snap

1 vote

In this video, we will learn how to use Snap to Rotate and Scale objects,
Using any point in the scene.

Be gamma correct!

41 votes

gamma corrected color checker

Gamma correction is one of those buzz words that are really easy in
terms of theory and math but confusing in how they are applied in
practice. As a consequence, it is largely ignored by many graphics
practicioners. This illustrated 10 page article is my attempt at
clarifying gamma correction in the context of 3D CGI by answering most
of the typical questions: "What is gamma? Why do we have it? When should I perform gamma correction? And what happens if I just ignore it?"