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.

Emission moving/flowing from one direction to another in browser?

Home Forums Graphics / Blender Emission moving/flowing from one direction to another in browser?

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #66817
    c4cc
    Participant

    My file

    • This topic was modified 1 year, 2 months ago by c4cc.
    • This topic was modified 1 year, 1 month ago by c4cc.
    #67591
    c4cc
    Participant

    It only works in Blender, but in browser, nothing happens. What nodes do I use so that the emission can move/flow in browser as in Blender?

    In Blender:
    original-drawn-by-nanashinayuzu-mochi-53d2788a0d5e217f8b28d256c728bf04

    Shader nodes:
    original-drawn-by-nanashinayuzu-mochi-53d2788a0d5e217f8b28d256c728bf04

    #67593
    kdv
    Participant

    Only Value nodes can be animated to work in Verge3D. Use Combine XYZ connected to the Location input with Value connected to X.

    Puzzles and JS coding. 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 the meaning at all.

    #67594
    c4cc
    Participant

    Thanks, this worked. :good:

    original-drawn-by-nanashinayuzu-mochi-53d2788a0d5e217f8b28d256c728bf04

    #72015
    c4cc
    Participant

    Sorry for the late reply.

    Only Value nodes can be animated to work in Verge3D. Use Combine XYZ connected to the Location input with Value connected to X.

    If I want Emission flowing only once every 5 seconds, which puzzles do I use? There’s no material puzzles for value or combine XYZ puzzles.

    x1

    #72017
    c4cc
    Participant

    Yes, I can use time puzzles…

    but there are no value puzzles for material.

    #72018
    kdv
    Participant

    https://www.soft8soft.com/docs/manual/en/puzzles/Materials.html#materials_get_value
    https://www.soft8soft.com/docs/manual/en/puzzles/Materials.html#materials_set_value

    Puzzles and JS coding. 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 the meaning at all.

    #72022
    c4cc
    Participant

    Sorry for the late reply.

    If I want Emission flowing only once every 5 seconds, which puzzles do I use? There’s no material puzzles for value or combine XYZ puzzles.

    x1

    Here are my puzzles. Sadly, I can’t time the flow of emission.

    x1

    x1

    • This reply was modified 7 months, 3 weeks ago by c4cc.
    • This reply was modified 7 months, 3 weeks ago by c4cc.
    #72025
    kdv
    Participant

    When will you start using your head fo thinking and logic for coding? :scratch:

    Suppose, you have an animation 1 sec long (made in Blender). Suppose, you want this animation to be repeated every 5 sec. You can do it this way:

    Puzzles and JS coding. 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 the meaning at all.

    #72027
    c4cc
    Participant

    I’ve tried that, nothing changed.

    x1

    Also, play animation unfortunately does not work for material, I’ve tried

    • This reply was modified 7 months, 3 weeks ago by c4cc.
    #72029
    kdv
    Participant

    Every 5 seconds (a timer) and After 5 seconds ( a delay) are two big differencies.

    Puzzles and JS coding. 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 the meaning at all.

    #72030
    c4cc
    Participant

    x1

    Sadly no change

    #72032
    kdv
    Participant

    What’s happening instead? Did you stop you animation before running it by timer? The play animation puzzle won’t work if your animation is already playing.

    Puzzles and JS coding. 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 the meaning at all.

    #72033
    c4cc
    Participant

    I can’t time my emission to flow after a certain ttime.

    It’s keyframed under mapping in shader,

    It only works in Blender, but in browser, nothing happens. What nodes do I use so that the emission can move/flow in browser as in Blender?

    In Blender:
    original-drawn-by-nanashinayuzu-mochi-53d2788a0d5e217f8b28d256c728bf04

    Shader nodes:
    original-drawn-by-nanashinayuzu-mochi-53d2788a0d5e217f8b28d256c728bf04

    • This reply was modified 7 months, 3 weeks ago by c4cc.
    #72035
    kdv
    Participant

    Your initial file. Modified. No puzzles needed. The animation will be repeated every 5 seconds by default.

    Attachments:
    You must be logged in to view attached files.

    Puzzles and JS coding. 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 the meaning at all.

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