PDA

View Full Version : Building a pyramid of stones in 5 minutes


jussing
08-18-2006, 01:21 PM
http://www.duck.dk/bin/pyramidtut_01.png

Allright, here's a quick tut I've been promising a handful of people to make, but it's been quite delayed. :) We're going to build a pyramid out of stone blocks, like the one in my canyon pyramid clip.

(http://forums.cgsociety.org/attachment.php?attachmentid=100228&stc=1)

jussing
08-18-2006, 01:22 PM
We're going to start off with the excellent pyramid primitive, just drag it in the viewport until it has your preferred dimensions, and make sure the width and depth are the same.

http://www.duck.dk/bin/pyramidtut_02.png


http://www.duck.dk/bin/pyramidtut_03.png

jussing
08-18-2006, 01:23 PM
Slap an edit poly modifier on, and delete the faces in the bottom, since we don't want stones where we can't see them anyway.

http://www.duck.dk/bin/pyramidtut_04.png

jussing
08-18-2006, 01:25 PM
Next, create the box that will be the building block. For starters, make the block a lot larger than you think you will need, and make sure the dimensions are symmetrical.

http://www.duck.dk/bin/pyramidtut_05.png

jussing
08-18-2006, 01:27 PM
If you want to do anything special with the building blocks, such as making bevelled edges or any special mapping, now is the time.

http://www.duck.dk/bin/pyramidtut_06.png

jussing
08-18-2006, 01:28 PM
Next, select the pyramid primitive, and add a subdivide modifier.

Tweak the "Size" setting until you get the division you want (we are going to place a building block at each vertex).

http://www.duck.dk/bin/pyramidtut_07.png

http://www.duck.dk/bin/pyramidtut_08.png

jussing
08-18-2006, 01:30 PM
Then select the box, and under "Compound objects", click "Scatter". This will distribute the box over the surface of another object.

Click "Pick distribution object", and select the pyramid primitive.

This will put one large block on the side of the pyramid shape.

http://www.duck.dk/bin/pyramidtut_09.png

jussing
08-18-2006, 01:31 PM
Scroll down to the display menu in the scatter rollout, and turn on "hide distribution object".

http://www.duck.dk/bin/pyramidtut_10.png

jussing
08-18-2006, 01:31 PM
Scroll back up, and de-select "Perpendicular", and select "All vertices". From this point on you will experience a certain drop in performance, as the box is scattered all over the pyramid surface.

Scale down the building blocks in "Base scale", until you get the stone size you want.

Now we're getting there!

http://www.duck.dk/bin/pyramidtut_11.png

jussing
08-18-2006, 01:33 PM
The pyramid still doesn't look random enough, so let's scroll down to the "Transforms" menu in the scatter rollout.

The "rotation" fields are for random rotation of the objects, so enter some appropriate values. Z is the one that makes the most sense, as the X and Y will tilt the blocks to the side.

The "local translation" fields are for random positioning, and here the X and Y make the most sense, as the Z will move the stones up into the other rows.

Finally, click "lock aspect ratio", and enter a scale value of 5.

http://www.duck.dk/bin/pyramidtut_12.png

jussing
08-18-2006, 01:33 PM
When you're done, collapse the scatter object to boost performance (calculating the scattering takes a lot of CPU power).

http://www.duck.dk/bin/pyramidtut_13.png

jussing
08-18-2006, 01:34 PM
At this point, the random-ified stones will propably intersect the original pyramid shape. However, we don't want to delete the shape, since our building block structure is anything but solid, so scale it down just enough to keep it from intersecting the building block, and then give it a black material.

http://www.duck.dk/bin/pyramidtut_14.png

jussing
08-18-2006, 01:36 PM
And here you are!

To finalize, you can add some extra noise modifiers to your pyramid stones, to make them look even more random.

AquilaTyranus
08-18-2006, 02:27 PM
Disreguard previous comments and questions if you read, I see now, the pyramids look awesome!

jussing
08-18-2006, 09:52 PM
Thanks. ;)

Of course, you can also just use this pyramid builder script... (http://forums.cgsociety.org/showthread.php?t=352545).

Hehe, didn't even know that existed until now. :rolleyes:

Cheers,
- Jonas

darkdreams
08-23-2006, 07:05 AM
Honestly, I saw the script and have to say that I prefer your pyramid a lot!!!

Great Tutorials!!! :thumbsup:

FearlessMagician
09-04-2006, 04:59 PM
Very useful tutorial. It really taught me something, and it also answered my question about how to make stones look random; I needed it to make a realistic pavement tiles. Thanks again, mate.

Bao2
09-04-2006, 08:42 PM
I think you probably was Imhotep in a former reincarnation.:)
I was thinking you will do with the matrix tool, really I have to play
with the scatter tool. Great tutorial.

jussing
09-05-2006, 11:43 AM
I think you probably was Imhotep in a former reincarnation.:)Haha, thanks. I bet Imhotep's slaves wish they'd had "scatter" and "instances"...

Cheers,
- Jonas

CGTalk Moderation
09-05-2006, 11:43 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.