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.

DarkBASIC Professional Discussion / Texturing a face of an object

Author
Message
DARKBASIC PRO 3d WORLD EDITOR
11
Years of Service
User Offline
Joined: 2nd May 2012
Location:
Posted: 24th Apr 2015 07:16
How do you texture a certain face of an object?

like:

[/code]
make object box 1,10,10,10
[code]

how would I texture just one of the six faces?

- Infinity is Simplicity -
Chris Tate
DBPro Master
15
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 24th Apr 2015 15:21
A) Only limbs can receive unique texture applications

B) In most professional development studios, one texture contains more than one 'material' which is applied to certain faces using UV mapping.

There is no texture vertex/face command available; it is something you'd have to develop in conjunction with generating texture sheets or cloning limbs

DARKBASIC PRO 3d WORLD EDITOR
11
Years of Service
User Offline
Joined: 2nd May 2012
Location:
Posted: 24th Apr 2015 20:12
Quote: "
A) Only limbs can receive unique texture applications
"



so if I make a mesh of the object or add limbs can I then manipulate the faces?

What I want to do is be able to texture a blank picture frame

I have a screenshot here:
I placed a object in the picture frame so I can texture that particular plane and it works but I dont think it would be effective in the grand scheme of things...

- Infinity is Simplicity -

Attachments

Login to view attachments
Green Gandalf
VIP Member
19
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 24th Apr 2015 22:40
Quote: "so if I make a mesh of the object or add limbs can I then manipulate the faces? "


Yes. Just make a new object in which the faces are separate limbs.

You could manually create an X file with different materials, i.e. textures in your case, on each face and import that into DBPro. It will display correctly in DBPro but as far as I know you cannot change the individual textures used.

Alternatively, use Chris Tate's second suggestion.

Quote: "but I dont think it would be effective in the grand scheme of things"


Why not? Although having the picture object as a separate limb with the frame as another limb would be better.



Powered by Free Banners
DARKBASIC PRO 3d WORLD EDITOR
11
Years of Service
User Offline
Joined: 2nd May 2012
Location:
Posted: 25th Apr 2015 00:24
Thanks Green Gandalf and Chris Tate a bunch

I rebuilt the picture frame which was originally a box and a plane put together and I made it as one object being able to texture the limb which is the actual picture space.

Quote: "Why not? Although having the picture object as a separate limb with the frame as another limb would be better."


I just figured in a small city with roughly 100 buildings (up to 4 picture frames per room), one object would be better than 2. It also looks better as I don't see the splits or spaces in between the frame and the picture.

That brings the game I'm creating another step forward!!!

- Infinity is Simplicity -
Green Gandalf
VIP Member
19
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 25th Apr 2015 12:11
Quote: "I just figured in a small city with roughly 100 buildings (up to 4 picture frames per room), one object would be better than 2. It also looks better as I don't see the splits or spaces in between the frame and the picture."


Agreed.

Quote: "That brings the game I'm creating another step forward!!!"






Powered by Free Banners

Login to post a reply

Server time is: 2024-04-25 11:12:18
Your offset time is: 2024-04-25 11:12:18