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.

Anti-aliasing on flying camera

Home Forums Puzzles Anti-aliasing on flying camera

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #56218
    Mariusz
    Customer

    I added anti-aliasing to my scene with the “enable/disable rendering” puzzle as suggested in the pocket knife tutorial and it works fine. But now I would like to switch camera controls between Orbit and Flying. Since the flying camera in fact doesn’t move, I guess the “when moved” puzzle doesn’t detect when the camera view changes (when a user looks around the room in the scene). So the rendering puzzle is not being executed for this flying camera. What kind of puzzle combination can I use instead to make it work?

    In the picture below you can see a setup that works perfectly for the orbit camera but doesn’t work for the flying camera.

    Attachments:
    You must be logged in to view attached files.
    #56220
    kdv
    Participant

    You have two different cameras, but the event listener “when moved” is registered only for one of them. Instead of “active camera” use a list of two cameras for Orbit and Flying controls.

    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.

    #56222
    Mariusz
    Customer

    It worked, thank you very much! :good:

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