Cohen-Sutherland Line Clipping Algorithm

Поділитися
Вставка
  • Опубліковано 10 січ 2025

КОМЕНТАРІ •

  • @dashmanish
    @dashmanish 9 років тому +40

    There are a lot of mistakes in this video which you should rectify or leave a note about. It is really frustrating.
    1. At +11.09, it should be
    (y - 15) = 6/7 (x - 40)
    2. In the above equation, x should subsequently be put as (50), because we want to find the (y) coordinate in this line equation when the (x) coordinate is 50.
    So, the final equation comes out to be
    (y-15) = 6/7 (50-40)
    Which, after solving, gives the answer as :
    y = 23.57
    You know the answer but you don't know how to replace the line equation with the correct coordinates. Please work on that at the soonest.

    • @pranoymishra
      @pranoymishra 9 років тому

      +Manish Dash
      Good job bro.

    • @MalkeetSingh-vm8mq
      @MalkeetSingh-vm8mq 8 років тому

      .

    • @infinitenigma3084
      @infinitenigma3084 8 років тому

      Manish Dash mate he did it right you are wrong its x cord check its 50

    • @dashmanish
      @dashmanish 8 років тому

      Infinit u are wrong dude.. pay attention once again

    • @infinitenigma3084
      @infinitenigma3084 8 років тому

      Manish Dash thanks mate i rectified it when solved it

  • @biswajitsingh8790
    @biswajitsingh8790 8 років тому +4

    man u guys are always make videos on topics which are really hard to follow from books or find on the net..kudos to u guys for doing that..:) even tho there are small mistakes in the last part which has already been clarified by mr manish dash the explanation was clean and crisp...keep it up guys..respect for what ure doing!!

  • @oracle_professor
    @oracle_professor 9 років тому +1

    Use the VLC media player to rotate this video. Here is how.
    1 - Open the video in VLC player.
    2 - Tools menu and select “Effects and Filters”.
    3 - Click the “Video Effects” tab.
    4 - Select the “Geometry” sub-tab.
    5 - Check the “Transform” box. This will enable the menu underneath. Use this menu to choose "rotate by 270 degree".
    6 - Close the “Adjustments and Effects” when finished.

  • @sohilj4555
    @sohilj4555 7 років тому

    Good job bro. You taught me better than my lecturer. Thanks man.

  • @ShokoDemon
    @ShokoDemon 8 років тому +1

    i like this guy's voice. finally an idian-accent tut without fire-speak (really fast indian accent) - but the video is tilted! please make more but make sure it's viewable

  • @akashroy3851
    @akashroy3851 8 років тому +5

    fullscreen the video, press ctrl+alt+left to rotate screen and press ctrl+alt+up to return to normal mode.
    nice video though i watched at 1.25x speed.

  • @indranilbose2406
    @indranilbose2406 8 років тому

    Thank u very much..very good explanation ..

  • @pritamghosh9365
    @pritamghosh9365 8 років тому

    seriously a good explanation.. Kindly explain Liang-Barskey algorithm,mid point circle algorithm......

  • @aswiniarumugam7347
    @aswiniarumugam7347 9 років тому

    really usefully....u made it simple.thank u...:):)

  • @AKHILREDDYKONDAKINDIBCE
    @AKHILREDDYKONDAKINDIBCE 8 років тому

    u can rotate the screen by ctrl+alt+(left arrow

  • @abhishekj5325
    @abhishekj5325 9 років тому

    Nice One :)Neat and Precise :)

    • @TheBootStrappers
      @TheBootStrappers  9 років тому

      +Abhishek J
      Thank you :)

    • @rahul_bali
      @rahul_bali 9 років тому

      +The BootStrappers You can fix the Video in the Enhancement Section of the Video. I have experienced similar difficulty. You can rotate the video from the options available there.

  • @jaik295
    @jaik295 8 років тому +6

    video is good and pace also good but might be there is some mistake in (x2-x1) you have taken you have taken x2value 15 but 15 is value of y, there should be 40.
    if I m wrong please correct me and explain please how 15 will come here

  • @harshitbansal38
    @harshitbansal38 9 років тому

    That was great. Thanks man :)

  • @sabhijiitsandhu3856
    @sabhijiitsandhu3856 8 років тому

    nice explanation!

  • @bhardwazchetry4669
    @bhardwazchetry4669 7 років тому

    This guy has four hands, two for writing and two for holding the camera. :D Just a joke. Never mind.
    Anyways great video..!

  • @ashwaniprasad7381
    @ashwaniprasad7381 8 років тому

    Last equation for the line should be (y-15)=(m=6/7)* ((x=50)-(x1=40))
    Therefore y=23.57

  • @simiiv5021
    @simiiv5021 9 років тому

    Easy and on point! :)

  • @jaycolt3461
    @jaycolt3461 Рік тому

    good video, but I broke my neck watching this video .

  • @road2states81
    @road2states81 8 років тому +2

    so many mistake in the video, please correct it. In the example while calculating the y co-ordinate of P1' equation should be (y-15) = 6/7 (50-40) where Xleft=50 and X1= 40 . 15 is not the value of x, although the answer is correct. Please correct the equation. Thanks :)

  • @SongRype
    @SongRype 8 років тому

    My friend you can rotate the video by using UA-cam video editor. It will save another copy of your video. Watching tutorials on mobile screen is bit uneasy.

  • @MrRabi001
    @MrRabi001 9 років тому

    Sir , What will be the region code for the end points of the line segment, which touches the edges of the clipping window but outside of the window.
    For example , if we have the clipping window defined by the coordinates
    A(4,3) B(9,6) c(7,6) D(7,3) and the end points of the line segment which we need to clip against the window are p1(2,6) and p2(9,3). My query is , what will be region code for the end points p1 and p2. Say for p1 which is the correct region code among 10001 and 0001 and so on for the p2 as well ?
    Thank you !

    • @ShokoDemon
      @ShokoDemon 8 років тому

      0000, so it gets "drawn" trivially. but will not be seen per se. it could change the window's border color for example or make it thicker.

  • @SoumyaShubhro
    @SoumyaShubhro 9 років тому

    good video.. only one thing I cannot understand..
    at 11:13, how is x=15??

    • @avikde9631
      @avikde9631 9 років тому +1

      ***** yeah he made a simple mistake here in the formula of a line.here y1=15,x1=45 and x=50 then solve the eqn

    • @SoumyaShubhro
      @SoumyaShubhro 9 років тому

      Avik De thanks boss..!

    • @dashmanish
      @dashmanish 9 років тому

      +Avik De you are wrong as well.

  • @MOHSINALI-bk2qo
    @MOHSINALI-bk2qo 8 років тому

    in example why you considerd x=15

  • @arzz11
    @arzz11 8 років тому

    Awsome.... you deserve superlike(Y).... :)

  • @journeytolive8386
    @journeytolive8386 8 років тому

    explanation is good...

  • @namratakamble1052
    @namratakamble1052 8 років тому

    Thanks for this video.
    but Region code should be ABLR
    A = above
    B = Below
    L = left
    R = Right

    • @biswajitsingh8790
      @biswajitsingh8790 8 років тому

      care to explain what is wrong in the video??

    • @biswajitsingh8790
      @biswajitsingh8790 8 років тому

      are the region codes wrong??

    • @biswajitsingh8790
      @biswajitsingh8790 8 років тому

      there is something wrong in ur approach miss kamble..i rechecked it and the guys explanation is perfect except for that last last.

    • @biswajitsingh8790
      @biswajitsingh8790 8 років тому

      approach is abrl not ablr.

  • @MsRiyaGandhi
    @MsRiyaGandhi 7 років тому

    nice video i understood the concept but i dont understood last calculations 😑

  • @dimanaif8345
    @dimanaif8345 Рік тому

    thank u so much

  • @akhilprasannan7066
    @akhilprasannan7066 9 років тому

    Hey can u also add the notes u made while making the video in the description . Would definitely help getting more views

  • @madhanadharsh280
    @madhanadharsh280 8 років тому

    hi its a nice video i want you to teach me this topic with these end points and boundaries end points are (1,7) and (7,5) against a window boundaries are xw min=2,xw max=6 and yw min=2,yw max=6 please teach me i cnt understand anything

  • @kavitachowdhary3873
    @kavitachowdhary3873 9 років тому

    Awsome😘

  • @pranoymishra
    @pranoymishra 9 років тому +3

    Lakchhan thik nahin hai tumhare. Rehne do Beta Tumse naa ho payega.
    Ps: just kidding bhai, end sahi krde.

  • @KARANKUMAR-zz2wp
    @KARANKUMAR-zz2wp 8 років тому

    You have written wrong equation.Then,how u have computed the value of y co-ordinate for p1' ???
    It should be: (y-15)=6/7 *(50-40) => y = 23.57

  • @MrMysahidur
    @MrMysahidur 8 років тому

    thanks a lot

  • @turnerjacob3042
    @turnerjacob3042 6 років тому

    Your logic is wrong. You can learn it from here : www.geeksforgeeks.org/line-clipping-set-1-cohen-sutherland-algorithm/

  • @minhazhalim2097
    @minhazhalim2097 5 років тому

    hand writting is very bad