We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

HoboCat

Forum Replies Created

Viewing 5 posts - 16 through 20 (of 20 total)
  • Author
    Posts
  • in reply to: Replacing textures rather than materials #11280
    HoboCat
    Customer

    Hello again, it is very nice that verge3d is so well supported and we can get help any time! I just found out an easy way of transfering an image from user input to verge3d enviroment. I made it so that the image from user input is stored in javascript variable as a base64 string, and so it can be transfered as a link to verge3d. But the project that I am building will take user image file and text inputs, these inputs will change an svg content(text, pictures) and finally when the svg is modified by the inputs it should be transfered to the verge3d. It works fine, but I noticed that when there is text with special letters(ru, pl, ltu) in svg, the script does not manage to convert this svg to base64. Maybe there is a way to pass the svg image to verge3d without converting it to base64?

    in reply to: Read Multiple Files from a folder #10245
    HoboCat
    Customer

    Yep, thank you! just gonna need to get some javascript knowledge to understand the mechanism.

    in reply to: Read Multiple Files from a folder #10163
    HoboCat
    Customer

    Hello again,
    just wanted to ask, if there is a possibility to make verge3d load an image not from server but from user input: for example user add an image file to html “upload”, then javascript loads that image> then verge3d loads that image and then “replace_texture” uses loaded image to replace the old texture? if yes what would be the way to make verge3d to load the image from javascript?

    in reply to: Read Multiple Files from a folder #9485
    HoboCat
    Customer

    Thank you!

    in reply to: Read Multiple Files from a folder #9464
    HoboCat
    Customer

    Hello,
    First off all I wanted to thank the creators for such a great app! it gives huge opportunities for developers!
    I wanted to ask a bit simmilar thing to this topic.
    How about if I want to change images dynamicaly with new names?
    My planned scenario: user uploads a file to a server, then jQuery returns a path to uploaded file and then Verge3d uses “replace texture” puzzle to change an existing texture in model to the new one.
    So the question would be: what would be the workflow of giving the path to file from html to “replace_texture input” and also what would be the method to initiate “replace_texture” from html click?

Viewing 5 posts - 16 through 20 (of 20 total)