The forum has been set to read-only mode. For community discussion and questions, head over to our Discord: https://discord.taleoftwowastelands.com

FarNifAutoGen

General modding guides and authoring tutorials.
Post Reply
junkacc
Posts: 44
Joined: Thu May 16, 2019 2:59 am

FarNifAutoGen

Post by junkacc » Sun May 26, 2019 6:21 am

http://tesrenewal.com/forums/morroblivi ... togen-v015

Have no idea of LODS so I can't verify if it works, but maybe someone could check it out?

User avatar
RoyBatty
Gary
Posts: 7742
Joined: Sun Apr 27, 2014 10:26 am
Location: Vault 108

Re: FarNifAutoGen

Post by RoyBatty » Mon May 27, 2019 3:40 am

I don't think this will work for NV.
Image

User avatar
zilav
Gary
Posts: 225
Joined: Tue Apr 09, 2013 4:03 pm

Re: FarNifAutoGen

Post by zilav » Tue May 28, 2019 6:09 am

Oblivion LODs don't use atlas and can use multiple textures.
Fallout LODs do and thus must be atlased, and this tool doesn't unwrap UVs for that. So it won't work even if author will add support to read/write nifs in Fallout format.

ponyrider0
Posts: 1
Joined: Wed Feb 05, 2020 11:35 pm

Re: FarNifAutoGen

Post by ponyrider0 » Thu Feb 06, 2020 12:01 am

Texture Atlas'ing sounds like a really good performance tweak for VWD/LOD objects. I'll look into adding support for it in a future version of FarNifAutoGen. Doing a bulk texture-coordinate remapping is a fairly trivial operation since I'm already reading through and rewriting the entire NIF file anyway. The non-trivial work would be in generating the texture atlases.... how are texture atlases currently created? Is this something that is already automated? If not, then I would first want to create an automated texture atlas generator tool. Once that's figured out, it would be just a matter of reading in whatever texture-atlas conversion table is generated to do a bulk remapping of texture coordinates (probably as a pre-processing step for FarNifAutoGen)...

So let me know if there's a texture atlas tool which recommended (preferably open-source). Thanks.

BTW, the latest version of FarNifAutoGen is here:
https://www.patreon.com/posts/farnifautogen-v0-26384821

There's also a new alternate version which creates Billboards, but it's still in the testing phase right now:
https://github.com/ponyrider0/FarNifAut ... llboardGen

User avatar
RoyBatty
Gary
Posts: 7742
Joined: Sun Apr 27, 2014 10:26 am
Location: Vault 108

Re: FarNifAutoGen

Post by RoyBatty » Thu Feb 06, 2020 1:09 am

LODGen already makes LOD and the texture atlas.

A tool to make billboards is not really useful since treelod is broken.

A tool to make lod meshes would be nice, but not sure if this can be automated.
Image

User avatar
zilav
Gary
Posts: 225
Joined: Tue Apr 09, 2013 4:03 pm

Re: FarNifAutoGen

Post by zilav » Fri Feb 07, 2020 2:51 pm

For Fallout all you need is to make sure that all UVs are in 0..1 range, xLODGen will handle the atlasing itself during LOD generation.

For Oblivion you need to combine all used textures in all of _far models onto atlas(es) yourself and update UVs accordinly (this will also require unwrapping UVs). A separate easy to use tool for users to run on their PC is welcomed, to support whatever texture replacers or LOD meshes mods they have installed. Also need a "revert" mechanism because if user runs it again to update _far meshes, you'll obviously need original unmodified _far models for that.

Post Reply