SC4 Devotion Forum Archives

SimCity 4 General Discussion and Tutorials => SimCity 4 General Discussion => General Custom Content Discussion => Topic started by: City Builder on January 31, 2008, 08:45:12 AM

Title: Is there a way to texture each side of a cube a different texture?
Post by: City Builder on January 31, 2008, 08:45:12 AM
Hi,
This has bugged me for a while now since I've not been able to figure out if it's possible to do.

If I create a box in the scene, and I want each side to be a different color, how do I go about doing this?

Thank you
Title: Re: Is there a way to texture each side of a cube a different texture?
Post by: JoeST on January 31, 2008, 08:48:40 AM
I doubt it, you would have to construct a texture that, when UVW wrapped onto the object, fell so that each side appeared to have a different texture.. Thats my limited knowledge of texturing single objects anyway.

Another solution is creating different objects for each surface, then texturing each with a different texture

Joe
Title: Re: Is there a way to texture each side of a cube a different texture?
Post by: vester on January 31, 2008, 09:16:04 AM
There is, but then you loose control of each texture.

I would make the cube. Then add a spline around each side. Then extrude. Convert them to meshs. Move the vertices in.
Title: Re: Is there a way to texture each side of a cube a different texture?
Post by: City Builder on January 31, 2008, 09:17:58 AM
What do you mean you lose control of each texture?

That seems simple enough for a simple object such as a cube but maybe not so simple for the more elaborate objects that I would like to do this to.
Title: Re: Is there a way to texture each side of a cube a different texture?
Post by: City Builder on January 31, 2008, 09:26:49 AM
No, heres a simple way that I just discovered.   Apply edit mesh to the object, then select the face that you want to put a different texture on, then apply the texture.  Seems that's a reasonable way to do it for a cube or box, but more elaborate objects Im not so sure about.

With the cube or box, It seems the only thing I'd really need to do is to do all adjustments of the texture in photoshop instead of trying to rely on uvw map to tile the texture since it will tile the entire object instead of the single face, unless there is a way around that too which there might be like applying a uvw map to the face maybe.
Title: Re: Is there a way to texture each side of a cube a different texture?
Post by: Glenni on January 31, 2008, 10:09:40 AM
When you select each face scroll further down on edit mesh, or edit poly, and click "detach"
that way you have each face detaches, and you can now edit the UVW's as you like
when you have applied each map and UVW it, just attach the box again.  ;)
Title: Re: Is there a way to texture each side of a cube a different texture?
Post by: jeronij on January 31, 2008, 10:31:07 AM
Did you ever hear about multimaterials  ;) ?¿  I'd swear Simfox posted some info about how to use them ...
Title: Re: Is there a way to texture each side of a cube a different texture?
Post by: City Builder on January 31, 2008, 02:22:53 PM
Thanks Glenni,

Jeronij, when I search uptop on this forum for multimaterials this thread is the only one that comes up.
Title: Re: Is there a way to texture each side of a cube a different texture?
Post by: jeronij on January 31, 2008, 03:00:50 PM
Probably then you should search in a 3DMAX related site. It is pure 3DMAXing/GMAXing  technique. It allows you to apply different material at a sub-object level, when you work with edit polys or meshes ( better polys for this purpose).

Anyway, SimFox's Tutorials Part 1 (http://sc4devotion.com/forums/index.php?topic=2867.0) and SimFox's Tutorials Part 2 (http://sc4devotion.com/forums/index.php?topic=2877.0) are really worht a look  ;)
Title: Re: Is there a way to texture each side of a cube a different texture?
Post by: cogeo on January 31, 2008, 03:52:37 PM
Multimaterials can prove tricky if you attempt to manage them yourself, so let gmax/3dsmax do it for you. As you said above, add an edit mesh modifier, select the desired faces and drag the material in question. These must ALL be simple materials. The program will make-up the multi-material for you. It may be a copy, but it's usually a reference, ie it will affect more objects, not just the specific object.
And remember, changing the U and V (tiling parameters) in the objects UVW map scales all materials/submaterials while changing these in the material editor will only scale the specific material. You may need to make a copy of the material (in case you want to apply changes for the object in question only). I don't think you will ever need to use Photoshop for tiling (only) purposes.
Another modifier you might want to learn about is UVW unwrap, it allows you select specific parts of a texture for your object.
Title: Re: Is there a way to texture each side of a cube a different texture?
Post by: City Builder on January 31, 2008, 03:56:49 PM
UV Unwrap makes no sence to me at all.  I spent a couple hours the other night reading a couple great articles/tutorials that seemed to be absolutely chocked full of information on how to use uvunwrap and after reading them all a couple times I felt like if the articles were a person it would be Charlie Browns teacher and all I got out of it was la la la de de de oooh waaa waaa ooommmm.  That is to say, when I was done reading them several times I still didn't have even a slight grasp on what it is or how it actually function.  Most other tut's out there I grab the concept right away but the uv unwrap one has a hard nutty shell that I've not been able to crack just yet.