Critical Mass :: 3D Action Puzzle Game

Don't Like Ad's?
Click Here


Forum Index - Miscellaneous - Big Problem mapping material to a grid of cubes!

There are 7 replies to this topic ShareIt! Text-To-Speech





-bovrilandjam
Junior Member
bovrilandjam

3 years ago
Hi all, I'm new here, and pretty new to 3dsmax. I have an array of cubes-imagine a rubiks cube made of 27 little cubes, 3x3x3. ok, id like 6 materials to cover the 6 faces of the rubiks cube. not have the same image repeat 9 times per each side of the rubiks cube, but for each side of the rubiks cube to be a full whole image, covering the 9 exposed faces of the mini cubes. Everything I try results in either: 1) all the faces of the mini cubes getting the material 2) the image repeating 9 times on the face of the Rubiks cube, each mini cube getting the whole image 3)both..
Isn't it possible to apply a material to cover all the faces of different cube, but ONLY those faces I select?
I've tried several techniques, uwv maps galore, multi sub object materials, and Im guessing the answer lies in there somewhere, but I just haven't realized the exact order to do it. Anybody know how to go about it? Thanks for any help!


-musashiroth
Member
musashiroth

3 years ago
I hope, I can assist... Is this more or less what you were looking for?

MuS@shiROth


-bovrilandjam
Junior Member
bovrilandjam

3 years ago
Aye there it is! are the cubes animatible, keeping their sections of the images in place? (Ultimately, im trying to create a jumbled up rubiks cube, which animates into being solved to look like your cube) How'd you do it??

-musashiroth
Member
musashiroth

3 years ago
Well... Im thinking it is, if not jst ignore..

First, (I like working with Polys) I would suggest converting all of the cubes to Polygons, select all of your cubes and right-click over the screen and select Convert To.. and select Convert to Editable Poly from the slidermenu..

- Ok, I would recomend using 7 materials for the cube, 6 materials for the images, and a base for the inside.

- The fastest way I know how to do this, Is combining all of the cubes into one solid geometry, you can do this with the Attach button (that is in the Modify section in the Command Pannel) and do it manualy or by clicking the little button next to it that looks like a square and that will give you a list of all of the objects you can attach at once. Attach all of the squares together.

- In the Select Faces mode for the geometry, select all of the faces that are in the same group facing out, and hit detach, that will create separate geometry that you can put a material on later.

- Once you have all of your six panels of faces detatched you can put all six materials on individually and with a UVW Map set to box you can cover the whole panel with one image.

- If you are going to animate this, you simply convert all of the objects to polys again so that the history of the UVW Map is baked in to the geometry, detach all of the faces individualy, detach all of the boxes as well, and one by one attach them together to their respective box.

I hope that this helped. and good luck!
MuS@shiROth


-musashiroth
Member
musashiroth

3 years ago
haha, I thought that you left... and posted "Im thinking it is" believing that you werent going to see this blog till tomorow.

Im glad grin.gif

Hope that this helps..
MuS@shiROth


-bovrilandjam
Junior Member
bovrilandjam

3 years ago
Hey, I think this works! its working so far, we'll see if it works when I make it an animatable rubiks cube. Thanks! The only issue I have is that, to make each little cube an object again, I gotta go in and detatch 6 faces for each little cube, x27 cubes, I guess theres no shortcut. You mentioned detatch all the boxes- but I cant seem to get back into the little boxes to detatch the, after the rist round of detatching, im left with 7 objects- I named them "face1- face 6", and "interior face", got a uwv map on each and an image on each, when I select them all and convert to editable poly again, I dont have all the little boxes, just the one big one that I made by attaching the little ones. If that makes sense..But I can't complain about that, as long as it gets the results! Thanks again!

-wan
Junior Member
wan

3 years ago
great tutorial... thx

i'm from indonesia

sorry my english is bad
[Link to hermawanwibowo.deviantart.com]

-musashiroth
Member
musashiroth

3 years ago
Im glad it helped.

Ok, I can see where you would have a problem, what I would do is convert all of the 6 panels into polys again, once the UVM maps are in place.

Then select the MAIN cube and hit attach list, and select all of the face panels. Now you should have a single object (keep in mind that all of the vertices are not welded together bc of the detaching we did earlier, it shouldnt be a problem though) If you want (this will help you with you selection later on) go to vertex mode and select all of your verticies go to the command panel and hit the little box next to the WELD command, you can see in the command box that the threshold is set to .01 see if that welds all of the verticies together so that you once again have 27 solid box geometries.

Once we have the cube back together, go into top view, and select GEOMETRY mode so that you can select a row of boxes (9) and detatch them into a separate object. Do the same for the next row, and you should have 3 groups of 9 boxes.

Now go into ither front or left veiw (choose the one you can see and select the all of the 3 groups) and detach a single row for each one.. giving you 9 boxes of 3s.

Now you should be able to detach a single box from those groups of 3s without any problem.

If max gets funky (cause sometimes it does) SAVE and restart you computer. If the file is still funky, merge all of the objects into a new file and that should reset any bug that the file accuired over time and use.

Good luck! and hope to see your finished animation soon!
MuS@shiROth


Top

Critical Mass :: 3D Action Puzzle Game

Don't Like Ad's?
Click Here