The BF MeshViewSampler is included in the latest 3ds max bf2 plugin/scripts
bin/extern/BfMeshViewSampler.exe
It is a console app to create Lightmap Samples. It appears to be created based on Remdul's public source code for his BFMeshViewer tool.
Who created it and is the source code available?
I am wondering if it could be used with the Python script to read the BF Mesh in order to batch generate LM samples:
python script to read BF Mesh
https://www.realitymod.com/forum/showth ... p?t=147329
looking at the Max script, it appears that Samples are created multiple times, first once for each LOD, then another one with the UVChannel number.
Command line options that I can find in the max script are:
-geom (Currently only 1 is suported)
-lod (lodI value)
-channel (UV Channel, 5 is the default)
-padding (6 is the default)
The following are lightmap sizes, which must be a power of 2. If width is set to "auto" then width and height are auto generated from the object info.
-width
-height
Object file path to .staticmesh file
It would be helpful to have access to the source code for BF MeshViewSampler
BF MeshViewSampler
-
Outlawz7
- Retired PR Developer
- Posts: 17261
- Joined: 2007-02-17 14:59

