Terrain Modeling Techniques

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
noMatt
2nd Lieutenant
2nd Lieutenant
Posts: 398
Joined: Sun Mar 10, 2013 12:30 pm
Projects :: The Map has no name so see alpha
Games I'm Playing :: Crysis Battlefront
xbox live or psn: No gamertag set
Location: Germaneeee
Contact:

Terrain Modeling Techniques

Post by noMatt »

Hey Guys i have a bunch of question on the Terrain Modeling Topic ;)
Ive searched Gametoast and found out that theres no topic on that ;)

1: I know I can save the Terrain as highpoly OBJ.
Well, is there a way to load the Modified one in ZeroEditor back?

2: I know that if you click "open" in ZE you can open a tga, and a bmp file but if I do it crashes (I tryed to load a greyscale heightmap)

3: Is there a way to deactivate the Terrain so I can use a Object instead?


Thanks in advance for every answer guys!
User avatar
Locutus
1st Lieutenant
1st Lieutenant
Posts: 420
Joined: Fri Jun 04, 2010 10:08 am
Projects :: Stargate Battlefront Pegasus
Location: Germany
Contact:

Re: Terrain Modeling Techniques

Post by Locutus »

1. Is there a need for that? If you can change the terrain in ZE why exporting and changing it in another program?

3. There is: Click on the "Terrain" button in the upper left in ZE and and switch in-game terrain to off.
noMatt
2nd Lieutenant
2nd Lieutenant
Posts: 398
Joined: Sun Mar 10, 2013 12:30 pm
Projects :: The Map has no name so see alpha
Games I'm Playing :: Crysis Battlefront
xbox live or psn: No gamertag set
Location: Germaneeee
Contact:

Re: Terrain Modeling Techniques

Post by noMatt »

Because the ZE terrain tools are bad :) Much rather i would use Mudbox and For Texturing too.
Anywhen ill try to deactivate it and place a safemade one as object
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: Terrain Modeling Techniques

Post by Teancum »

What's bad about ZE's terrain tools? You know that ZE is the game engine, so trying to enhance beyond what ZE can do won't work, right?
noMatt
2nd Lieutenant
2nd Lieutenant
Posts: 398
Joined: Sun Mar 10, 2013 12:30 pm
Projects :: The Map has no name so see alpha
Games I'm Playing :: Crysis Battlefront
xbox live or psn: No gamertag set
Location: Germaneeee
Contact:

Re: Terrain Modeling Techniques

Post by noMatt »

Well but i can try to push the limits :) And Whats about the targa thing?
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: Terrain Modeling Techniques

Post by Teancum »

Well terrain is totally optimized by several levels of detail. If, for example, you went with a "high res" model terrain your framerate would drop from 30 to 0 faster than Boba Fett fell into the Sarlacc Pit.
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: Terrain Modeling Techniques

Post by THEWULFMAN »

The rendering of it may be more optimized, but the actual poly count of the terrain is exceedingly high. I forget the actual number, but we imported the terrain to XSI and I'm pretty sure the default size has a poly count with at least 7 figures.

Also this:
The Nasal Abyss wrote:I figured I would just show you guys one of the things I have been working on lately:
Hidden/Spoiler:
Image

Image

Image
Mega Terrains! I've also done the calculations; This terrain has less impact on performance than a Zero Engine created terrain of the same size by 2.4 fps on average. It also looks much, much better to boot! It's made up of many pieces, all stitched together by being given the same position in Zero Editor. I also tried it being all one huge object and that worked just as well.

I could post this workflow if the interest is there. It's pretty similar to one that some of you guys that lurk Polycount may have seen.

Wires:
Hidden/Spoiler:
Image

Image
Now, to the OP. Don't open TGA (image) files with ZeroEditor. There's no point in trying. Use GIMP, Photoshop, or Paint.NET to open and edit them instead.

I forget how to export the terrain as an OBJ. I'd have to ask Marth.
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: Terrain Modeling Techniques

Post by Marth8880 »

THEWULFMAN wrote:The rendering of it may be more optimized, but the actual poly count of the terrain is exceedingly high. I forget the actual number, but we imported the terrain to XSI and I'm pretty sure the default size has a poly count with at least 7 figures.
To put it plainly, XSI crashed when I imported the default terrain. :cpu:
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: Terrain Modeling Techniques

Post by THEWULFMAN »

I'm pretty confident the reason the poly count is so high is the texture system. I'm guesstimating here that each texture layer needs its own terrain model. These all stack together, creating a very high poly terrain.

Long story short, long as you keep the poly limit the same or lower, modeled terrain won't decrease performance. If you're careful it could even benefit.

The actual question is if you can make it look good enough to warrant it.
User avatar
lucasfart
Sith
Sith
Posts: 1440
Joined: Tue Feb 24, 2009 5:32 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia

Re: Terrain Modeling Techniques

Post by lucasfart »

As far as your crashes go, I know that ZE crashes anytime I load a .tga file larger than 4mb (I've only tried it as the texture for objects - it might be different for terrain, but I doubt it. Try lowering the res of your heightmap, and see if it stops crashing!
User avatar
Locutus
1st Lieutenant
1st Lieutenant
Posts: 420
Joined: Fri Jun 04, 2010 10:08 am
Projects :: Stargate Battlefront Pegasus
Location: Germany
Contact:

Re: Terrain Modeling Techniques

Post by Locutus »

lucasfart wrote:ZE crashes anytime I load a .tga file larger than 4mb
12mb;)
noMatt
2nd Lieutenant
2nd Lieutenant
Posts: 398
Joined: Sun Mar 10, 2013 12:30 pm
Projects :: The Map has no name so see alpha
Games I'm Playing :: Crysis Battlefront
xbox live or psn: No gamertag set
Location: Germaneeee
Contact:

Re: Terrain Modeling Techniques

Post by noMatt »

Well thats not my problem:
I CAN export and import the terrain in xsi (so just save the terrain as you would to normally just change the extension to obj.)

But i cant get it back to the editor with my modifications and i even cants seem to get a heightmap inplace (thats what i thought the targa is made for in the LOAD section: Please try it: just click load, then change the file type you want to open to targa and then open one ;) )
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: Terrain Modeling Techniques

Post by AceMastermind »

noMatt wrote:I CAN export and import the terrain in xsi ... But i cant get it back to the editor with my modifications...
ZeroEditor can export *.obj files, but it loads *.msh files. You should have no problem loading a terrain-like object as a *.msh file. What are trying to do that procedural ZE terrain can't?
noMatt
2nd Lieutenant
2nd Lieutenant
Posts: 398
Joined: Sun Mar 10, 2013 12:30 pm
Projects :: The Map has no name so see alpha
Games I'm Playing :: Crysis Battlefront
xbox live or psn: No gamertag set
Location: Germaneeee
Contact:

Re: Terrain Modeling Techniques

Post by noMatt »

Higher resolution. Thats it. And more noisy hills (I do my Terrains with CryENGINE 3 SDK but the Problem is i cant use the auto uv of ZE then... so it needs to be fully textured)
Post Reply