Forum Replies Created
-
AuthorPosts
-
littleeiffelCustomer
thanks for testing Yuri. I took your advice and edited the codes, and was pleasantly surprised to see it working.
your software is fantastic and fairly painless to use. i will make a purchase after a few more experimentation. Please let me know if you are planning on a upcoming Black Friday sales.
Cheers,
littleeiffelCustomerCool. Please see attached.
littleeiffelCustomerHi Yuri, it does seem to work clumsily! It appears that I managed to get something of a 2D canvas to place a piece of graphic onto the mesh, although the external call crashes in Puzzle with an error. See attached.
In parent document, I have a canvas element containing Fabric.js for processing graphics. Currently, when the app is running on local server, the initial loading of the image appears on V3D canvas. But further interaction with the image such as scale, rotate, transform do not get update on V3D but is fully functional on Fabric canvas. According to my research, the console error could be associated with incomplete canvas loading when my external function is called within V3D.
I have tried a few basic things. First of all, I doubled check the order of execution of scripts in the parent html document. Secondly, I tried running similar codes in the RunCode function, but that seemed to not work at all.
littleeiffelCustomerThanks Yuri, this looks interesting. I will try it out and get you an update.
littleeiffelCustomerHi Yuri, thanks for getting back. I attempted to write a callback function which gets called in Puzzle. I couldn’t get it to work, but I’m getting there. Based on Console error message, I believe the line –
var liveCanvas = parent.document.getElementById(‘fabcan’);
fails to assign the canvas element value, subsequently, the Textureloader receives null value input. At the moment, the html canvas element ‘fabcan’ has only a static image in the 2D context.I’m new to coding, so I could be completely way off base. Your input is much appreciated.
littleeiffelCustomerHi, first time posting on the forum. As a JavaScript noob, I’m appreciating this fantastic app, and thank you for putting it together. I would like to find out if the Replace Texture block is capable of dynamic texture from a HTML Canvas source external to the V3D script. I have successfully get it to replace texture on file, but not from a dynamic canvas element. Please see attached screen-grab of the puzzle. Thanks.
-
AuthorPosts