JBenghiat Posted March 6, 2018 Share Posted March 6, 2018 Does anyone have any experience creating textures from a chosen image file? Is the Choose Image dialog pre-defined in any way, or do we have to re-create it? If we need to handle the process from scratch, is ReadMaterialImageFile() still the best call? http://developer.vectorworks.net/index.php/VCOM:VectorWorks:ISDK::ReadMaterialImageFile Quote Link to comment
JBenghiat Posted March 30, 2018 Author Share Posted March 30, 2018 Figured this one out: gSDK->EditShaderRecord() presents the above dialog if you pass a handle of an image shader. Using VWTextureObj and VWTextureShaderColorImageshImage, getting a handle to the shader record is fairly easy. 1 Quote Link to comment
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.