Jump to content

Position/Point Labels


Pryme8
 Share

Recommended Posts

How would one go about putting a label for its index and maybe a little dot on every point on a mesh's VertexBuffer.PositionKind?
I have seen it before I think, but cant find it again now.

*EDIT* 

Nevermind I got it, Ill post the solution in a little bit.

*UPDATE*

http://www.babylonjs-playground.com/#SQHKA8
I'm sure there are better ways to do this, but for my purposes while trying to build custom meshes this will work!

Link to comment
Share on other sites

Is there a way to attach the labels to a point in 3d space without adding a mesh?
 I tried the moveToVector method or what ever it was, but that seems to not work and from the documents does not sound like it would work anyways.

Link to comment
Share on other sites

I'll have to take a look it might of been because I did not realize I needed to pass the scene with the method but I bet that was the issue!

 

also I wonder which is faster/less impact doing the blank mesh method or the before render function like you did.

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