Jump to content

Display HTML formated division onto a mesh face


Recommended Posts

I'm just curious. This would be asking a LOT I know.


Is there a way to project a HTML formated 2d division upon a BJS mesh face? This ability would be invaluable in a CMS (like WordPress ) That would incorporate BJS into the theme.


For instance, one could project current posts against the wall of a walk around gallery. This way the client could update content as usual and it would just drop into the 3D rendered scene?    


I know I can use draw text but I would have to do some javascript magic to format it correctly against the mesh face.

Link to comment
Share on other sites

This might implemented as .blend file which contained 60 meshes (maybe 26 uppers, 26 lowers, & 8 symbols).  Blender, I think would do most of the work.


Once in a font.babylon, you could load them all, & use shared vertex instances to comprise a message, parenting the letters together, and position them  as a unit, just like any other mesh for perfect blending into a 3D space.  Not simple, I know, but remember these are 3D fonts, so the effect could be stunning.

Link to comment
Share on other sites

Thanks for the suggestions. I want to use BJS with PHP variables and drop them into javascript variables from current posts. So I think what I'm going to resort to is just restricting thier post ability to a strict format that has been pre styled with drawText lengths in mind. No big deal.


They get a 3D walkthrough theme...so they can deal with the style restrictions.


Thanks again for the suggestions.

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.

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.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...