Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support


Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Texture help
Author Message
Immortaleagle Offline
Junior Member

Posts: 10
Joined: Feb 2008
Reputation: 0
Post: #1
Texture help

How do i turn a jpg picture of a floor into a texture that i can use in the level editor?
09-22-2011 01:45 PM
Find all posts by this user Quote this message in a reply
Homicide13 Offline
Senior Member

Posts: 323
Joined: Nov 2010
Reputation: 14
Post: #2
RE: Texture help

http://www.frictionalgames.com/forum/thread-10378.html

09-22-2011 01:53 PM
Find all posts by this user Quote this message in a reply
Pr3d4t0r Offline
Member

Posts: 78
Joined: Sep 2011
Reputation: 0
Post: #3
RE: Texture help

Follow the link that Homicide13 gave you.

But you have to know one thing : the texture needs to be "parallel" and can follow itself. Like if you put two brushes with the same texture side by side, it should have no difference you know ?
(This post was last modified: 09-22-2011 02:47 PM by Pr3d4t0r.)
09-22-2011 02:47 PM
Find all posts by this user Quote this message in a reply
Acies Offline
Posting Freak

Posts: 1,641
Joined: Feb 2011
Reputation: 72
Post: #4
RE: Texture help

(09-22-2011 02:47 PM)Pr3d4t0r Wrote:  Follow the link that Homicide13 gave you.

But you have to know one thing : the texture needs to be "parallel" and can follow itself. Like if you put two brushes with the same texture side by side, it should have no difference you know ?
The term Pr3d4t0r describes is called "seamless" textures.

When working with textures it is recommended that you convert them to .dds format, which can be done in either gimp or photoshop using a downloadable plugin.

This wiki page describes the different available texture-maps:
http://wiki.frictionalgames.com/hpl2/tut...loutsource

I think you should use the "soliddiffuse" setting instead of decal too Smile Play around some with MaterialEditor.exe, you'll quickly get the hang of it.

[Image: mZiYnxe.png]


(This post was last modified: 09-22-2011 02:57 PM by Acies.)
09-22-2011 02:56 PM
Find all posts by this user Quote this message in a reply
Pr3d4t0r Offline
Member

Posts: 78
Joined: Sep 2011
Reputation: 0
Post: #5
RE: Texture help

(09-22-2011 02:56 PM)Acies Wrote:  The term Pr3d4t0r describes is called "seamless" textures.
Ahah yeah thank you, didn't know how to explain Blush
09-22-2011 03:00 PM
Find all posts by this user Quote this message in a reply
Immortaleagle Offline
Junior Member

Posts: 10
Joined: Feb 2008
Reputation: 0
Post: #6
RE: Texture help

Thank you, i got it pretty good but there's some problems. I placed a black plane as a floor and then i placed the texture over it and it looks pretty good but the sound disappears sometimes when i run on the floor.
Also i want this textures as the floor in a corridor, how do i get rid of the square shape so it looks like one big mat?
(This post was last modified: 09-22-2011 03:56 PM by Immortaleagle.)
09-22-2011 03:48 PM
Find all posts by this user Quote this message in a reply
Acies Offline
Posting Freak

Posts: 1,641
Joined: Feb 2011
Reputation: 72
Post: #7
RE: Texture help

(09-22-2011 03:48 PM)Immortaleagle Wrote:  Thank you, i got it pretty good but there's some problems. I placed a black plane as a floor and then i placed the texture over it and it looks pretty good but the sound disappears sometimes when i run on the floor.
Also i want this textures as the floor in a corridor, how do i get rid of the square shape so it looks like one big mat?
You should set it as a "soliddiffuse", to avoid having to place a black plane first. Then it's simply to place the texture. To increase texture size in any direction;
1. Select your plane
2. Click the tab plane
3. Adjust tile amount - lowering the values gives you a larger texture, increasing the values gives you smaller textures.

[Image: mZiYnxe.png]


09-22-2011 06:37 PM
Find all posts by this user Quote this message in a reply
Immortaleagle Offline
Junior Member

Posts: 10
Joined: Feb 2008
Reputation: 0
Post: #8
RE: Texture help

Thanks Smile
09-22-2011 07:48 PM
Find all posts by this user Quote this message in a reply
Homicide13 Offline
Senior Member

Posts: 323
Joined: Nov 2010
Reputation: 14
Post: #9
RE: Texture help

(09-22-2011 02:56 PM)Acies Wrote:  I think you should use the "soliddiffuse" setting instead of decal too Smile
It depends on what he's trying to do. If he's trying to texture an entity or something than yes. If it's a decal texture, then no. He never really explained.

09-22-2011 08:06 PM
Find all posts by this user Quote this message in a reply
Acies Offline
Posting Freak

Posts: 1,641
Joined: Feb 2011
Reputation: 72
Post: #10
RE: Texture help

(09-22-2011 08:06 PM)Homicide13 Wrote:  
(09-22-2011 02:56 PM)Acies Wrote:  I think you should use the "soliddiffuse" setting instead of decal too Smile
It depends on what he's trying to do. If he's trying to texture an entity or something than yes. If it's a decal texture, then no. He never really explained.
To my understanding it was a floor, which is a plane - which should have a soliddiffuse.

[Image: mZiYnxe.png]


09-23-2011 10:18 AM
Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)