Scripting a maze

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Display Modes
  02 February 2013
Scripting a maze

Hi, this is my first time posting here and hopefully not the last!

What i am looking to do is to procedurally create a maze via scripting in Maya.

I have looked at many sites about maze algorithms;

Prims being the method i would like.

But i have no idea where to start , i have a bit of knowlegde of scripting but i cannot seem to translate this method into Maya.

So what im looking for is someone to tell me how they think this should be done, i'm not looking for script, just theory.

I am thinking that i create a polyPlane and extrude the subdivisions to create walls. Then compare the square next to it to see if it has 4 walls.
  02 February 2013
My first thought would be to figure out how to build the maze by drawing 1 degree splines. At that point there are a few options:
A) Extrude each one in Y
B) Extrude a pgon along each one
C) Place geometry along them.
... I'm sure there are more
If animation couldn't change the world, it wouldn't be such a Micky-Mouse place.
  02 February 2013
Thread automatically closed

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.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 10:58 AM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.