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.

Shape keys and material swaps not working. Blender 3.1.2 and Verge3D 4.0 pr4

Home Forums Graphics / Blender Shape keys and material swaps not working. Blender 3.1.2 and Verge3D 4.0 pr4

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #52222
    suraia
    Participant

    Hello,

    I am working on a proof on concept for a possible client to render modular beds for their website using Blender and Verge3D. The demo’s looked promising enough and I created a sample bed from my client, added shape keys to the different meshes and some materials to switch between.

    I am using the latest version of Blender 3.1.2. I know the textures I am using are rather large but it’s for a demo. I downloaded Verge3d and made some simple puzzles to set morph factor of my models when certain buttons were pushed. I tried both Verge 3.9.1 and 4.0, the last one looking more promising with more possible shape key options for variations in the beds.

    As soon as I added the shape keys to my blender file something was off. When I load the index.html my models come out having shape keys activated while they should not be activated at all. It looks like the last added shape key is activated by default even though the value in the blend file was at 0 when I exported it.
    Using the puzzles to set morph factor on the right value’s also gives different results like the puzzles are adding the values to the shape key values rather then setting the stated value.

    I also made some button to switch out(assign) three sets of materials on the blanket and two pillows for the bed. Yet after pressing the combinations a couple of times the results become totally random as if the material switches just stopped working.

    I had hopes to make a good demo for proof of concept for my client, but in it’s current form I cannot do anything with this. I am including a zip file for the demo app in this post in hopes someone knows what is wrong with my files so I can fix it and show a good demo for my client. If I cannot get this to work I will need to start looking for another way to make my demo.

    Should the demo work and the client want to move on with the project we will be purchasing a licensed version of Verge3D.

    Link to my project:
    https://1drv.ms/u/s!Ahg9BXdTPHVQp_lTmEWYQ-3-BrujAQ?e=HJMClw

    Kind regards,
    Suraia

    #52271

    Unfortunally it’s Blender 3.1.2 bug and we can’t fix it on our side. Please use previous versions of Blender.

    Co-founder and lead graphics specialist at Soft8Soft.

    #52354
    jamdalu
    Customer

    Please find a solution that works with the new versions of blender

    #52355
    xeon
    Customer

    I am in the same boat with you. Its a critical fix but if you use Blender 3.0.1 and reassign your shape keys and export via 3.9.1 it will all work. Unless Blender makes a change…its very likely you will need to do projects that require shape keys using Blender 3.0.1 and then use the latest for those projects that don’t require it.

    Not saying this is a great thing…just a good thing there is a work around for now.

    Xeon
    Route 66 Digital
    Interactive Solutions

    #52366

    Yes, the only solution is to fallback to Blender 3.0.1

    Co-founder and lead graphics specialist at Soft8Soft.

    #52474
    jamdalu
    Customer

    For clarification, are you saying shape keys will no longer work in Verge3D outside Blender 3.01, thus eliminating us from using new versions of blender? I hope this is not the case and the team is working on a better solution.

    #52475
    xeon
    Customer

    Your thoughts are the same as mine….. according to everything we have heard the issue is not with V3D but with Blender itself. To work around this what we do is build our projects in 3.1.2 until we need to implement shape keys….then we roll back to 3.0.1 and create the shape keys and export the project. Honestly when it comes to creating content for WebGL the difference between 3.1.2 and 3.0.1 are essentially negligible. Anywork you need to do in textures or cycles do that in 3.1.2 and then roll back for final output. Its a pain for sure.
    I am hoping Soft8Soft can put enough pressure on those at Blender to fix it..but its Blender…and its free so….it might be a while.

    There are others that are doing the bulk of their work in Blender then switching over to something else like Max for the morph targets and final outputting there. So you have options…just none great.

    Xeon
    Route 66 Digital
    Interactive Solutions

    #52548
    jamdalu
    Customer

    Can’t imagine this not getting resolved, especially when 4.0 expands shape key function! If the problem is not on the verge 3D side then why does the solution require Verge 3.9.1? If the problem is 100% blender, it should work with V3D 4.

    #52555

    I have good news. The Blender developers fixed the issue, so the upcoming Blender 3.2 should work fine. Please be patient, the new version will be available in a couple of weeks.

    Verge3D’s Tech Chief
    FB | Twitter | VK

    #52561

    Great. :good:

    Licht und Schatten Rendering GmbH
    Studio für Rendering und Animation

    #52698
    jamdalu
    Customer

    This is fantastic news! :good:

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.