Jump to content

Problem of color rendering of a Blender object


Dams
 Share

Recommended Posts

Well @Dams I had taken your file and exported with a Hemi light knowing the normals were correct (as I posted above). Tonight I went back and looked at your file - then I noticed the object scaling was a little extreme  -Yscale 50x Zscale ( see image below). So my mind said,  "what happens if I apply the scale?"

The answer is in the second image below A - Unapplied Scale,  B- Applied Scale. It seems that applying that extreme scale solved the problem.

Now I did replace your light with a Hemi - but nothing else has changed. If you want to try yourself my file  with the scale unapplied is in the link below. Open the Blender file and export. Then apply the scale and export again with a slightly different name. Open each one in the BJS Sandbox

TestFile

Same as before - in Blender applied the Subsurf Modifier first, recalculated normals outside, checked the normals, then turned on backfaceculling  - everything looked fine :)

The difference between the two babylon Sandbox renders - seems to be  the scale issue.

cheers, gryff :)

scale1.png

scale2.png

Link to comment
Share on other sites

@Pryme8

i went back few pages in the forum, the first guy who run into this was back in 1851,

its a miss leading marketing strategy of the most 3d model warehouses pbr obj download.
obj supports reflective material, therefor babylonjs does not,https://doc.babylonjs.com/extensions/OBJ the very end of the pages addresses this kind of problem. 

you could also strip the 2-3 lines of code from the the 'mlt file, its text format, pure javascript skills, should work here, - check if is some mirror material definition is applied.


@Dams what is this thing ?

 

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...