Notifications
Clear all

[Closed] CGTALK MAXSCRIPT CHALLENGE – Topics and Suggestions

The weekly maxscript challenge is to encourage scripters to think about new ways of tackling problems in day to day scripting. I’ll post up a new challenge each week, with basic guidlines and rules.

What I need however, is ideas from you. I’ve got a bunch of them stored up in my head, but they’ll dry up eventually. I’d like thoughts on topics, rules and ways of tackling the challenges. Think of this as a scripting melting pot for each challenge.

Have fun!

The challenges so far:
CgTalk Maxscript Challenge 001: “Make a Dining Table”
CgTalk Maxscript Challenge 002: “Split it up”
CgTalk Maxscript Challenge 003: “Foot Prints”
CgTalk Maxscript Challenge 004: “Zipper Up”
CgTalk Maxscript Challenge 005: “Lightning Bolts”
CgTalk Maxscript Challenge 006: “Object Photo Album”
CgTalk Maxscript Challenge 007: “Laser wars”
CgTalk Maxscript Challenge 008: “BACK TO BASICS: Bitmap to Planes”
CgTalk Maxscript Challenge 009: “BACK TO BASICS: Flickering light”
CgTalk Maxscript Challenge 010: “BACK TO BASICS: Random Concept Creator”
CgTalk Maxscript Challenge 011: “Circular Array Tool”
CgTalk Maxscript Challenge 012: “Corner Placer”
CgTalk Maxscript Challenge 013: “BACK TO BASICS: Scene graph”
CgTalk Maxscript Challenge 014: “Spider Web”
CgTalk Maxscript Challenge 015: “Automated Motions”
CgTalk Maxscript Challenge 016: “L-Systems!”
CgTalk Maxscript Challenge 017: “Project Management”
CgTalk Maxscript Challenge 018: “Wear and Tear”
CgTalk Maxscript Challenge 019: “Fun and Games”
CgTalk Maxscript Challenge 020: “Build a Better Tool”
CgTalk Maxscript Challenge 021: “More Information?”
CgTalk Maxscript Challenge 022: “Particles”
CgTalk Maxscript Challenge 023: “BACK TO BASICS: Simple Rig Generator”

128 Replies

The Wahooney’s suggestions.

[ol]
[li]An image viewer (ala ACDSee) complete with treeview for the harddrives and folders. Must have a preview block.[/li][li]Render time “Grey Render”.[/li][li]Simple file versioning system. With checking in/out of files.[/li][li]Vertex Lock, ala XSI. [/li][/ol]

whoa, an image viewer, sounds a little complicated for a short challenge! I was thinking of smaller quick things.

A file versioning system is a good idea, some other interesting things might just be functions, like matrix rotations (ie rotating an object, not the pivot) or maybe a render effect.

I’ll see what else I can think of.

J.

Unfortunately, this is already in the MAXScript Reference, only 23 lines of code. I am afraid this would be too easy and there are not too many ways to skin the cat in this case…

2 Replies
(@wahooney)
Joined: 11 months ago

Posts: 0

Do you mean the Monochrome Effect? That’s not what I’m talking about. I’m talking about something like Brazil’s Global Material Replacement (White Plaster in particular) but for the Scanline Renderer.

(@bobo)
Joined: 11 months ago

Posts: 0

Well, that is better, and there is a good reference example in How To… for it, it just does not change materials.

Should be less than 10 lines of code I think, but much more fun

Hey scripteroonies, I hate to sound too eager but, well I am! where’s the new challenge!!

J.

The new challenge will be up shortly.

Nore topics please everyone! The more creative ideas we have the better!

some suggestions:

  1. City Maker (Cityscape)
  • probably have a random building maker, with random position, random designs, random materials etc… (greeble?)
  1. Max Explorer
  • a max version of the windows explorer (lets you browse folders and files etc)
  • include as many features as you can like copy, paste, arrange, folder icons etc…
  1. Guessing Game Script (Hide-a-coin-under-three-cups-and-shuffle-it-game)
  • I really dont know what you call this game, in the real world, you usually would have 3 cups turned upside down, then a person would have hid a coin inside one, thus shuffle it, you’ll then have to guess where the coin went. kinda like just assigning a random position for it or something… it could just be a quick start for creating maxscript games…
  1. Randomizer
  • random position, rotation, scale
  • able to add controllers, and randomize them also
  • randomize vertex position
  • randomize material id assignments
  • randomze object selections, face selection, vertex selections etc…
  • randomize anything!
  1. Light Control
  • given a default scene, probably a room with some elements
  • with a script, one would control light placement, intensity, colors, etc… basically set up the mood of the room through script…
  1. Transformers
  • transform a basic box into a robot (hehe)
  • id suggest using sliders… slide em up or down to transform from a box to a robot.
  1. Scripted Material -> Smoke
  • can be easily applied to a facing particle
  1. Scripted Object -> A New Kind of Teapot!
  • or probably just scripted cups, plates and tomblers etc…

ok… running out of ideas…:eek:

I would also like to suggest that challengers indicate which max version they are using, sometimes some scripts won’t work with other versions…

 JHN

More ideas…

1.How about a Non Liniear Animation Mixer Utlity device :D…oh wait… didn’t… hmm

2.An interactive beveler with drawing capability’s to draw branches on trees etc. LW has a plugin for that…

3.An extended Custom Attribute editor, that let’s you insert/edit scripts in a CA

4.FindMayaOnThisSystemAndTotallyUninstallIt-andQuicktimeToo script

One of my favourites would be a shaderOverride
5.shaderOverride would take the shading properties of one material, but let’s you use maps/materials of an other material, completely take shading and texturing apart.

6.Complete rig existing of only parametric modifiers for skin (like bend/twist/stretch etc) and only Nulls to control them (no FFD’s though!:)) … hmm

7.Greeble that does subdivide

Well, I guess these are more or less my wishes… thought I would chip in some…

Cheers,
Johan

Here are my suggestions (not sure how many already exist as scripts, but never the less some scripts I think it would be fun to make … and use):

(a) STONE MODELLER
A script to model a stone (or many different stones) easely … and maybe adding material IDs. Could be implemented using modifiers like bend, twist, taper etc. randomly, and/or as a new “Stone” modifier

(b) BOOK MODELLER
A script to model a book, with options for height, width, thickness etc. Maybe even options to have it open and turn a page or two?

© BOOK SHELF MODELLER
A script to build a bookshelf full of different sized books.

(d) LABYRINTH BUILDER
I remember that I once saw some algorithms to build labyrints (unfortunately I dont remember where), but thought it would be so cool to have a MaxScript build a labyrinth in 3D.

(e) PIPE BUILDER
A script to build a system of pipes like a mad plumber

(f) INTERACTIVE SPRAY CAN
A script to randomly “spray” small objects on a given mesh (like a spray can), using the mouse movement from the user.

(g) 3D CHART ANIMATION
A script to make a 3D Chart diagram with those colored columns, eg. reading data from a spredsheet… making a small animation of the changes in the diagram (based on the spreadsheet values).

(h) BASIC 3 POINT LIGHT
A script to create a camera from the current view and then place three lights (key, fill and back) in relation to a selected object in the scene. This script should place the lights in chosen angles in relation to the camera (I have seen similar scripts but the part with the angles I have not seen a script do yet?)

Best regards,
Lars

Page 1 / 12