How to create this effect: Rubiks Cube explode

Become a member of the CGSociety

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

Thread Tools Display Modes
  11 November 2012
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,
  11 November 2012
Search for Find Target & Script Vector
poof ~>Vimeo<~
  11 November 2012
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?
  11 November 2012
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.
  11 November 2012
Just replied to your post on vfxtalk.

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

You'll need to correct the count for the cubes though.
  11 November 2012
thank you! I will take a look at it
  11 November 2012
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<~
  11 November 2012
thank you guys i will give it a try
  11 November 2012
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
  11 November 2012
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 (42.0 KB, 17 views)
poof ~>Vimeo<~
  11 November 2012
thank you very much for taking the time to help me!
  11 November 2012
no problem
poof ~>Vimeo<~
  11 November 2012
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 08:10 AM.

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