Quickly creates LOD billboard textures for Trees LOD to be used in Skyrim with TES5LODGen, Oblivion with TES4LODGen, Fallout 3 with FO3LODGen, Fallout New Vegas with FNVLODGen. Images are grabbed directly from Creation Kit preview, Construction Set render window or NifScope.
Permissions and credits
Credits and distribution permission
Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
Upload permissionYou can upload this file to other sites but you must credit me as the creator of the file
Modification permissionYou are allowed to modify my files and release bug fixes or improve on the features so long as you credit me as the original creator
Conversion permissionYou can convert this file to work with other games as long as you credit me as the creator of the file
Asset use permissionYou are allowed to use the assets in this file without permission as long as you credit me
Asset use permission in mods/files that are being soldYou are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou must get permission to earn Donation Points for your mods if they use my assets
Author notes
This author has not provided any additional notes regarding file permissions
File credits
This author has not credited anyone else in this file
Donation Points system
Please log in to find out whether this mod is receiving Donation Points
Changelogs
Version 1.5
The latest public NifSkope dev7 support
Version 1.4
-support for NifScope alpha6
-format command line parameter to set dds format of the saved image
Version 1.3
-aim command line parameter to draw a vertical red line in the middle of image for better "aiming" when grabbing shots since billboards must be symmetrical for the best look in the game. Don't forget to remove that param when grabbing the final image.
Version 1.2
Added support for NifScope 2 Alpha3, should work with later versions too. Won't work with older versions anymore!
-maskdiff:N parameter for alpha calculation where (R1-R2)<=N and (G1-G2)<=N and (B1-B2)<=N, default is 0 which means exact match with the color of the top left corner
Version 1.1
Grabbing from Nifscope 2 render window
Small 0.5 sec delay before taking a snapshot
xLODGen (TES5LODGen, TES4LODGen, FO3LODGen, FNVLODGen) uses 2D images of trees to show them as LOD in game. Images must be DDS files with alpha channel (and have mipmaps for Oblivion), and creating those manually can be cumbersome, especially for those like me who don't use Photoshop or other graphical editors.
This small utility can grab an image of a tree directly from preview/render window of official editor (Creation Kit, GECK and Construction Set) or NifScope, calculate alpha mask, scale, adjust brightness and contrast, generate mipmaps and save ready to use DDS billboard image in a single click.
Usage guide:
1. Open a tree preview window in CK for Skyrim or GECK for Fallouts, or place a tree in an empty space so background has a solid color in render window for CS in Oblivion, or open a tree model in NifScope. 2. Adjust size and rotation to your taste. Disable "Ground plane" in CK to have a solid background. Make sure that background is solid in NifScope (no axis, wireframe, etc.) 3. Don't minimize official editor or NifScope and run treelod.exe, it should locate CK's or GECK's preview window or CS's render window or NifScope render (tested with NifScope verion 2) and grab the image. 4. To see the output, run treelod.exe from command prompt 5. For the best quality in game, try to create symmetrical billboards, -aim parameter can help with that. If grabbing images from NifScope, disable AntiAliasing in it's options to remove bleeding of the background color on the image. Avoid using -height parameter for the same reason, adjust size by zooming the model itself and resizing NifScope/CK/CS/GECK window. 6. Keep in mind that LOD textures for Oblivion need mipmaps, so don't forget to specify -mipmap parameter. Skyrim/Fallout 3/New Vegas billboards don't need mipmaps. 7. Rename dds file accordinly, put in the correct folder and run xLODGen.