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, Model & Animation Help Texturing a custom terrain
ClayPigeon Offline
Member

Posts: 214
Threads: 13
Joined: Mar 2012
Reputation: 8
#1
Brick  Texturing a custom terrain

I'm making a custom terrain in maya, a little steppe.
However, whatever texture I'm assigning it, the result looks really bad in game, even if it looks great in maya. I'm wondering how can I texture it right, like in this one for example:
http://www.frictionalgames.com/forum/thread-15613.html
(Grass & Mountains)

Here is how it looks for me:
Maya:
[Image: 41fc070d9b.png]

Game:
[Image: 908aef0f1f.png]
(This post was last modified: 04-26-2013, 10:19 PM by ClayPigeon.)
04-26-2013, 10:19 PM
Find
Acies Offline
Posting Freak

Posts: 1,643
Threads: 60
Joined: Feb 2011
Reputation: 73
#2
RE: Texturing a custom terrain

http://www.game-artist.net/forums/spotli...3-udk.html

[Image: mZiYnxe.png]


04-26-2013, 10:24 PM
Find
ClayPigeon Offline
Member

Posts: 214
Threads: 13
Joined: Mar 2012
Reputation: 8
#3
RE: Texturing a custom terrain

(04-26-2013, 10:24 PM)Acies Wrote: http://www.game-artist.net/forums/spotli...3-udk.html

Will it be exportable to maya at the end of these 4 hours? (Don't wanna watch 4 hours for nothing)
04-26-2013, 10:36 PM
Find
Traggey Offline
is mildly amused

Posts: 3,257
Threads: 74
Joined: Feb 2012
Reputation: 185
#4
RE: Texturing a custom terrain

Yes it can.
04-27-2013, 12:30 AM
Find
xxxxxxxxxxxxxxxx Away
Posting Freak

Posts: 935
Threads: 0
Joined: Jun 2012
Reputation: 54
#5
RE: Texturing a custom terrain

Quote: However, whatever texture I'm assigning it, the result looks really bad in game, even if it looks great in maya.
Looking at the screenshots, I'd say it looks pretty much the same, only that in game you're much closer to the terrain than in Maya's viewport, so you see the low texture resolution. Or rather, you see that the scaling of the texture doesn't fit the scale of the mesh, with one blade of grass being half the size of your character Big Grin Therefore, I conclude that scaling up the uv coordinates of your terrain mesh, so that the texture gets repeated more often, should help.
04-27-2013, 12:51 AM
Find
ClayPigeon Offline
Member

Posts: 214
Threads: 13
Joined: Mar 2012
Reputation: 8
#6
RE: Texturing a custom terrain

(04-27-2013, 12:51 AM)Hirnwirbel Wrote:
Quote: However, whatever texture I'm assigning it, the result looks really bad in game, even if it looks great in maya.
Looking at the screenshots, I'd say it looks pretty much the same, only that in game you're much closer to the terrain than in Maya's viewport, so you see the low texture resolution. Or rather, you see that the scaling of the texture doesn't fit the scale of the mesh, with one blade of grass being half the size of your character Big Grin Therefore, I conclude that scaling up the uv coordinates of your terrain mesh, so that the texture gets repeated more often, should help.

Thanks but I'll ditch this one. It looks bad and I prefer creating a way better one using the tutorial Acies gave me. But just as a side note, if I stretch the UV map, it looks better in maya but then it looks worse in the game.

Acies - in this tutorial I see that the mesh goes up to 4M polys... Are you sure it's good for hpl2?
04-27-2013, 10:36 AM
Find
WALP Offline
Posting Freak

Posts: 1,221
Threads: 34
Joined: Aug 2012
Reputation: 45
#7
RE: Texturing a custom terrain

(04-27-2013, 10:36 AM)ClayPigeon Wrote:
(04-27-2013, 12:51 AM)Hirnwirbel Wrote:
Quote: However, whatever texture I'm assigning it, the result looks really bad in game, even if it looks great in maya.
Looking at the screenshots, I'd say it looks pretty much the same, only that in game you're much closer to the terrain than in Maya's viewport, so you see the low texture resolution. Or rather, you see that the scaling of the texture doesn't fit the scale of the mesh, with one blade of grass being half the size of your character Big Grin Therefore, I conclude that scaling up the uv coordinates of your terrain mesh, so that the texture gets repeated more often, should help.

Thanks but I'll ditch this one. It looks bad and I prefer creating a way better one using the tutorial Acies gave me. But just as a side note, if I stretch the UV map, it looks better in maya but then it looks worse in the game.

Acies - in this tutorial I see that the mesh goes up to 4M polys... Are you sure it's good for hpl2?
Maybe try projecting the UV's from top orthografic view?, dunno if maya have that options but if the uv's are mess thats a good alternative.

About lowering the poly count you can try making the terrain manually by extruding and adding edge loops. Might sound a bit time consuming but once you get the hang of it , it is quite flexible and you are able to get more control and an insanely large reduction in polycount. having a plane with a reference is a good idea to start.
If you dont feel confident about doing it manually maybe you could take a midway by first making a highpoly one with millions of poly and making a low poly on top of it by snapping to the surface as if you were doing retopology.
04-27-2013, 11:11 AM
Find
ClayPigeon Offline
Member

Posts: 214
Threads: 13
Joined: Mar 2012
Reputation: 8
#8
RE: Texturing a custom terrain

(04-27-2013, 11:11 AM)martinnord Wrote:
(04-27-2013, 10:36 AM)ClayPigeon Wrote:
(04-27-2013, 12:51 AM)Hirnwirbel Wrote:
Quote: However, whatever texture I'm assigning it, the result looks really bad in game, even if it looks great in maya.
Looking at the screenshots, I'd say it looks pretty much the same, only that in game you're much closer to the terrain than in Maya's viewport, so you see the low texture resolution. Or rather, you see that the scaling of the texture doesn't fit the scale of the mesh, with one blade of grass being half the size of your character Big Grin Therefore, I conclude that scaling up the uv coordinates of your terrain mesh, so that the texture gets repeated more often, should help.

Thanks but I'll ditch this one. It looks bad and I prefer creating a way better one using the tutorial Acies gave me. But just as a side note, if I stretch the UV map, it looks better in maya but then it looks worse in the game.

Acies - in this tutorial I see that the mesh goes up to 4M polys... Are you sure it's good for hpl2?
Maybe try projecting the UV's from top orthografic view?, dunno if maya have that options but if the uv's are mess thats a good alternative.

About lowering the poly count you can try making the terrain manually by extruding and adding edge loops. Might sound a bit time consuming but once you get the hang of it , it is quite flexible and you are able to get more control and an insanely large reduction in polycount. having a plane with a reference is a good idea to start.
If you dont feel confident about doing it manually maybe you could take a midway by first making a highpoly one with millions of poly and making a low poly on top of it by snapping to the surface as if you were doing retopology.

That actually sounds pretty good, but it's still gibberish for me, mind explaining a little bit?
04-27-2013, 11:24 AM
Find
Rapture Offline
Posting Freak

Posts: 1,078
Threads: 79
Joined: May 2011
Reputation: 30
#9
RE: Texturing a custom terrain

Here is a Maya specific tutorial, but any retopology tutorial from any 3D program would work since they use the same principle (That I am aware of). The buttons/options may vary slightly though...

http://www.youtube.com/watch?v=oSdDSbQn1Hg


//////////////////
But to explain it from a Blender point of view...

(1) I have this high poly mesh, but the polygons is to way to high to be realistically used in a game.

http://imageshack.us/photo/my-images/32/...logy1.png/


(2) To start retopology, you want to make a plane (Make it whatever way you do in Maya.)

Spoiler below!
[Image: retopology2.png]

(3) Then turn on your "Snapping "and look for a option to change the snapping to "Faces". This way moving the vertices of your plane will attach itself to the closest surface.

Spoiler below!
[Image: retopology3.png]

(4) Now take your "Plane" and attach all 4 sides to the tree, make it as squarish or rectangular. Avoid making skinny triangles since it screws up the texture and will make animations look bad.
Duplicate/extend, whatever you do in Maya to make more vertices and make faces.

The point of this is to grab as much detail as you can while keeping the "Tris" count low. Justification for different "Tris" sizes depends entirely on the object, (e.g. How important it is, how big it is, whether it's a static or entity prop, a NPC, etc...) and what the game and/or engine can handle.

Amnesia to me has a norm for 500-1000 tris for grabbable entities, 5k for enemies, and static_objects fluctuate (Anywhere from 50 to 3k normally). Look at current models in the Level Editor and look at their "Facecount" if you want to know what ballpark your retopolgy should aim for.

Spoiler below!
[Image: retopology4.png]

(5) At the end of this, I got 3148 tris. My justification for this high polycount is the base because of the 5 holes I made at the base which ate up a lot of time.

I screwed up the UV's on the lowpoly model (Middle) so the normals are a bit fucked up near the branches. But that won't be a problem with your model since it's a basic terrain.

Spoiler below!
[Image: retopology5.png]
04-27-2013, 02:26 PM
Find
ClayPigeon Offline
Member

Posts: 214
Threads: 13
Joined: Mar 2012
Reputation: 8
#10
RE: Texturing a custom terrain

(04-27-2013, 02:26 PM)Rapture Wrote: Here is a Maya specific tutorial, but any retopology tutorial from any 3D program would work since they use the same principle (That I am aware of). The buttons/options may vary slightly though...

http://www.youtube.com/watch?v=oSdDSbQn1Hg


//////////////////
But to explain it from a Blender point of view...

(1) I have this high poly mesh, but the polygons is to way to high to be realistically used in a game.

http://imageshack.us/photo/my-images/32/...logy1.png/


(2) To start retopology, you want to make a plane (Make it whatever way you do in Maya.)

Spoiler below!
[Image: retopology2.png]

(3) Then turn on your "Snapping "and look for a option to change the snapping to "Faces". This way moving the vertices of your plane will attach itself to the closest surface.

Spoiler below!
[Image: retopology3.png]

(4) Now take your "Plane" and attach all 4 sides to the tree, make it as squarish or rectangular. Avoid making skinny triangles since it screws up the texture and will make animations look bad.
Duplicate/extend, whatever you do in Maya to make more vertices and make faces.

The point of this is to grab as much detail as you can while keeping the "Tris" count low. Justification for different "Tris" sizes depends entirely on the object, (e.g. How important it is, how big it is, whether it's a static or entity prop, a NPC, etc...) and what the game and/or engine can handle.

Amnesia to me has a norm for 500-1000 tris for grabbable entities, 5k for enemies, and static_objects fluctuate (Anywhere from 50 to 3k normally). Look at current models in the Level Editor and look at their "Facecount" if you want to know what ballpark your retopolgy should aim for.

Spoiler below!
[Image: retopology4.png]

(5) At the end of this, I got 3148 tris. My justification for this high polycount is the base because of the 5 holes I made at the base which ate up a lot of time.

I screwed up the UV's on the lowpoly model (Middle) so the normals are a bit fucked up near the branches. But that won't be a problem with your model since it's a basic terrain.

Spoiler below!
[Image: retopology5.png]

Thank you so much for this so detailed comment, I'm doing my best to reduce the polys on my terrain now, but first I have some more texture problems to resolve.
04-27-2013, 03:07 PM
Find




Users browsing this thread: 3 Guest(s)