Jump to content

How to randomly clone billboard instances onto a mesh ?


jsauca
 Share

Recommended Posts

Hi @Deltakosh,

Thanks for your help. As per the playground you have provided you can see that the billboards does not really 'populate' the target mesh. The billboard are placed on the vertices, however the target mesh has really few vertices, hence the generated billboard are duplicating and positioned on top of each others.

I started to look into how to subdivide the target mesh to get additonal vertices and get the billboard to be more spead out. However,  I have found out that BabylonJS does not provide a way to subdivide a mesh. I am not sure if I am going in the right direction here.

Would they be another way to populate a target mesh with billboarda/sprites ?

Thanks for your time, much appreciated!

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