Author Topic: 4 Mile valley tanking object  (Read 894 times)

Offline 8thJinx

  • Silver Member
  • ****
  • Posts: 990
4 Mile valley tanking object
« on: June 02, 2018, 10:46:54 AM »
I wanted something like the old valleys from the square land mass map in AH2.  This is first pass, maybe 20 minutes of work.

Join Date: Nov 2012

B-24H Liberator SN 294837-T, "The Jinx", 848th BS, 490th BG, 8th AF, RAF Station Eye, delivered 1943.  Piloted by Lt. Thomas Keyes, named by by his crew, and adorned with bad luck symbols, the aircraft survived the entire war.

Offline 8thJinx

  • Silver Member
  • ****
  • Posts: 990
Re: 4 Mile valley tanking object
« Reply #1 on: June 02, 2018, 10:50:05 AM »
If anyone wants to play around, this is the original 10 meter heightfield, from the Wasatch Mountains in Utah.  You have to smooth out the surrounding valleys to cut down on polys and vertices.  Ultimately, you want a 4 mile land object that doesn't exceed to the 4 mile airfield, which is around 22,000 polys and 24,000 vertices.  A lot of this smoothing and leveling can be accomplished inside of L3DT.  Then you can fine-tune more in AC3D, by combining polys.

« Last Edit: June 02, 2018, 11:06:29 AM by 8thJinx »
Join Date: Nov 2012

B-24H Liberator SN 294837-T, "The Jinx", 848th BS, 490th BG, 8th AF, RAF Station Eye, delivered 1943.  Piloted by Lt. Thomas Keyes, named by by his crew, and adorned with bad luck symbols, the aircraft survived the entire war.

Offline 8thJinx

  • Silver Member
  • ****
  • Posts: 990
Re: 4 Mile valley tanking object
« Reply #2 on: June 02, 2018, 11:01:31 AM »
The valley would have a motor pool GV base and spawns along these lines.

Join Date: Nov 2012

B-24H Liberator SN 294837-T, "The Jinx", 848th BS, 490th BG, 8th AF, RAF Station Eye, delivered 1943.  Piloted by Lt. Thomas Keyes, named by by his crew, and adorned with bad luck symbols, the aircraft survived the entire war.

Offline Ciaphas

  • Silver Member
  • ****
  • Posts: 1955
      • DethKlokDave
Re: 4 Mile valley tanking object
« Reply #3 on: June 02, 2018, 11:41:13 AM »
22k for the airfield? Holy cow that’s way to many haha


Sent from my iPhone using Tapatalk
10.(Jabo)/JG 26 Nuisance Raids Scenario


Offline 8thJinx

  • Silver Member
  • ****
  • Posts: 990
Re: 4 Mile valley tanking object
« Reply #4 on: June 02, 2018, 12:35:35 PM »
That's nothing, when you import that heightfield into L3DT, prior to any smoothing or decimation, the ploy count is in the millions.  I'm playing with Blender right now because it has a quicker and easier decimation tool. 

The process looks like it's going to end up being:

1. Get a heightfield from Terrain.Party.
2. Import that into L3DT for the first round of smoothing and sculpting. Export to OBJ.
3. Import OBJ file into Blender for decimation.
4. Import decimated OBJ file to AC3D for cleaning up the edge polys and vertices.

Join Date: Nov 2012

B-24H Liberator SN 294837-T, "The Jinx", 848th BS, 490th BG, 8th AF, RAF Station Eye, delivered 1943.  Piloted by Lt. Thomas Keyes, named by by his crew, and adorned with bad luck symbols, the aircraft survived the entire war.

Offline 8thJinx

  • Silver Member
  • ****
  • Posts: 990
Re: 4 Mile valley tanking object
« Reply #5 on: June 02, 2018, 12:51:04 PM »
This is what Blender's decimate tool can do in four seconds.  The first image is the smoothed valley object from L3DT, post-smooting, at 288,000 polys.




This is what the valley polys look like after hitting the decimate function once.  Total poly count for the four mile object dropped from 288,000 to 21,000 (ish).

« Last Edit: June 02, 2018, 01:17:23 PM by 8thJinx »
Join Date: Nov 2012

B-24H Liberator SN 294837-T, "The Jinx", 848th BS, 490th BG, 8th AF, RAF Station Eye, delivered 1943.  Piloted by Lt. Thomas Keyes, named by by his crew, and adorned with bad luck symbols, the aircraft survived the entire war.

Offline Ciaphas

  • Silver Member
  • ****
  • Posts: 1955
      • DethKlokDave
Re: 4 Mile valley tanking object
« Reply #6 on: June 02, 2018, 12:56:40 PM »
Is that 22k for the terrain object or the airfield object?


Sent from my iPhone using Tapatalk
10.(Jabo)/JG 26 Nuisance Raids Scenario


Offline 8thJinx

  • Silver Member
  • ****
  • Posts: 990
Re: 4 Mile valley tanking object
« Reply #7 on: June 02, 2018, 01:10:39 PM »
The mega airfield with the spread out town is called laf4x4m.  It is a 4 mile square land object.  For the object terrain only (just the ground, not including the non-terrainset buildings, gun pits, hangar, etc), the poly count is 28,440.  The vertex count it 21,400.

So to make sure you create a 4 mile land object that won't tax frame rate, it's a safe bet to make sure you come in under those numbers.  It helps even more when you don't have to add all the town buildings, gun pits, hangars, etc. 

Blender's decimate tool is a huge time saver.  I went from 4 million polys to 21,000 polys in a matter of minutes.  The next step is to section off the whole thing into a structured hierarchy, which AC3D does really well and really quickly.  You basically create a cookie cutter object, move it over the land object, and slice up the land object into discrete 1/4 mile quadrants, and order those quadrants in the hierarchy in a structured pattern.  That step cuts down on the collision model calculations, and leaves you with a flyable terrain.
Join Date: Nov 2012

B-24H Liberator SN 294837-T, "The Jinx", 848th BS, 490th BG, 8th AF, RAF Station Eye, delivered 1943.  Piloted by Lt. Thomas Keyes, named by by his crew, and adorned with bad luck symbols, the aircraft survived the entire war.

Offline 8thJinx

  • Silver Member
  • ****
  • Posts: 990
Re: 4 Mile valley tanking object
« Reply #8 on: June 02, 2018, 02:52:45 PM »
This is the valley at 16,800 polys.

Join Date: Nov 2012

B-24H Liberator SN 294837-T, "The Jinx", 848th BS, 490th BG, 8th AF, RAF Station Eye, delivered 1943.  Piloted by Lt. Thomas Keyes, named by by his crew, and adorned with bad luck symbols, the aircraft survived the entire war.

Offline Ciaphas

  • Silver Member
  • ****
  • Posts: 1955
      • DethKlokDave
Re: 4 Mile valley tanking object
« Reply #9 on: June 02, 2018, 03:16:08 PM »
Pretty cool man!


Sent from my iPhone using Tapatalk
10.(Jabo)/JG 26 Nuisance Raids Scenario


Offline 715

  • Silver Member
  • ****
  • Posts: 1835
Re: 4 Mile valley tanking object
« Reply #10 on: June 02, 2018, 10:16:15 PM »
Very neat idea 8thJinx.

Is it possible to get Blender to decimate only certain areas of the poly map, i.e. decimate areas tanks are not likely to travel but keep somewhat higher resolution in areas they will?  (Obviously extra work for the designer to decide what areas to keep higher resolution.)


Offline 8thJinx

  • Silver Member
  • ****
  • Posts: 990
Re: 4 Mile valley tanking object
« Reply #11 on: June 02, 2018, 11:28:37 PM »
I have to check into that.  I do believe the decimate function can be applied to specific areas that you select, but you have to separate the land object into multiple objects if you want to decimate only one, or decimate several with different ratios.  I'm pretty sure the decimate function only works on whole objects that you select.  But you can have multiple objects in a model.  And you might need to make sure the vertices along the boundaries all line up when you're all done.   
 
« Last Edit: June 02, 2018, 11:34:44 PM by 8thJinx »
Join Date: Nov 2012

B-24H Liberator SN 294837-T, "The Jinx", 848th BS, 490th BG, 8th AF, RAF Station Eye, delivered 1943.  Piloted by Lt. Thomas Keyes, named by by his crew, and adorned with bad luck symbols, the aircraft survived the entire war.

Offline 8thJinx

  • Silver Member
  • ****
  • Posts: 990
Re: 4 Mile valley tanking object
« Reply #12 on: June 03, 2018, 10:37:47 AM »
Here it is at 16,400 polys, with one central valley. 

Join Date: Nov 2012

B-24H Liberator SN 294837-T, "The Jinx", 848th BS, 490th BG, 8th AF, RAF Station Eye, delivered 1943.  Piloted by Lt. Thomas Keyes, named by by his crew, and adorned with bad luck symbols, the aircraft survived the entire war.