Jump to content

Blender Vertex Colors to Three.js


InfiniteLoop
 Share

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. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...