jeremyc Posted October 17, 2014 Share Posted October 17, 2014 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. Quote Link to comment Share on other sites More sharing options...
joshcamas Posted October 17, 2014 Share Posted October 17, 2014 Well you can project canvas, which contains text... You could read text off the post, and draw the text on the canvas-material. Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted October 18, 2014 Share Posted October 18, 2014 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. Quote Link to comment Share on other sites More sharing options...
jeremyc Posted October 18, 2014 Author Share Posted October 18, 2014 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. Quote Link to comment Share on other sites More sharing options...
joshcamas Posted October 18, 2014 Share Posted October 18, 2014 You can do that... or you can looky here:http://www.html5canvastutorials.com/tutorials/html5-canvas-wrap-text-tutorial/ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.