Author Topic: Vertex Color  (Read 291 times)

Akash Rajbhandari   «   on: January 20, 2012, 01:10:06 PM »
Change-log for Pre-Release
2.0.46  says vertex colors were added for3DMax plugin. However,
I am still unable to export the Vertex Color from 3DMax. Is there
anything I am missing?

 

Also, the application wont work without adding the following line:


scene.registerClass( Flare3DLoader1 );

Does that mean it is not exporting in f3d v2 format?

Ariel Nehmad   «   Reply #1 on: January 20, 2012, 01:30:58 PM »
Hi Akash.

The current plugin still exporting to format 1, the new plugin will be ready soon...so that's the reason you still need to use Flare3DLoader1.

About the colors, the plugin export those color buffers, but you need to add a VertexColorFilter on the material in order to see them on the meshes.

Akash Rajbhandari   «   Reply #2 on: January 20, 2012, 02:50:31 PM »
Thank you, Ariel! I can see the vertex colors working. :)

Paul Lohman   «   Reply #3 on: August 15, 2012, 03:49:47 PM »
@Akash - did you get this to work?
I get an error when accessing vert colors from any .F3D file with either the built-in VertexColorFilter or from a FLSL filter.
i.e.
using http://wiki.flare3d.com/index.php/Vertex_Colors or
material.filters.push( new VertexColorFilter( 0, BlendMode.NORMAL) );

"Missing buffer color0 in Sphere001 - Material: myMaterial - sizePerVertex: 14"

NOTE: this work fine for the same meshes exported as DAE.

Ivan Vodopiviz   «   Reply #4 on: August 16, 2012, 10:11:02 AM »
Hi Paul,

The current exporter doesn't export vertex colors, you have to set them up manually using Flare Studio.

Cheers,