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.

wall fade effect

Home Forums General Questions wall fade effect

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #58424
    cralex75
    Customer

    Hi, I want to create the wall fade effect when framed by the camera, can anyone help me?
    https://cdn.weshape3d.com/km001/1008/web/index.html

    Attachments:
    You must be logged in to view attached files.
    #58427
    xeon
    Customer

    There are a few ways to do this. I will explain for blender but other apps can use a similar approach.

    Option 1
    Add a transparent shader to your base shader via a mixshader node. Add a value node to the factor input of the mix shader. Animate the factor value.

    Option 2: create two wall objects. Wall A will have an opaque blend mode and wall B has an alpha blend -blend mode. Animate the alpha value of wall B.

    Programming for option 2: 10 frame fade.
    At frame 0 wall A is visible, wall B is hidden. Frame 1 wall A is hidden and Wall B is shown. Animate alpha on wall B to 0 at frame 10.

    The above should be in a procedure you can call when the camera rotation value crosses thresholds that define when you want the wall to fade in and out.

    Xeon
    Route 66 Digital
    Interactive Solutions - https://www.r66d.com
    Tutorials - https://www.xeons3dlab.com

    #58428
    kdv
    Participant

    it’s not a trivial task to make it with the Verge3D engine. The alpha blending with multiple objects is a capricious thing. but it’s possible. and it costs a lot.
    https://v3d.net/cr5

    Puzzles and JS. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of meaning at all.

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