Jump to content

performance analysis  34ms==> ?? advancedTexture=BABYLON.GUI.AdvancedDynamicTexture.CreateForMesh(textMesh,120,40);


chicagobob123
 Share

Recommended Posts

Hey CB, congrats on having the longest thread title EVER.  :)

Let's see... about 7-8 secs for 200 ADT's? 

Actually, that's probably expected, considering the amount of work/code/measurements it takes to create an ADT for each mesh.

Have you tried adding all 200 textLabel to a SINGLE full-screen ADT, and then using textLabel.linkWithMesh for each?

https://www.babylonjs-playground.com/#XCPP9Y#16

http://doc.babylonjs.com/how_to/gui#tracking-positions

Can you give me a report on your speeds... using THAT method?  (thx)

Link to comment
Share on other sites

Hey not a bad idea. i will separate it off and measure.  I have so many fires at the moment :huh:

Going to ask another question which will be is there a method to async swap a new texture? 

The new Async scene loader works so nicely I have this thing for wanting more detail the closer I get. 

So I was hoping to load new texture files on the fly

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