Jump to content

Rendering HTML in a Babylon scene?


exolun
 Share

Recommended Posts

Hi Folks,

I'm trying to build a Babylon app that will potentially pull in external content, and some of the content would be very easy to present if I were able to put rendered HTML inside of my Babylon scene.

Is it possible to render some HTML in Babylon?  Possibly as a sprite or a texture on a mesh?

Link to comment
Share on other sites

Hi guys!  Hey, I recently mentioned HTML-on-a-plane in another thread.  DJ view!  :)

Focomoso is precisely right, I think. A picture of a webpage... as a texture... works.  But no browser-like interacting allowed.  What a shame, eh?  *nod*

Quick reminder (and a hearty welcome-to-forum) to exolon... you CAN absolute-position any HTML node atop/over a canvas... but it is not really part of the canvas webGL scene.   A canvas has a "context".  Sometimes 2d, sometimes 3d, but no mixed hybrids, yet.  :)

Ok, bye again.

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