.wrl file could not load the black screen and caused the black screen

.wrl file could not load the black screen and caused the black screen
please help me

Anode_potential.zip (2.3 MB)

The are two problems with your asset:

  • The vertex normals are zero vectors.
  • The diffuse color of your materials is black.

You should be able to fix these issues by putting the following code in your onLoad() callback:

object.traverse( function ( child ) {

	if ( child.isMesh ) {

		child.geometry.computeVertexNormals();
		child.material.color.set( 0xffffff );

	}

} );

object is the loaded VRML asset. The material’s color is set to white since the asset holds vertex colors. Vertex colors are always multiplied with the color value.

Thank you :grinning: