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.

hoody

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 41 total)
  • Author
    Posts
  • hoody
    Participant

    Thank you! That solved it! :good:

    hoody
    Participant

    I found out that on the puzzle editor i had zoomed out in the browser. If you are zooming out in the browser using” strg -” the quality of the render gets much better. How can i get this quality without zooming out in the browser?

    in reply to: Flexible Texture Width #19964
    hoody
    Participant

    Can you imagine a way to move the texture around in realtime so that its visible on the model?

    hoody
    Participant

    Hey Alex. I reduced the size to 2048×1024 as you recommended. Thats a good idea, but it will not solve the problem, that the puzzle is triggered multiple times.

    in reply to: Save Normal Map with send data puzzle #19940
    hoody
    Participant

    I think i found the problem.

    Ill post my solutuion later this day.

    :)

    in reply to: Save Normal Map with send data puzzle #19935
    hoody
    Participant

    Hey. I tried that (tried with 0.1 ; 0,5 and 3 s) but it does not seem to make a difference.

    in reply to: Save Normal Map with send data puzzle #19917
    hoody
    Participant

    I noticed that it does not matter if a normal map is uploaded. It seems to work alone with the texture from text. But it bevahes very strange.

    Maybe you can take a look at this example:

    http://brudastan.de/wp-content/uploads/verge3d/2532/Brudi.html?image_url=http://brudastan.de/wp-json/verge3d/v1/get_file/1570451957&normal_url=http://brudastan.de/wp-json/verge3d/v1/get_file/1570451957

    You have to refresh the Link 5-6 times: at one moment the normal map will display correctly. But when you refresh the page again the normal is gone.sometimes its there and sometimes not (under the same cusom link)

    I attached two screenshots, so that you can see the difference

    in reply to: Save Normal Map with send data puzzle #19911
    hoody
    Participant

    Hey Yuri. thanks for the answer.

    I updated to the latest version and tried your puzzle, but the result is the same – the uploaded data is only 2 bytes small.

    in reply to: Save Normal Map with send data puzzle #19886
    hoody
    Participant

    Hi yuri. Im not sure where to put the timeout puzzle.

    My Problem is not that the replace texture puzzle does not work on custom url.

    My problem ist that the texture replacement happens with an empty file for the generated normal map (2bytes).

    The texture from text is uploaded to the server without any problems but the files for the normal maps are just empty. So i suppose it has to do sth with the send data puzzle, but i cant figure it out.

    in reply to: Save Configuration for RGB Color #19846
    hoody
    Participant

    Never mind! I got it! :)

    in reply to: Save Configuration for RGB Color #19839
    hoody
    Participant

    Hey Guys thanks for taking your time.

    I managed to save the R,G,B values to the url parameters.

    But the colors are not changing in the “customized scene” under the custom link.
    -> Url paremeters have no influence

    What am i missing?

    Heres my code:

    if (dictGet(getUrlData(‘PARAMS’), ‘R’) && dictGet(getUrlData(‘PARAMS’), ‘G’) && dictGet(getUrlData(‘PARAMS’), ‘B’)) {
    loadFiledictGet(getUrlData(‘PARAMS’), ‘R’) && dictGet(getUrlData(‘PARAMS’), ‘G’) && dictGet(getUrlData(‘PARAMS’), ‘B’), function() {
    let r_val = dictGet(getUrlData(‘PARAMS’), ‘R’); let g_val = dictGet(getUrlData(‘PARAMS’), ‘G’); let b_val = dictGet(getUrlData(‘PARAMS’), ‘B’); setMaterialColor(‘mat_schnalle_links’, ‘RGB’, r_val, g_val, b_val);
    setMaterialColor(‘mat_schnalle_rechts’, ‘RGB’, r_val, g_val, b_val);
    };
    }

    eventHTMLElem(‘change’, ‘picker2’, true, function(event) {

    let rbg = changeToRBG(event.target.value)

    var vals = rbg.substring(rbg.indexOf(‘(‘) +1, rbg.length -1).split(‘,’)

    let r_val = (vals[0]/255)
    let g_val = (vals[1]/255)
    let b_val = (vals[2]/255)

    setMaterialColor(‘mat_schnalle_links’, ‘RGB’, r_val, g_val, b_val);
    setMaterialColor(‘mat_schnalle_rechts’, ‘RGB’, r_val, g_val, b_val);
    saved_conf_url = setUrlParam(getUrlData(‘URL’), ‘R’, r_val);
    saved_conf_url += ‘&G=’+g_val
    saved_conf_url += ‘&B=’+b_val

    openWebPage(saved_conf_url, ‘NO_RELOAD’);
    });

    I think i´m close to get this solved with a hint in the right direction from you guys.

    Thanks

    in reply to: Save Configuration for RGB Color #19770
    hoody
    Participant

    No what i mean is that i can see that parameters are saved to the url. But the configuration / the changes are not visible in the browser.

    Link looks like this: http://brudastan.de/wp-content/uploads/verge3d/2507/Brudi.html?mat.color=0%2C1%2C0

    Im not sure if mat.color is right?

    in reply to: Save Configuration for RGB Color #19768
    hoody
    Participant

    Hey Yuri, thanks for your support.

    I came up with this:

    eventHTMLElem(‘change’, ‘picker2’, true, function(event) {

    let rbg = changeToRBG(event.target.value)
    console.log(rbg)

    var vals = rbg.substring(rbg.indexOf(‘(‘) +1, rbg.length -1).split(‘,’)
    console.log(vals[0]+” “+vals[1]+” “+vals[2])

    setMaterialColor(‘mat_schnalle_rechts’, ‘RGB’, (vals[0]/255), (vals[1]/255), (vals[2]/255));

    let serial = “”
    serial+=vals[0]/255+”,”+vals[1]/255+”,”+vals[2]/255
    console.log(“serial: “+serial+” Typeof: “+ typeof serial)

    saved_conf_url = setUrlParam(getUrlData(‘URL’), ‘mat.color’, serial);
    openWebPage(saved_conf_url, ‘NO_RELOAD’);
    });

    The parameters are saved to the url – but when i share it on FB the configuration of the color is not saved.

    What im i doing wrong?

    in reply to: Save Configuration for RGB Color #19581
    hoody
    Participant

    Hi Yuri!

    Thank you very much for your quick answer!

    Can you explain what you mean by “serialize RGB values to a text line”. Coud you post an example of code?

    I also dont quite understand to what “image id” you are reffering – you mean “image_url”?

    hoody
    Participant

    Dude only 1000 € for a 3d configurator? I charge that for a pretty basic websites.

    Greets from Germany

Viewing 15 posts - 16 through 30 (of 41 total)