Scripting a maze

Become a member of the CGSociety

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

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 02 February 2013   #1
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; http://en.wikipedia.org/wiki/Maze_generation_algorithm

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.
 
Old 02 February 2013   #2
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.
 
Old 02 February 2013   #3
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
CGSociety
Society of Digital Artists
www.cgsociety.org

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

All times are GMT. The time now is 03:17 PM.


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