Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Multi-Textured Box

Author
Message
Mickm
18
Years of Service
User Offline
Joined: 22nd Apr 2006
Location: Kingston, ON
Posted: 6th Jul 2006 21:35
Is it possible to create 1 box and have all the sides a different texture? Or will I need to create multiple boxes and "glue" them together?



http://www.gamestack.org
Richard Davey
Retired Moderator
22
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 6th Jul 2006 21:42
You can either:

1) Model a box in a 3D package (shouldn't be too hard!!!), unwrap it, apply your textures and voila. One single box, each face unique.

Or

2) Create a box shape by creating 6 plains, rotated and positioned correctly (around a central point.. perhaps make them limbs of a hidden object), and texture each plain.

Depends if you need to do this during the execution of your program or not as to which choice you make. Personally I'd go for the first option, unless I was mapping something unique onto each face of the cube (which I've done before), in which case option 2 works great.

Bite my shiny metal ass
Mickm
18
Years of Service
User Offline
Joined: 22nd Apr 2006
Location: Kingston, ON
Posted: 6th Jul 2006 22:07
I think ill have to go with #2.
The main purpose is going to be 3d Cards.

Each has the same back/sides/top/bottom (changable) but of course the front will change from card to card.

http://www.gamestack.org
Dream And Death
18
Years of Service
User Offline
Joined: 21st Feb 2006
Location: The circus! Juggling job, kids and DBPro
Posted: 6th Jul 2006 23:14
Why not make two objects?

One, a slim 3D box as your card, and the second, a plain face of the card, which you can then change from card to card.

"You get what everyone gets, you get a lifetime!" - Death, The Sandman Library

First you Dream, then you ... - Neil Gaiman, 2001
NeX the Fairly Fast Ferret
19
Years of Service
User Offline
Joined: 10th Apr 2005
Location: The Fifth Plane of Oblivion
Posted: 6th Jul 2006 23:22
You can use memblocks and pre-create a texture with the six textures on, which you would align correctly using UV.

<OMG></OMG>
NeX, you cant be serious - CattleRustler.
Pincho Paxton
21
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 6th Jul 2006 23:35
You should really make a model of a card in a 3D package because you can have rounded edges, and it will look much better. Then texture the front, and back seperately. In fact it would only take half an hour to make it...if that.

spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 7th Jul 2006 00:31
Take a look here;

http://forum.thegamecreators.com/?m=forum_view&t=83166&b=1

3 different methods.

1. single image split into 6 faces using vertex commands
2. 6 plains joined together as limbs to build an object
3. A .x model

Boo!
Sixty Squares
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 8th Jul 2006 21:30 Edited at: 8th Jul 2006 21:30
I made a function that merges many objects into one. See Merge Object in this post: Click to see functions!
It may be of help...

My Functions: Mine
Post yours: Post

Login to post a reply

Server time is: 2024-11-26 16:30:58
Your offset time is: 2024-11-26 16:30:58