Jump to content

How to get part of the mesh's texture data?


BangTao
 Share

Recommended Posts

Hi,guys.i wanna know if there is a way can  get part of the mesh's texture data(and use these partial data to apply to another mesh):

Here:http://www.babylonjs-playground.com/#UVMN6

Line 17:is a ground with "earth.jpg" texture.

and Line24&39 are two triangles,these are part of the first one (with "earth.jpg" texture),and i wanna let these two meshs have the right texture from "the first"(at right range);

I know that i can set the UV's proportion to get the right output,but i don't wanna use it.

:rolleyes:Thank you for your time!

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