patremblay Posted July 31, 2018 Share Posted July 31, 2018 I want to randomly assign different fonts to text instances reading a custom point attribute that would be a string corresponding to the font's name (Arial, Times, etc), I tried toadstorm's technique explained here http://www.toadstorm.com/blog/?p=493 that works well with most instancing contexts but not for that purpose. Maybe it's not even possible (?) Quote Link to comment Share on other sites More sharing options...
toadstorm Posted August 1, 2018 Share Posted August 1, 2018 Since "fontstyle" is probably a string attribute, you'll need to use the points() expression instead of point(). Here's an example file. vary_copy_fonts_toadstorm.hip Quote Link to comment Share on other sites More sharing options...
patremblay Posted August 1, 2018 Author Share Posted August 1, 2018 Thanks a bunch! I wasn't far but still too green using Houdini and vex to have figured this out. 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.