Jump to content

apply diffuse texture on stl ?


dmonkeyjazz
 Share

Recommended Posts

Could it be it's impossible to load a diffuse texture on a mesh that is imported from an stl file ?

I'm able to set the same material on a basic plane and it works, but not on the stl :/

For some reason the material does show a color matching the jpg texture file, but does not render the full texture ...

should I apply special u/v mapping ?

Link to comment
Share on other sites

Thanks for your reply Deltakosh !

I had no knowledge of this...
I created the stl with OpenSCAD ... I don't believe there is an option to generate uv mapping in OpenScad, or is there ?

The object I need to apply a texture to is basically a triangle which is easy to recreate using primitives (or so i presume).
But just for future reference: it would be interesting to know if there is software that can generate the uv mapping from a given stl file (i.e. could Blender do it ?)

Many thanks,
you certainly saved me some head scratching ;)

 

Link to comment
Share on other sites

46 minutes ago, dmonkeyjazz said:

(i.e. could Blender do it ?

Hi @dmonkeyjazz; welcome to the forum :)

Yes Blender can import .stl files - and it has some nice uv unwrapping tools. So perfectly doable in Blender.

And you can then export directly from Blender as a .babylon file.

Each of these three of these models started life as an .stl file that I imported into Blender.

Beethoven and Friends

cheers, gryff :)

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