Hello guys, i'm developing an AR app and i would like to add 3D models in the camera view using your ENCODER.
The only problem is : if i save a FBX file from Maya 2012 which contains a simply object with a BLINN material on it (the object IS NOT NURBS, it's just a polygon. a sphere.) then the encoder will not load the blinn material and will say me "Material Not Assigned".
What should i do? It's very important that i make this works.
p.s if i open the fbx file with Maya, it loads the materials. So i think the problem is oriented to Wikitude Encoder!
Help me please :(
C
Christian Ebner
said
over 6 years ago
Hello,
If I understand you correct then you opened a new maya project, created a polygon sphere, right-clicked on the sphere and assigned a new material and selected Blinn?
There shouldnt be any problems if you do it like that. Could you attach the mb-file and the exported fbx-file in your next post? Which version of the Wikitude 3d Encoder do you use? You find the version it in the about dialog.
I
Iacopo
said
over 6 years ago
Hi, the version is 1.096 or something similar i think.
I will attach you my real project and not the sphere. It's a simple building and it's made just by blinn materials.
Ok now maya says me " unable to export some materials: shading map 1 will be exported as lambert materials"
damn... what does it mean? how can i fix?
C
Christian Ebner
said
over 6 years ago
You have several complex materials in your Maya file. A couple of those definetly won't work:
particleCloud1
shaderGlow1
surfaceShader1
Particles and the shaders are not supported. The export message you get from maya refers to a shader which can't be exported, so it changes the material to a simple lambert material. Please use only basic materials like phong, blinn, lambert or similar. You see all of your materials in the Hypershade window in Maya.
I hope that helps.
I
Iacopo
said
over 6 years ago
Uhm you are right, i removed the materials but i cannot remove the shadowGlow, it says "shadowGlow cannot be remove"... damn!
I
Iacopo
said
over 6 years ago
Ok this is an annoying problem. I have to solve it. I cannot delete shadowGlows.. it is part of Maya. you cannot delete it. So i don't think this is the problem. Please help me, this is ridicolous! I'm creating a simple blinn sphere and the encoder removes the material blinn!!?
I
Iacopo
said
over 6 years ago
The encoder crashes if i open the wt3, which version are u using? maybe i have to set something in maya to esport the fbx in the right way?
I
Iacopo
said
over 6 years ago
The encoder keeps me saying "Material Not Assigned" for every object, even if i use your fbx.
Detailed warning message:
Mesh '' has no material assigned
...
C
Christian Ebner
said
over 6 years ago
I can export it but I don't know how you want it to look like. It looks already much better if you add a light for example. I attach the fbx file (without light).
C
Christian Ebner
said
over 6 years ago
I'm sorry, first I created it with the current developement version (opened the wrong version) and second I misunderstood your question before. You can ignore this warning. For some reason a mesh was found with no id and there is no material assigned. That happens sometimes to nodes that wont be displayed anyway (like a motion path for example). So it can't have any material. Since you dont see the id in the message you can ignore it. You can export your model anyway.
I will put this on the list because it is confusing to display the warning in this case. Sorry for the inconvenience.
I
Iacopo
said
over 6 years ago
Actually my problem it's not solved. The encoder keeps removing materials from my object...
C
Christian Ebner
said
over 6 years ago
alright....I attached two screenshots how I see it in the encoder and how I see your model in maya. Which materials are missing?
I
Iacopo
said
over 6 years ago
You can see that the windows on the building reflect in maya (blinn) and they don't in wikitude encoder because they became lambert in encoder :/
I
Iacopo
said
over 6 years ago
Oh wait, i used a light and now it's really better!!! Maybe it's because he needs light.... lol, what a noob i am? xD
Iacopo