Not sure if this is a bug or not, just wondering if I'm doing something wrong or missing a setting, but textures added to a ShapeFactory cube show up horizontally flipped for me.
Texture.builder()
.setSource(getApplicationContext(), R.drawable.magistrates_office_jp)
.build()
.thenAccept(texture -> {
MaterialFactory.makeOpaqueWithTexture(getApplicationContext(), texture)
.thenAccept(material -> {
ModelRenderable cube = ShapeFactory.makeCube(
new Vector3(new Vector3(1f, 1f, 1f)), Vector3.zero(), material);
Node node = new Node();
node.setRenderable(cube);
node.setParent(anchorNode);
});
});
@michaelvogt I have the same problem !! The ShapeFactory cube with my texture:

And the texture is the following:

Yes, I have seen it mentioned in several issues, but it was never talked about directly. So I thought creating a separate issue might be a good idea. Originally I thought its just me doing something stupid.
Thanks for the report, this is definitely a bug. I've verified it and it will be fixed in an upcoming release.
This is now fixed in Sceneform 1.4.
Most helpful comment
Thanks for the report, this is definitely a bug. I've verified it and it will be fixed in an upcoming release.