ScriptSpot is a diverse online community of artists and developers who come together to find and share scripts that empower their creativity with 3ds Max. Our users come from all parts of the world and work in everything from visual effects to gaming, architecture, students or hobbyists.
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.
Submitted by Martin Breidt on Sun, 2009-06-14 14:54
41
votes
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?"
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 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 --
Submitted by Augusto Lombardi on Mon, 2010-03-15 06:04
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
This document should be used as a source of input when developing your own, or your company’s, coding standards for MAXScript. There are many ways to format code, this style being just one of near infinite choices.
Quick tutorial covering some basics of maxscript, generating and controlling objects etc. Might be useful for people wanting to get their feet wet with scripting.
Submitted by Alaa alnahlawi on Tue, 2016-04-26 17:55
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....