Skip to content

texture not visible on my 3d object. #51

@nehal076

Description

@nehal076

Hi, I am facing an issue when rendering the 3d Object.

this is my mask image.

image

my asset folder structure
image

this is my code

Cube(
    onSceneCreated: (Scene scene) {
      scene.world.add(
        Object(
          fileName: 'assets/shoe.obj',
          scale: Vector3.all(5),
          lighting: true,
        ),
      );
    },
  )

my mtl file

Material Count: 1

newmtl Material
	Ns 323.999994
	Ka 1.000000 1.000000 1.000000
	Kd 0.800000 0.800000 0.800000
	Ks 0.500000 0.500000 0.500000
	Ke 0.0 0.0 0.0
	Ni 1.450000
	d 1.000000
	illum 2
	map_Kd diffuse.png

any solution to this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions