MX Bikes Official Forum

General Category => Support => Topic started by: 𝖙𝖋𝖈 on October 28, 2017, 11:30:24 PM

Title: FBX2EDF 1.19 Export sizes
Post by: 𝖙𝖋𝖈 on October 28, 2017, 11:30:24 PM
Weird issue, not sure if it's 100% related to FBX2EDF 1.19 or not, but worth double checking.

When I export about 200 trees from Blender and run FBX2EDF, it returns an EDF file size of roughly 26,000kb to 28,000kb (can't remember the exact figure.

When I export just 5 trees on their own from Blender and run FBX2EDF, it returns an EDF file size of roughly 26,000kb.

When I double those 5 trees to 10, it doesn't really affect file size.

Is there a starting size for anything exported? For example, if I export one plane or 50 trees is it going to start at a certain size? Reason I ask is because 5 trees or 200 both seem to take about 25 minutes running map.bat.

Thanks :)

Title: Re: FBX2EDF 1.19 Export sizes
Post by: 𝖙𝖋𝖈 on October 29, 2017, 12:12:24 AM
The 5 trees are different, but each are made using planes so all same number of tris.
Title: Re: FBX2EDF 1.19 Export sizes
Post by: 𝖙𝖋𝖈 on October 29, 2017, 12:24:50 AM
That's a damn good point dude.. Can you confirm this PiBoSo?
Title: Re: FBX2EDF 1.19 Export sizes
Post by: 𝖙𝖋𝖈 on October 29, 2017, 10:34:57 PM
On the same subject, my scenery file is now 124kb and it's taken over 25 minutes so far.. Without scenery.edf it takes 2 minutes max.

Pib? Is this normal?
Title: Re: FBX2EDF 1.19 Export sizes
Post by: PiBoSo on October 29, 2017, 10:39:33 PM
Quote from: тғc on October 28, 2017, 11:30:24 PM
Weird issue, not sure if it's 100% related to FBX2EDF 1.19 or not, but worth double checking.

When I export about 200 trees from Blender and run FBX2EDF, it returns an EDF file size of roughly 26,000kb to 28,000kb (can't remember the exact figure.

When I export just 5 trees on their own from Blender and run FBX2EDF, it returns an EDF file size of roughly 26,000kb.

When I double those 5 trees to 10, it doesn't really affect file size.

Is there a starting size for anything exported? For example, if I export one plane or 50 trees is it going to start at a certain size? Reason I ask is because 5 trees or 200 both seem to take about 25 minutes running map.bat.

Thanks :)

Are the trees textured?
Please note that EDF and MAP files include the textures, that usually take more space than geometry.
Title: Re: FBX2EDF 1.19 Export sizes
Post by: PiBoSo on October 29, 2017, 10:41:21 PM
Quote from: тғc on October 29, 2017, 10:34:57 PM
On the same subject, my scenery file is now 124kb and it's taken over 25 minutes so far.. Without scenery.edf it takes 2 minutes max.

Pib? Is this normal?

This should be normal because without scenery terrain shadows are not calculated.
Title: Re: FBX2EDF 1.19 Export sizes
Post by: 𝖙𝖋𝖈 on October 29, 2017, 11:03:22 PM
Quote from: PiBoSo on October 29, 2017, 10:39:33 PM
Quote from: тғc on October 28, 2017, 11:30:24 PM
Weird issue, not sure if it's 100% related to FBX2EDF 1.19 or not, but worth double checking.

When I export about 200 trees from Blender and run FBX2EDF, it returns an EDF file size of roughly 26,000kb to 28,000kb (can't remember the exact figure.

When I export just 5 trees on their own from Blender and run FBX2EDF, it returns an EDF file size of roughly 26,000kb.

When I double those 5 trees to 10, it doesn't really affect file size.

Is there a starting size for anything exported? For example, if I export one plane or 50 trees is it going to start at a certain size? Reason I ask is because 5 trees or 200 both seem to take about 25 minutes running map.bat.

Thanks :)

Are the trees textured?
Please note that EDF and MAP files include the textures, that usually take more space than geometry.

Yes, and that makes sense. One lot of textures and additional meshes. Thanks.

Quote from: PiBoSo on October 29, 2017, 10:41:21 PM
Quote from: тғc on October 29, 2017, 10:34:57 PM
On the same subject, my scenery file is now 124kb and it's taken over 25 minutes so far.. Without scenery.edf it takes 2 minutes max.

Pib? Is this normal?

This should be normal because without scenery terrain shadows are not calculated.

OK good to know, thank you for clearing it up :)
Title: Re: FBX2EDF 1.19 Export sizes
Post by: 𝖙𝖋𝖈 on October 30, 2017, 11:36:38 AM
Anyone facing the same problems, if you want a quick way of previewing objects in game open params.ini and set:

shadowvolumes_create = 0

and

shadowmaps_create = 0

Speeds up map.bat from 20 minutes to under a minute for me.
Title: Re: FBX2EDF 1.19 Export sizes
Post by: Asdrael on October 30, 2017, 01:04:25 PM
Wait... You didn't know that? Holy shit you must have spent ages waiting for your tracks and JS7 haha.
Title: Re: FBX2EDF 1.19 Export sizes
Post by: 𝖙𝖋𝖈 on October 30, 2017, 01:16:54 PM
Quote from: Asdrael on October 30, 2017, 01:04:25 PM
Wait... You didn't know that? Holy shit you must have spent ages waiting for your tracks and JS7 haha.

Yeah.. That would have sucked!

Oh I knew.. It was only when pib said it would take time due to shadowmap generation that it clicked.. But I'm sure it never used to take that long. Before I'd only turn off shadows when file size got really big.
Title: Re: FBX2EDF 1.19 Export sizes
Post by: Snappe on October 30, 2017, 07:06:11 PM
Also, if you want quick rough shadows, you can use these values:

shadowmaps_scale = 0.3
shadowmaps_supersampling = 1
Title: Re: FBX2EDF 1.19 Export sizes
Post by: 𝖙𝖋𝖈 on October 30, 2017, 07:56:02 PM
Quote from: Snappe on October 30, 2017, 07:06:11 PM
Also, if you want quick rough shadows, you can use these values:

shadowmaps_scale = 0.3
shadowmaps_supersampling = 1

Good to know, thanks Snappe :)
Title: Re: FBX2EDF 1.19 Export sizes
Post by: philiaN on November 03, 2017, 09:41:31 AM
Oh yeah, thanks for the values. I tested them finally: map.bat -> from ~1:30min -> 10sec :D