Jump to content

I have trouble to loading texture of an object in Babylonjs SandBox


LLS
 Share

Recommended Posts

Hello to all.

I created an object in Blender and I applied the texture using UV coordinates.
This is the result of the render in Blender:
image.jpg
http://postimg.org/image/5tbxbzk1l/
Unfortunately, when I go to upload the files in the sandbox of Babylonjs this is the output:
image.jpg
http://postimg.org/image/4gu8a3mm1/
This is the log export file .babylon in Blender:
image.jpg
http://postimg.org/image/d8194d5x5/
 
Can someone please help me? Where am I wrong? Can you give me some suggestions.

Files that I put in the sandbox are these:
- casa_geografia.babylon
- casa_geografia.log
- layout_diffuse_texture.png

 
I attach them here.
 
Thanks in advance.

Casa.zip

Blender_Model_Casa.zip

Link to comment
Share on other sites

Hi LLS, welcome to the forum.  Sorry to hear you are having issues.  I have no answers, but, if possible, could you include the .blend file in the zip, too.  Thanks.

Hi Wingnut. Thank you for the warm welcome.

I attach the blender file in the bottom of the topic.

Link to comment
Share on other sites

Hi LLs, welcome to BJS.

 

In Blender in the Edit Mode for your object, Select all the vertices then Mesh -> Normals -> Recalculate Outside. Then rexport.

 

cheers, gryff :)

 

Yes_It_Works.jpg

Thank you. It works . I think the problem was that I first exported the model in OBJ and then I imported it into Blender . Anyway thank you very much . You 've solved a big problem!  :D  

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...