LoLJester Posted May 16, 2019 Share Posted May 16, 2019 I'm trying to map GUIs onto meshes. I came upon this resource: https://forums.torque3d.org/viewtopic.php?f=26&t=1276Anyone familiar with the guiOffscreenCanvas code?I successfully ported the guiOffscreenCanvas.h and guiOffscreenCanvas.cpp files to Torque3D 1.2What other files are affected by this class? How does the guiOffscreenCanvas get mapped onto a mesh and where is the code that does that?The original resource http://www.garagegames.com/community/resource/view/10899 does the mapping in void ProcessedMaterial::_setStageData(){...}; but, that doesn't seem to be the case with guiOffscreenCanvas in the most recent T3D code.Anyone's help would be much appreciated. Quote Link to comment Share on other sites More sharing options...
marauder2k9 Posted May 16, 2019 Share Posted May 16, 2019 i know i needed help to get it to work with the new version of torque but with help from az and othgmars i got it working, if the code builds okay chances are there is a naming convention missed in the model files and datablocks can you post the model datablock you are trying to display the gui on? Quote Link to comment Share on other sites More sharing options...
LoLJester Posted May 17, 2019 Author Share Posted May 17, 2019 Hi, marauder2k9. It's a TSStatic shape, so it has no datablock. Azaezel, OTHG_Mars, and MangoFusion have also helped me to get it to work except the part where the rendered gui on texture disappears when I resize the window.I'm doing some debugging right now. I've been in contact with those guys Discord. 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.