Jump to content

why the imported mesh from blender is gray whereas the built-in mesh is white?


guzuomuse
 Share

Recommended Posts

hi,i want to the import mesh has the same default settings with the built-in mesh( like:Babylon.Mesh.createSphere.createCylinder....);

how to do that?

for now the imported mesh from blender is gray whereas the build-in mesh is white here is the screen picture:

p1.png.a5927e6f7a2cc82b977f327ff66bde10.png

the gray mesh is imported from blender,and the withe one is created with the built-in Babylon.Mesh.createCylinder.

i want to make the gray has the same default setting with the white one. how to do that?

thanks.

Link to comment
Share on other sites

@guzuomuse: have a look at this PG:

https://www.babylonjs-playground.com/#1V53AS

Here, we:

  • create a cylinder
  • append the scene exported from blender
  • apply the material on the cylinder to the imported mesh
  • dispose (remove) the cylinder

Be aware that when you import or append a scene exported from Blender, it will also include the lighting and (I think) the environment too.

It really helps people to understand your problem if you create a playground.

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