Adding a Jpeg to 1 side of cube

About Truespace Archives

These pages are a copy of the official truespace forums prior to their removal somewhere around 2011.

They are retained here for archive purposes only.

Adding a Jpeg to 1 side of cube // Visitor Area

1  |  

Post by Unregistered // Jun 8, 2006, 11:46am

Unregistered
Total Posts: 0
I am trying to add a simple JPEG picture to one side of a cube using the texture map. When I try and do it the picture size is way to big. How do I change the size of the picture to fit the one size of the cube?

Thanks for any help anybody can provide.

Post by splinters // Jun 8, 2006, 12:05pm

splinters
Total Posts: 4148
pic
Use a UV plane to map it. If I remember correctly you could use a UV cube and just paint the one face with the material instead...:D

Post by Tiles // Jun 9, 2006, 1:34am

Tiles
Total Posts: 1037
pic
Open Point Edit. Mark your face. Click at the Planar UV Projection Button. That should do it :)

Post by TomG // Jun 9, 2006, 2:20am

TomG
Total Posts: 3397
No need to get into editing the texture map. Simply paint your whole cube using the material you want the other faces to be; in the Material Editor, choose your image that you want on the one face; now use the Paint Face tool to paint just that one face; presto the image is painted only onto that face, and the whole image takes up the whole face.


If you want to do it using texture mapping, you need to remember that the image shows the textures for the whole cube - that means your image will be just one sixth of the image size (by default), since there needs to be information in the image for the other faces too (this is assuming you are using the default cubic map for the cube).


Best way to do it is to export the UV map from the UV editor, which will show you the faces of the "unfolded cube" and use that to position your image in the place that lines up with your chosen face. The rest of the image will control what the other faces look like. You save this image and then load it in as a texture map.


Much more complex than the first way though, and not really required unless you have something more unusual planned for the texture here :)


HTH!

Tom

Post by Unregistered // Jun 9, 2006, 2:25pm

Unregistered
Total Posts: 0
Thanks a lot for the response


I'm really new at this but having lots of fun trying. It does have a very steep learning curve, I need all the help I can get.

How do I do export the UV map from the UV editor and How do I get into the UV editor?
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2024. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn