CGTalk > Software > Autodesk Maya > Maya Programming
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
 
Thread Tools Search this Thread Display Modes
Old 02-21-2013, 03:53 PM   #1
tikkleanim
New Member
portfolio
United Kingdom
 
Join Date: Feb 2013
Posts: 8
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-22-2013, 01:13 PM   #2
EightBit
Lord of the posts
Mitch Rosefelt
OutThereSumwhere, USA
 
Join Date: Jan 2008
Posts: 1,044
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-22-2013, 01:13 PM   #3
CGTalk Moderation
Expert
CGTalk Forum Leader
 
Join Date: Sep 2003
Posts: 1,066,478
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 10:00 PM.


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