SC4 Devotion Forum Archives

SimCity 4 General Discussion and Tutorials => Tips, Tricks and Tutorials => Tutorials on Custom Content Creation => Topic started by: joelyboy911 on March 03, 2010, 02:14:50 AM

Title: Introduction to Parametric Modifiers in GMAX
Post by: joelyboy911 on March 03, 2010, 02:14:50 AM
This tutorial will deal with a little tool in Gmax called the Parametric Modifiers. You may have seen them there in the Modifiers Roll-out and wondered what the heck they were for. This tutorial should help you learn to use them, but to get used to using them and figure out all the things they can do, you'll need to experiment and play around with them yourself.

Before reading this tutorial you should already know how to move, resize and rotate shapes, as well as use the "Edit Mesh" function.




Getting Started

To demonstrate the different modifiers in this tutorial, I'll be using basic geometry such as cubes and planes, but there is one very important pre-requisite to the objects you use Parametric modifiers on: They need a lot of vertices. To do this, change the number of "segs" (segments) for width, height and length. As you get to know the modifiers you can get used to knowing how many of each you need to get the desired effect. If you use too few, the surfaces you modify won't appear smooth. These modifiers only move the existing vertices, they can't make any more.

(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fi597.photobucket.com%2Falbums%2Ftt56%2Fjoelyboy911%2FIntro1.jpg&hash=97278e50c8ae83a028616420f0f3c63a4a885bb8)

When you have the object you're going to modify, click the blue rainbow and open the Modifier List and scroll down to Parametric Modifiers. Here you will find roughly 15 different terms. This Tutorial will explore 11 of them.

(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fi597.photobucket.com%2Falbums%2Ftt56%2Fjoelyboy911%2FIntro2.jpg&hash=86fe2866a575f3d52c06efcdefa9051866d60269)

When you choose one of the options, a new input dialogue-type thing will appear under the Modifiers roll-out. Manipulating these controls is what will make you good at Parametric Modifying.




Bend

(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fi597.photobucket.com%2Falbums%2Ftt56%2Fjoelyboy911%2FBend1.jpg&hash=98b2da5f51537318c5dfaed08436f95f509e977c)

To put a simple bend in your object, simply choose the axis you want, and add or subtract from the "angle".

For more complex bends, you can change the value of "direction" or use the Upper and Lower Limit values. You can also click the little + next to "Bend" in the Modifiers Stack

(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fi597.photobucket.com%2Falbums%2Ftt56%2Fjoelyboy911%2FBend3.jpg&hash=f2bade220dc793ec68c807bed0ab0fe999fb67c7)

Then you can use the "Gizmo" or the "Centre" to move the effect of the bend in relation to the object. As with all Gizmos, you move it using the Move tool, just as you would move any object in Gmax.

The Bend modifier is among the most useful of the Parametric Modifiers. You can use it to make curved roofs, for example, or to bend plumbing, as Driftmaster asked me how to do.

(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fi597.photobucket.com%2Falbums%2Ftt56%2Fjoelyboy911%2FBend2.jpg&hash=07960c98b0889fbb14089a5189d59342d34a95f1)




Taper

The taper tool is also a useful one. It is used to make the object more pyramid-shaped (it squashes/englarges one side of the object). This happens when only the "Amount" figure is changed in the command panel.

When the "Curve" figure is changed, it gets more exciting.

If you use "Curve" but no "Amount" you get either a bulge out or a suck in on the axis of the shape selected in "Effect"

(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fi597.photobucket.com%2Falbums%2Ftt56%2Fjoelyboy911%2FTaper1.jpg&hash=67ffc4fe70467f2e17537e718b96b68ee0d00caf)

When you use both figures, you can make useful/interesting shapes.

(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fi597.photobucket.com%2Falbums%2Ftt56%2Fjoelyboy911%2FTaper3.jpg&hash=46ee531f9c7064127962ca485d5ab80e12521205)

Maybe this could become the top of a post-modern minaret?

(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fi597.photobucket.com%2Falbums%2Ftt56%2Fjoelyboy911%2FTaper2.jpg&hash=f072154e99275568b662f273385dd44fd950e645)

This could be the Capital of a Pillar?




Twist

This modifier's name is pretty self-explanatory. It has one main input figure - "Angle".

(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fi597.photobucket.com%2Falbums%2Ftt56%2Fjoelyboy911%2FTwist1.jpg&hash=539af45a1e234f4cac90f23eee6e429255fa6fab)

That figure is the number of degrees the shape will be twisted. Limit can also be used, and Bias has an effect as well. I advise you to experiment with these if you want to know more. (I can't spoon-feed you all the info :P)




Noise

This is one of the (on the whole) less useful features.

(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fi597.photobucket.com%2Falbums%2Ftt56%2Fjoelyboy911%2FNoise1.jpg&hash=8323c9e75ef3957caf14cf5a34f741c97891ab98)

By selecting "Fractal" and adding to the "Strength" on the axes you want to add noise, you can add a degree of roughness to the object.




Push

The push function appears (to me) to act like inflating the shape. By adding a positive number to the "Push Value" you get something like this:

I beleive it means that the corners (not to confuse with vertices) and edges are all pushed out from the centre.

(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fi597.photobucket.com%2Falbums%2Ftt56%2Fjoelyboy911%2FPush1.jpg&hash=5fc2bf2c300a660fd0a5050776d153a0c0dd8c1f)

However, if you put a negative number as the "Push Value" you may get something like this:

(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fi597.photobucket.com%2Falbums%2Ftt56%2Fjoelyboy911%2FPush2.jpg&hash=4b0ca701842d813966ae67aad1c1d6ed313ac500)

Interesting, no doubt, but not overly useful. :P




Relax

The Relax function is used to soften the edges of shapes - it can make a square box almost right into a sphere (but not quite).

(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fi597.photobucket.com%2Falbums%2Ftt56%2Fjoelyboy911%2FRelax1.jpg&hash=18e91665c0098e601c56769f296a3b59ffd061ea)

By adding to "Relax Value" and then to "Iterations" you can achieve a progressively more exaggerated result.




Ripple

The ripple effect adds ripples to the object. For that reason, I'll demonstrate on a plane.

(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fi597.photobucket.com%2Falbums%2Ftt56%2Fjoelyboy911%2FRipple1.jpg&hash=5e57e277252e0f405220d3612e0b4e7a532354ea)

The Amplitude figures should be kept equal if you want to have a pebble-in-the-millpond style ripple. If they are different, you will have a different effect (you should experiment with it if it interests you).

The wavelength determines how many ripples will appear on the object - the lower the wavelength, the more ripples in the space.




Wave

Wave works in a similar way to Ripple, but instead of creating a circular pattern, it makes a linear one:

(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fi597.photobucket.com%2Falbums%2Ftt56%2Fjoelyboy911%2FWave1.jpg&hash=c3a646a67b5df3a01b03acd6d9f739bd73d8ad63)

There are still two amplitudes, and Wave Length. If you use Decay, the waves will lose amplitude (decay) with each phase of the wave. If you use the Phase command, the wave moves along its phase in relation to the object. Once again, I urge you to experiment with each and every one of the functions that you use.




Skew

(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fi597.photobucket.com%2Falbums%2Ftt56%2Fjoelyboy911%2FSkew1.jpg&hash=fcea11636ceab73a80c3ba066ca05896e790ea2b)

Skew is quite simple. Its the same as skewing an image in MS Paint. You choose the amount, direction and Axis, and it skews the object accordingly.




Affect Region

Affect region is one of the harder modifiers to get right, as it can be somewhat complicated.

(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fi597.photobucket.com%2Falbums%2Ftt56%2Fjoelyboy911%2FAffectRegion1.jpg&hash=b4832b7164393538fd9a77e60f9a3d7675caef3a)

You change the effect that "Affect Region" has by moving the "Points"

(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fi597.photobucket.com%2Falbums%2Ftt56%2Fjoelyboy911%2FAffectRegion2.jpg&hash=6185d74a99a798bd863a9927d8646d7c494b10b3)

Moving these is the same as moving the "Gizmo" and "Center" in the earlier examples.

If you change the "Falloff" then the Region that is being Affected changes size, and you can get something like this:

(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fi597.photobucket.com%2Falbums%2Ftt56%2Fjoelyboy911%2FAffectRegion3.jpg&hash=5ec38cffa0e50109a88ace9dcaa67b41906faa55)

Once again, I haven't provided all the details, give it a go yourself and play until you get it right.




Displace

This modifier is a very interesting one. It works by adding a bitmap to the object to raise vertices, like transferring a relief map into 3D.

I made this grayscale bitmap:

(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fi597.photobucket.com%2Falbums%2Ftt56%2Fjoelyboy911%2FDisplace1.jpg&hash=ae62a4f1ac29d622d416f021235a353d9917ff80)

Then, I clicked on "Bitmap" and navigated to the bitmap I created.

(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fi597.photobucket.com%2Falbums%2Ftt56%2Fjoelyboy911%2FDisplace2.jpg&hash=b8db7f8a4b13bc62e57beaa64d27712087c86095)

By adding "Strength", you can control the height of the mapping you've done. As you can see, I've ended up with a perfect model of a err... volcano. This function can be used to make a gmax model of your region if you have the grayscale of your map available. Otherwise it can be used to add detail to objects without moving individual vertices.

I can't stress enough the importance of experimentation. If you try and don't succeed, try again.




There are some of the Parametric Modifiers not included in this tutorial. They are Slice, Xform and Preserve, because I don't know what they do, and Mirror because that one is very self-explanatory.

Best of luck using Parametric Modifiers to improve your BATs!
Title: Re: Introduction to Parametric Modifiers in GMAX
Post by: manchou on March 21, 2010, 11:29:38 AM
Very useful for BATers  :thumbsup:  &apls

Thanks a lot !
Title: Re: Introduction to Parametric Modifiers in GMAX
Post by: gundamgeneral on June 04, 2010, 07:38:25 AM
quite nice thanks
Title: Re: Introduction to Parametric Modifiers in GMAX
Post by: thingfishs on June 04, 2010, 08:37:55 AM
that's a really handy guide Joel, :thumbsup: :thumbsup:

I've figured most of this stuff out now,but this would have made the process a lot less painful, and I'm sure it will help others.

Title: Re: Introduction to Parametric Modifiers in GMAX
Post by: smstevenms on March 24, 2011, 09:44:37 AM
I'm a little confused about a step. Right after the box is changed to a arch you have it turned into a arching tube. To ensure that I understand the tools functions can you explain how this was done. I have tried to reproduce without success. Thank you for this tutorial btw.