CGTalk > Software > Autodesk 3ds max > Particle Flow
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
 
Thread Tools Search this Thread Display Modes
Old 11-27-2012, 05:06 PM   #1
take24studios
New Member
portfolio
Martijn
Emmen, Netherlands
 
Join Date: Nov 2012
Posts: 7
How to create this effect: Rubiks Cube explode

Hi guys,

My name is Maarten and Im a 3d artist from The Netherlands.

Currently im working on a project but im stuck at some point. The idea is
to have an unsolved Rubiks Cube explode in to 27 pieces. The then need to spin and
come back in to a cube Solved.

Im trying to do this in PFlow. I have the first setup done. 27 pieces start on a cube shape. then they explode (pbomb) and then come back to the cube (find target). Unfortunnately I can't get the pieces to be attached to the cube the same way they were on the beginning.

At the beginning the particles ar evenly placed in a cube shape. But at the end they are spread randomly.

I hope you guys can help me out with this.

Thanks in advance,
Maarten
 
Old 11-28-2012, 02:32 AM   #2
JohnnyRandom
Configurator
 
JohnnyRandom's Avatar
portfolio
John Rand
still wandering the binary void
salt lake city, USA
 
Join Date: Oct 2003
Posts: 5,000
Search for Find Target & Script Vector
__________________
poof ~>Vimeo<~
 
Old 11-28-2012, 08:32 AM   #3
take24studios
New Member
portfolio
Martijn
Emmen, Netherlands
 
Join Date: Nov 2012
Posts: 7
thank you I'm not realy into scripting.

I found the problem but don't know how to solve it. I have "Position Object" locked on emitter.
Location: Pivot. What happends is that the particles are not evenly distributed. Some particles are overlapping leaving other pivots empty.

Do you know what causes this and how I can fix this?
 
Old 11-28-2012, 09:30 AM   #4
take24studios
New Member
portfolio
Martijn
Emmen, Netherlands
 
Join Date: Nov 2012
Posts: 7
thanks im not really in to scripting.

I have 27 cubes in my scene. And a Particle Emitter wich emmits 27 particles. When i add a position object to the event and lock on emitter. The particles are not evenly distributed on every Cube. Some Cubes don't have a particle on them and some Cubes have multiple particles. How can I distribute it evenly? Do I need a script for this? Hope you know how to solve this.
 
Old 11-28-2012, 12:34 PM   #5
scrimski
antieverything
portfolio
J. Schreyer
head->wall
ARRI Berlin
Berlin, Germany
 
Join Date: Aug 2003
Posts: 7,982
Just replied to your post on vfxtalk.

A rubiks cube is quite easy, there's already a script for that.

http://www.scriptspot.com/bobo/mxs5...unks_Basics.htm

You'll need to correct the count for the cubes though.
 
Old 11-28-2012, 03:31 PM   #6
take24studios
New Member
portfolio
Martijn
Emmen, Netherlands
 
Join Date: Nov 2012
Posts: 7
thank you! I will take a look at it
 
Old 11-28-2012, 06:07 PM   #7
JohnnyRandom
Configurator
 
JohnnyRandom's Avatar
portfolio
John Rand
still wandering the binary void
salt lake city, USA
 
Join Date: Oct 2003
Posts: 5,000
Quote:
Originally Posted by take24studios
thanks im not really in to scripting.



LOL, Take a walk on the wild side

Seriously all of the code you would need is already out there. If you can copy/paste you are already halfway there. Not to mention it is only two lines of code added to the default script operator. I have confidence in you, you will be just fine
__________________
poof ~>Vimeo<~
 
Old 11-29-2012, 08:58 AM   #8
take24studios
New Member
portfolio
Martijn
Emmen, Netherlands
 
Join Date: Nov 2012
Posts: 7
thank you guys i will give it a try
 
Old 11-29-2012, 09:11 AM   #9
take24studios
New Member
portfolio
Martijn
Emmen, Netherlands
 
Join Date: Nov 2012
Posts: 7
I'm really stuck. I looked at the script on scriptspot but thats not really what I'm after.

I have attached my scene file so it might be a bit more clear. At the first 3 frames the cubes are alle spreaded evenly. But at the last frames the same thing should happen again.

It might be a simple thing to fix but can't find it.

Download Max File
 
Old 11-29-2012, 05:01 PM   #10
JohnnyRandom
Configurator
 
JohnnyRandom's Avatar
portfolio
John Rand
still wandering the binary void
salt lake city, USA
 
Join Date: Oct 2003
Posts: 5,000
Here is something to play with, it is you system cleaned up a little and one way basic way you would set something like this up. I have to get back to work, sorry I haven't got time to post to a nice lengthy explanation but like they say a picture is worth a thousand words.
Attached Files
File Type: zip max2011_CubeSetup.zip (42.0 KB, 17 views)
__________________
poof ~>Vimeo<~
 
Old 11-30-2012, 09:03 AM   #11
take24studios
New Member
portfolio
Martijn
Emmen, Netherlands
 
Join Date: Nov 2012
Posts: 7
thank you very much for taking the time to help me!
 
Old 11-30-2012, 04:13 PM   #12
JohnnyRandom
Configurator
 
JohnnyRandom's Avatar
portfolio
John Rand
still wandering the binary void
salt lake city, USA
 
Join Date: Oct 2003
Posts: 5,000
no problem
__________________
poof ~>Vimeo<~
 
Old 11-30-2012, 04:13 PM   #13
CGTalk Moderation
Lord of the posts
CGTalk Forum Leader
 
Join Date: Sep 2003
Posts: 1,066,481
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 09:48 PM.


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