Sign in to follow this  
InfiniteLoop

Blender Vertex Colors to Three.js

Recommended Posts

I'm trying to find a way to import a Mesh with vertex colors made on Blender. I've managed to load a mesh with textures or a basic material., but I can't seem to find a way to use the vertex paint i made on Blender...on three.js

 

  • I've made sure to add Vertex Colors in the Object Data panel on Blender

uploadgif2.gif

  • I ticked the vertex colors option on the Blender three.js exporter. 

uploadgif.gif

  • I'm loading the model using: 
loader.load( "model.js", function ( geometry, materials ) {    mesh = new THREE.Mesh( geometry, new THREE.MeshFaceMaterial( materials ) );    scene.add( mesh );    animate();} );

...but all I only get a solid gray color. I'm guessing that's the default material color from Blender. 

 

Hope this makes sense. Thanks all. 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.