project reality header
Go Back   Project Reality Forums > PR:BF2 Mod Forums > PR:BF2 Community Modding
23 Feb 2020, 00:00:00 (PRT)
Register Developer Blogs Project Reality Members List Search Today's Posts Mark Forums Read
PR:BF2 Community Modding Making or wanting help making your own asset? Check in here

Thread Tools Display Modes
Old 2019-10-05, 14:35   #1
Default BF MeshViewSampler

The BF MeshViewSampler is included in the latest 3ds max bf2 plugin/scripts


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

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.

Object file path to .staticmesh file

It would be helpful to have access to the source code for BF MeshViewSampler
dnamro is offline Reply With Quote
Old 2019-10-05, 16:23   #2
PR:BF2 Developer

Outlawz7's Avatar
Default Re: BF MeshViewSampler

Ask over at FH2 tbh.

Outlawz7 is offline Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT. The time now is 14:35.