• Isadora
  • Get it
  • Forum
  • Help
  • ADD-ONS
  • Newsletter
  • Impressum
  • Dsgvo
  • Impressum
Forum

Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags

    [ANSWERED] Help needed for a Shader

    How To... ?
    glsl shader circle
    2
    3
    218
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • jfg
      jfg last edited by Juriaan

      I have managed to add a horizontal and vertical movement to the shader "circle open", but I can't manage to get the width and height of the oval changeable to get a circle as well. Would be very grateful if someone could help me. 

      The original shader:

      circle-open.frag.zip

      my changed version:

      cercle.zip

      thanks a lot

      Jean-François

      • Izzy 3.2.6, Mac OS 13.2 Ventura:
      - MacBook Pro M1 Max 16" 64GB RAM
      • Izzy 3.2.6, Mac OS 10.14.6 (Mojave):
      - Mac Pro 5.1 middle 2012 (3,33 GHz 6-Core Intel Xeon, 32GB RAM, Radeon RX 580 8 GB )
      - MacBook Pro 2015 (16GB RAM) 2,8 GHz Intel Core i7;

      Located in Bremen, Germany

      Juriaan 1 Reply Last reply Reply Quote 0
      • Juriaan
        Juriaan Tech Staff @jfg last edited by

        @jfg

        So your Texture 1 should be sized to the same XY ratio as the GLSL Shader Width and Height parameters.

        You will see if you connect an Shapes with 400x400 resolution to Video 1 - In and set the Width / Height to 400x400 that you will get an circle.

        Isadora 3.1.1, Dell XPS 17 9710, Windows 10
        Interactive Performance Designer, Freelance Artist, Scenographer, Lighting Designer, TroikaTronix Community moderator
        Always in for chatting about interaction in space / performance design. Drop me an email at hello@juriaan.me

        jfg 1 Reply Last reply Reply Quote 0
        • jfg
          jfg @Juriaan last edited by

          @juriaan

          yes, it is clear but if I work with two HD movie as input I get only an ovale and cannot change the proportion.

          best, Jean-François 

          • Izzy 3.2.6, Mac OS 13.2 Ventura:
          - MacBook Pro M1 Max 16" 64GB RAM
          • Izzy 3.2.6, Mac OS 10.14.6 (Mojave):
          - Mac Pro 5.1 middle 2012 (3,33 GHz 6-Core Intel Xeon, 32GB RAM, Radeon RX 580 8 GB )
          - MacBook Pro 2015 (16GB RAM) 2,8 GHz Intel Core i7;

          Located in Bremen, Germany

          1 Reply Last reply Reply Quote 0
          • First post
            Last post