Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


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

Posts: 10
Threads: 3
Joined: Feb 2008
Reputation: 0
#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
Homicide13 Offline
Senior Member

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

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

09-22-2011, 01:53 PM
Find
Pr3d4t0r Offline
Member

Posts: 78
Threads: 4
Joined: Sep 2011
Reputation: 0
#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
Acies Offline
Posting Freak

Posts: 1,643
Threads: 60
Joined: Feb 2011
Reputation: 73
#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
Pr3d4t0r Offline
Member

Posts: 78
Threads: 4
Joined: Sep 2011
Reputation: 0
#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
Immortaleagle Offline
Junior Member

Posts: 10
Threads: 3
Joined: Feb 2008
Reputation: 0
#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
Acies Offline
Posting Freak

Posts: 1,643
Threads: 60
Joined: Feb 2011
Reputation: 73
#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
Immortaleagle Offline
Junior Member

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

Thanks Smile
09-22-2011, 07:48 PM
Find
Homicide13 Offline
Senior Member

Posts: 323
Threads: 41
Joined: Nov 2010
Reputation: 14
#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
Acies Offline
Posting Freak

Posts: 1,643
Threads: 60
Joined: Feb 2011
Reputation: 73
#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




Users browsing this thread: 1 Guest(s)