Eilfie Sugarplum Posted December 7, 2012 Share Posted December 7, 2012 what kind of script would i need in order to both change textures and the actual meshfor example LOGOs new chloe mesh head can change makeup and facial expressions using a scripted hud Link to comment Share on other sites More sharing options...
Helium Loon Posted December 7, 2012 Share Posted December 7, 2012 You can't change the mesh itself via scripting. Changing the textures is relatively easy, simply using llSetTexture() or llSetLinkTexture() or llSetLinkPrimitiveParamsFast(). Each 'material' in the mesh is a separate texture 'face' on the resulting prim. Changing makeup and such (i.e., the textures) would just require a library of texture UUIDs the script could switch between. If it needed to change shape, one could create 'copies' of the head (each consisiting of ONE material) and linking them so each has a different material. Then by setting all but the 'active' one to 100% transparent, you can 'change' the appearance of the mesh. To do any of this from a HUD would require the HUD to communicate via llSay() or llRegionSayTo() with the mesh object script. Link to comment Share on other sites More sharing options...
Eilfie Sugarplum Posted December 8, 2012 Author Share Posted December 8, 2012 thank you! Link to comment Share on other sites More sharing options...
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now