Start a new topic

Wikitude 3d encoder - do not show texture

Hi Team,


I am using KeyShot FBX file in wikitude encoder to get .wt3 format 3d models. But the encoded .wt3 file do not show texture and color. 


FBX exporter in KeyShot always converts the texture mapping to UV maps. Is there a way in Wikitude encoder to UV unwrap the 3d models.


I imported the KeyShot FBX file in Blender and again exported it as FBX, tried the blender generated FBX file on Wikitude Encoder but the encoder crashed without even importing the Blender FBX file.


Can you please help me solve this issue. 


Hi Namitha!


When you say does not show color, do you mean that it is rendered black? That usually happens when the FBX file cannot find the referenced texture file.


Would it be possible to have a look at your source FBX file and resulting WT3 file?


- Daniel

Hi Daniel,


It is rendered as grey color not black .

I am attaching the file containing the fbx as well as the .wt3 

please look into it.


-Namitha

zip
(24.4 KB)

Hi,


Could you please look into this


-Namitha

Hi Namitha,



Apologies for the late reply. The models you sent are configured to use grey unlit materials. So I'd say your results are expected. Same for the FBX, it would appear that the translation from FBX to WT3 was faithful.


Here's the material definition of your WT3 for reference:


material colored-unlit
{
    u_worldViewProjectionMatrix = WORLD_VIEW_PROJECTION_MATRIX
    
    technique
    {
        pass 
        {
            vertexShader = shaders/colored-unlit.vert
            fragmentShader = shaders/colored-unlit.frag
        }
    }
}

material Aluminum_Rough : colored-unlit
{
    u_diffuseColor = 0.792157, 0.819608, 0.933333, 1
    
    renderState
    {
        cullFace = false
        depthTest = true
    }
    
}

material Clear_Shiny_Plastic_White : colored-unlit
{
    renderState
    {
        cullFace = false
        depthTest = true
    }
    
}

material Gray_Roadway__10 : colored-unlit
{
    u_diffuseColor = 0.779492, 0.775448, 0.775448, 1
    
    renderState
    {
        cullFace = false
        depthTest = true
    }
    
}


As you can see, it's all "generic-unlit".



- Daniel

Login or Signup to post a comment