• Welcome to SC4 Devotion Forum Archives.
 

News:

The SC4 Devotion Forums are no longer active, but remain online in an archived, read-only "museum" state.  It is not possible for regular members to post or use the private messaging system, and no technical support will be provided for any issues pertaining to the forums in their current state.  Attachments (those that still work) are accessible without login.

The LEX has been replaced with SC4Evermore (SC4E), and SC4E maintains an active Discord server.  For traditional forums, we recommend Simtropolis.

Main Menu

Is there a way to texture each side of a cube a different texture?

Started by City Builder, January 31, 2008, 08:45:12 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

City Builder

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
When your tired of games of destruction, come to CityBuilderGames.com to discuss games of Construction!
Oh!  Thanks for the negative rep, I love you too!

JoeST

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
Copperminds and Cuddleswarms

vester

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.

City Builder

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.
When your tired of games of destruction, come to CityBuilderGames.com to discuss games of Construction!
Oh!  Thanks for the negative rep, I love you too!

City Builder

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.
When your tired of games of destruction, come to CityBuilderGames.com to discuss games of Construction!
Oh!  Thanks for the negative rep, I love you too!

Glenni

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.  ;)

jeronij

Did you ever hear about multimaterials  ;) ?¿  I'd swear Simfox posted some info about how to use them ...
I am currently not active - Please, contact Tarkus for any site related matter. Thanks for enjoying SC4D :D


Autism Awareness;  A Father Shares
Mallorca My Mayor Diary


City Builder

Thanks Glenni,

Jeronij, when I search uptop on this forum for multimaterials this thread is the only one that comes up.
When your tired of games of destruction, come to CityBuilderGames.com to discuss games of Construction!
Oh!  Thanks for the negative rep, I love you too!

jeronij

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 and SimFox's Tutorials Part 2 are really worht a look  ;)
I am currently not active - Please, contact Tarkus for any site related matter. Thanks for enjoying SC4D :D


Autism Awareness;  A Father Shares
Mallorca My Mayor Diary


cogeo

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.

City Builder

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.
When your tired of games of destruction, come to CityBuilderGames.com to discuss games of Construction!
Oh!  Thanks for the negative rep, I love you too!