sceneform-android-sdk icon indicating copy to clipboard operation
sceneform-android-sdk copied to clipboard

Diffuse texture does not appear when converting from .obj on Sceneform plugin

Open terezo opened this issue 8 years ago • 3 comments

Hi again,

I am having troubles with getting diffuse texture when rendering .sfb converted by Sceneform plugin from .obj. Interesting is, that models converted by latest version of google-ar-asset-converter works (thanks to @necrostylery https://github.com/necrostylery/google-ar-asset-converter).

sceneform_plugin Sceneform plugin result

necrostylery google-ar-asset-converter result

Setup: Android Studio 3.1.3 Build #AI-173.4819257, built on June 4, 2018 JRE: 1.8.0_152-release-1024-b01 amd64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Linux 4.15.0-23-generic

Assets, with both results: sceneform_vs_necorstylery.zip

Any suggestions how to proceed are appreciate. We are debugging our assets with modelers and this inconsistency makes the process a bit insecure. I notice also troubles with shadow of sofa, which is better for Sceneform. Any advice on what could be wrong with our model would be amazing too.

terezo avatar Jun 29 '18 10:06 terezo

@terezo - Are you using the 1.3.0 version of the Sceneform gradle plugin or an earlier version? You should see a dependency in your project gradle file that looks like this classpath 'com.google.ar.sceneform:plugin:1.3.0'

tpsiaki avatar Jun 30 '18 00:06 tpsiaki

@tpsiaki my mystake, I was using earlier version. I was thinking I've got 1.3.0, since I reinstalled plugin from settings where I saw Install v1.3.0. It did not update my gradle dependency, I think that's not intuitive.

terezo avatar Jul 02 '18 06:07 terezo

@terezo Thanks. Can you please file a separate request for auto updating the gradle dependency?

abramyan avatar Jul 02 '18 17:07 abramyan