Author Topic: Custom object size limit  (Read 731 times)

Offline Xjazz

  • Gold Member
  • *****
  • Posts: 2653
Custom object size limit
« on: November 08, 2005, 04:19:52 PM »
Hello folks

Are there any size and/or volume limits for custom ground objects?

About 7500ft+ 2D fence object seems to working ok in those h2h Arace maps.

Come to my mind, what if I made a 1mile box (building blocks)  ground objects and carve a race route in to those to give more a 3D look for air-race circuits(canyons & fjords).

It's just a idea.

Offline Xjazz

  • Gold Member
  • *****
  • Posts: 2653
Re: Custom object size limit
« Reply #1 on: January 04, 2006, 03:23:03 PM »
Quote
Originally posted by Xjazz
Hello folks

Are there any size and/or volume limits for custom ground objects?

About 7500ft+ 2D fence object seems to working ok in those h2h Arace maps.

Come to my mind, what if I made a 1mile box (building blocks)  ground objects and carve a race route in to those to give more a 3D look for air-race circuits(canyons & fjords).

It's just a idea.


Okey...
 
A single ~21000ft wide, ~21000ft deep and ~10000ft tall  complex mountain gorge object works... Still need to figure out why some surfaces are non-collide :-/

Maybe real world deep vallyes, gorges and ravines are possible to do. At least some level of detail.

Offline croduh

  • Gold Member
  • *****
  • Posts: 2509
Custom object size limit
« Reply #2 on: January 04, 2006, 03:33:10 PM »
Crap i saw your map,great job.I collided on most of mountains

Offline croduh

  • Gold Member
  • *****
  • Posts: 2509
Custom object size limit
« Reply #3 on: January 05, 2006, 01:23:52 PM »
I've started doing a huge(uber,giga,mega...) valley.I just wanted to know what object properties did you use and how is your hierarchy looking.

Offline Xjazz

  • Gold Member
  • *****
  • Posts: 2653
Custom object size limit
« Reply #4 on: January 05, 2006, 02:05:17 PM »
Hi

Same shape with two different hierarchy and textures. For both I use material 63.


BGmntL2.ac at A1

.Group  "WORLD", v 0, s 0, kids 1
. .      Group  "model", v 0, s 0, kids 1 *
. . .               Group  "ground", v 0, s 0, kids 3
. . . .                        Object "lod1", v 268, s 460, kids 0
. . . .                       Object "lod2", v 187, s 298, kids 0
. .  . .                        Object "lod3", v 130, s 184, kids 0

Total objects: 6   surfaces: 942   vertices: 585

BVmntL2.ac at A4

.Group  "WORLD", v 0, s 0, kids 1
. .        Group  "model", v 0, s 0, kids 1 *
. . .                Group  "objects", v 0, s 0, kids 1
. . . .                        Group  "vod0", v 0, s 0, kids 3
. . . . .                               Object "lod1", v 268, s 460, kids 0
. . . . .                               Object "lod2", v 187, s 298, kids 0
. . . . .                                 Object "lod3", v 130, s 184, kids 0

Total objects: 7   surfaces: 942   vertices: 585


name "lod1"
MaxDist=100000
texture "t02062.bmp" (512*512)

name "lod2"
MinDist=100000
MaxDist=150000
texture "t02062m.bmp" (256*256)

name "lod3"
MinDist=100000
MaxDist=150000
texture "t02062s.bmp" (128*128)


About non-collide problem. I find out the some surfaces have 0x0 value instead of 0x10 (onesided) and this maybe is the reason. I need to check this later.

Offline croduh

  • Gold Member
  • *****
  • Posts: 2509
Custom object size limit
« Reply #5 on: January 05, 2006, 02:07:48 PM »
Now how in the world do you set the material?!
I don't understand the thing about the "ground" group and then "vod0".I've set mine object to vod0.I still haven't tested it ingame and i am having problems with textures(tooo many surfaces).

Offline BlauK

  • Platinum Member
  • ******
  • Posts: 5091
      • http://www.virtualpilots.fi/LLv34/
Custom object size limit
« Reply #6 on: January 05, 2006, 03:27:44 PM »
Xjazz,
are you using the lods only to change textures? AFAIK, they are mostly meant for reducing the amounts of polygons from longer distances.

If your polygons stay the same, you would now achieve only a negative optimizing result since there would be three separate textures preloaded in the texture memory instead of just the biggest one of them.

Maybe I missunderstood you.. since you have more than 900 surfaces in the object, there must be different amounts in the lods, right? :) ..something like 500, 300, 100 ?

btw. is that a typo that your lod2 and lod3 have same min and max distances? That way thay would be showing at the same time.


  BlauKreuz - Lentolaivue 34      


Offline Dux

  • Aces High CM Staff (Retired)
  • Platinum Member
  • ******
  • Posts: 7333
Custom object size limit
« Reply #7 on: January 05, 2006, 03:33:47 PM »
I'm wondering how the LoD's will work... it's not like you're flying up to a single building.

In this case, you are actually within the bounds of the huge object. You may be only 100 feet away from the canyon wall, but you may still be a half-mile away from the object's center... which I believe is how LoD distance is measured.
Rogue Squadron, CO
5th AF, FSO Squadron, Member

We all have a blind date with Destiny... and it looks like she's ordered the lobster.

Offline BlauK

  • Platinum Member
  • ******
  • Posts: 5091
      • http://www.virtualpilots.fi/LLv34/
Custom object size limit
« Reply #8 on: January 05, 2006, 03:36:42 PM »
duh,
the basic hierarchy tree must have

"world"
  group "model"
    group "ground" or "objects"
       group "object name" [if made of several lods or several objects]
            object "name"

All other levels than the "world" must have the MaxDist=####### tag.
"object name" and "name" can be pretty much how you want them, but if yuo want the Object Editor to understand the object classes I recommend using "object names" like vod0 str0 fth0 etc like told in the help file.

Th egroup "object name" can consist of several lods (different objects shoving at different distances.... defined with MAxDist and MinDist tags) and also of several version of the same object etc for destroyed versions (with Dead=1 tag).

One of the best ways to study the hierarchy tree is to export one of the HTC objects from Object Editor and to study the resulting .ac file. E.g. the HQ object has nice lods and dead shapes.


  BlauKreuz - Lentolaivue 34      


Offline BlauK

  • Platinum Member
  • ******
  • Posts: 5091
      • http://www.virtualpilots.fi/LLv34/
Custom object size limit
« Reply #9 on: January 05, 2006, 03:39:43 PM »
Dux,
100000 is a pretty long distanece :) I think 1 mile is like 2640 units (feet?). For example the hangars at an airbase have MaxDist a bit more than 20000.


  BlauKreuz - Lentolaivue 34      


Offline croduh

  • Gold Member
  • *****
  • Posts: 2509
Custom object size limit
« Reply #10 on: January 06, 2006, 04:28:07 AM »
I've set my objects to MaxDsit=9 000 000 .
That is alot right?

Offline Xjazz

  • Gold Member
  • *****
  • Posts: 2653
Custom object size limit
« Reply #11 on: January 06, 2006, 04:57:46 AM »
Hi

Duh,
 I'm a AC3D noob and I don't have a too much know&how about 3D design.

Since my AC3D trail is over, I assigned the materials in notepad with replace function: mat ZY > mat 63.  Hint! Before you start the ac-file text editing, make a workcopy and Save As your work often during the editing process. Use version numbers for those Save As names.

Try 5 00 000 feet than 9 000 000 feet.
 


Blauk,
I did use ac3d Reduce function to "create" those clumsy lod's.  

Object named "lod1" has 268 vertices and 460 surfaces + 512*512 texture
Object named "lod2" has 187 vertices and 298 surfaces + 256*256 texture
Object named "lod3" has 130 vertices and 184 surfaces + 128*128 texture

Jep, it's a typo on lod3 min/max distance properties. I guess, I get mixed after scrolling up & down those 6544 lines in notepad...

1 mile = 5280feet :)

Offline croduh

  • Gold Member
  • *****
  • Posts: 2509
Custom object size limit
« Reply #12 on: January 06, 2006, 05:11:23 AM »
I suck at making textures so i beg if anyone has ground or mountain textures please give them to me, i really can't make my own.
Xjazz you make mountains in notepad(??!!!)?!:O
How do you measure how big is your object?

Offline Xjazz

  • Gold Member
  • *****
  • Posts: 2653
Custom object size limit
« Reply #13 on: January 06, 2006, 06:02:19 AM »
Quote
Originally posted by duh
I suck at making textures so i beg if anyone has ground or mountain textures please give them to me, i really can't make my own.
Xjazz you make mountains in notepad(??!!!)?!:O
How do you measure how big is your object?



No no no! I did mountains during the trail time. Now I do hierarchy three, properties, texture changes and material renaming with notepad.

I try find that one Blender related link where was some free textures available.

Offline croduh

  • Gold Member
  • *****
  • Posts: 2509
Custom object size limit
« Reply #14 on: January 09, 2006, 12:35:37 PM »
Xjazz what tool in ac3d did you use for making your mountains->
-poly?
-polyline?
-line?
I am having trouble creating some more complex objects.