NUMERICAL Cohen Sutherland Line Clipping Algorithm | Computer Graphics

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ก.ย. 2024
  • Hello friends. In this video, I have explained the a numerical t of the Cohen Sutherland Line Clipping Algorithm .
    #abhics789 #CohenSuterlandAlgorithm
    Cohen Sutherland Line Clipping Algorithm:
    • Cohen Sutherland Line ...
    If you learnt something new do like and share this video with your friends and don't forget to subscribe to my channel :)
    world coordinates device coordinates and clipping video:
    • Window and viewport (2...
    There are lectures related to different subjects on this channel .Do check them out guys.
    Link is given below:
    Introduction to Linked List (for interview):
    • Introduction to Linked...
    Linked List in C(for interviews):
    • Linked List for interv...
    pointers playlist:
    • Pointers in C
    C Programming tips and tricks:
    • C tricky programs/videos
    computer graphics:
    • Computer Graphics
    .Net C# :
    • .NET C#
    engineering economics:
    • Engineering Economics
    Java tricky programs :
    • Java tricky programs/v...
    concerts:
    • Concerts

ความคิดเห็น • 158

  • @khansaheb1869
    @khansaheb1869 4 ปีที่แล้ว +20

    p2 ka region code galat lag raha hai

    • @AbhishekSharmaDit
      @AbhishekSharmaDit  4 ปีที่แล้ว +30

      Han usme bataya h Maine likh k ki it will be 1000 instead of 1001
      video dkho one more time Maine editing karte huae written me dala h waha ki wo 1000 hi hoga

    • @rajivaryal7836
      @rajivaryal7836 3 ปีที่แล้ว +4

      @@AbhishekSharmaDit aabay 80,90 is x1 and y1 and you put 10,30 for p2 too.

    • @rajivaryal7836
      @rajivaryal7836 3 ปีที่แล้ว +1

      but answer equals anyway

    • @simrankumariofficial4118
      @simrankumariofficial4118 2 ปีที่แล้ว +1

      Thanku sir☺️☺️☺️

    • @dailyquotesam
      @dailyquotesam 2 ปีที่แล้ว

      @@AbhishekSharmaDit which app u used to record this video ..?

  • @MehediHasan-up7or
    @MehediHasan-up7or 4 ปีที่แล้ว +8

    Got 20/20 on my university exam. Thank you bro

  • @suyash.01
    @suyash.01 3 ปีที่แล้ว +7

    to thepoint and straight forward. very nicely explained :)

  • @naveenkumarhr3864
    @naveenkumarhr3864 5 ปีที่แล้ว +16

    Nicely explained 👌 even i don't know that much hind , but it's good 😊

  • @ektatyagi9953
    @ektatyagi9953 ปีที่แล้ว +1

    you way of teaching is excellent..... much appreciation to you.... thankyou so muchhhhh❤❤❤

  • @justnatural2
    @justnatural2 3 ปีที่แล้ว +3

    So thankful to you.your videos helped me alot for last moment exam preparation 🙏

  • @amitsaha642
    @amitsaha642 4 ปีที่แล้ว +6

    As i say, you explained better than my faculty sir 👌

  • @vachneshshukla1068
    @vachneshshukla1068 5 ปีที่แล้ว +4

    Aapne bachaa liya Bhai...thanks..🤗🤗

  • @umeshlokare6780
    @umeshlokare6780 11 หลายเดือนก่อน +2

    Very Nice Explaination Sir
    Easy way to understand
    Nice sir

  • @prathameshjadhav4888
    @prathameshjadhav4888 3 ปีที่แล้ว +1

    Watching hour before exam,
    Great work!!!

  • @pratikekande9720
    @pratikekande9720 4 หลายเดือนก่อน

    I watched many videos but this one is literally the best 👍👍👍👍

  • @marathi_manus467
    @marathi_manus467 3 ปีที่แล้ว +2

    bhai awsome 😍😍kya simple way me smjaya he.....keep it up bro👍👌👌

  • @priyankakumari_t1769
    @priyankakumari_t1769 5 ปีที่แล้ว +4

    Thanku sir ! It wasVery precisely explained

  • @VikasKumar-tt8dz
    @VikasKumar-tt8dz 3 ปีที่แล้ว +1

    no words to say..........you explained the concept nicely

  • @ramboKillerGod
    @ramboKillerGod 4 ปีที่แล้ว +1

    Simple and plain explanation...keep up the good work ... subscribed to your channel...

  • @princehtw
    @princehtw 5 ปีที่แล้ว +2

    Awesome bhai. i am studying for tomorrow exam awesome explanation.

  • @pankajrathod2694
    @pankajrathod2694 4 หลายเดือนก่อน

    Best explanation on TH-cam

  • @Warri0rSage
    @Warri0rSage 5 ปีที่แล้ว +3

    Awesome

  • @eremnesia-bex
    @eremnesia-bex 4 ปีที่แล้ว +1

    Thks bhai 🔥🤘🏻....boleto ekdm mst samjhaya apne....aisehi CG k videos dalte rehna bhai sb topics ki ...apni bhe help hojayegi... good luck bro🤜🏻🤛🏻👍🏻

  • @Raushankumar-ts3ny
    @Raushankumar-ts3ny 5 ปีที่แล้ว +3

    Mast bro bhut helpful rha aage v video banate rho

  • @dhimanproduction7432
    @dhimanproduction7432 5 ปีที่แล้ว +2

    Wow superb explanation

  • @vandanathakur4608
    @vandanathakur4608 4 ปีที่แล้ว +6

    This is very easy to understand with example thanks for posting this video😁

  • @abhaygupta9214
    @abhaygupta9214 ปีที่แล้ว +7

    kal exam h acha explain kia aapka bhala ho😂

  • @mayurbhat6564
    @mayurbhat6564 5 ปีที่แล้ว +2

    U r superb sir thank u so much for this video. Well defined video🙏

  • @arunsharma6453
    @arunsharma6453 5 ปีที่แล้ว +2

    To the point explanation

  • @harshitahuja5043
    @harshitahuja5043 5 ปีที่แล้ว +2

    Gr8 explanation

  • @divakarsharma2625
    @divakarsharma2625 3 ปีที่แล้ว

    Seriously all the videos are so helpful ! Thanks bhai

  • @Educationhub786-q5g
    @Educationhub786-q5g 4 ปีที่แล้ว +1

    Thank you so much I really understand that so easily

  • @sanketvelhal9536
    @sanketvelhal9536 4 ปีที่แล้ว +1

    Nice explanation bro....Thank You😃!!!

  • @vishu7043
    @vishu7043 ปีที่แล้ว +3

    It's not your job but you do 👍 thank you so much

  • @arbaazparkar2817
    @arbaazparkar2817 5 ปีที่แล้ว +1

    Really needed this
    Thank you!!!

  • @afshiyankhan4390
    @afshiyankhan4390 ปีที่แล้ว

    Thankyou Bro YOU Deserve A Like 👍

  • @vinayakbhandage8319
    @vinayakbhandage8319 2 ปีที่แล้ว +1

    thanks sir this was really helpfull 🙏

  • @priydarshigautam8076
    @priydarshigautam8076 5 ปีที่แล้ว +3

    thanks bro

  • @sujitharugle1694
    @sujitharugle1694 10 หลายเดือนก่อน +1

    Faithful thanks❤

  • @deepaksinghmudila614
    @deepaksinghmudila614 5 ปีที่แล้ว +1

    Nice explanation dear..keep doing and best of luck:)

  • @bismithaa7631
    @bismithaa7631 2 ปีที่แล้ว

    Wowww well explained 😇 I understood within a second thank u for this video 💯♥️🧿

  • @changetrend8613
    @changetrend8613 4 ปีที่แล้ว +1

    great sir...asi hi video bnaty rahen....

  • @utkarsh_108
    @utkarsh_108 4 ปีที่แล้ว +1

    Dil khush kr dia bhai

  • @thepixelatedturtle
    @thepixelatedturtle 4 ปีที่แล้ว +1

    Thank you so much, this was amazing !

  • @udayjoil5731
    @udayjoil5731 3 ปีที่แล้ว +2

    Good explanation!! But should we draw the final diagram on graph? Or on plain paper it would be fine?

  • @jaishsspace6299
    @jaishsspace6299 ปีที่แล้ว

    Best video pass hone k chances bd gye bhaiya ab 1% se 10% hogya

  • @mr.darkdevil7217
    @mr.darkdevil7217 2 ปีที่แล้ว

    Sir jitna kha jay apke bare me utna km h apke padane ka tarika sabse alag h

  • @divyarunwar6376
    @divyarunwar6376 3 ปีที่แล้ว +1

    Explained well👍

  • @plamerify
    @plamerify 3 ปีที่แล้ว +1

    thankyou , the video helped.

  • @varijadubey2252
    @varijadubey2252 5 ปีที่แล้ว +2

    For i2, the points considered for x1 and y1 will be of P1 or P2?
    because we are clipping for pint P2 so I thought we will use P2's coordinates as x1 and y1!
    Please clear this doubt!!

    • @AbhishekSharmaDit
      @AbhishekSharmaDit  5 ปีที่แล้ว +1

      X1 y1 will be considered of P1 only that's for sure

    • @varijadubey2252
      @varijadubey2252 5 ปีที่แล้ว +1

      @@AbhishekSharmaDit You mean ki whether we find i1 or i2 always P1 coordinates are considered? THANKS A BUNCH, BROTHER!

    • @AbhishekSharmaDit
      @AbhishekSharmaDit  5 ปีที่แล้ว

      Yes bro @IAMSHERLOCKED

  • @rahulnegi456
    @rahulnegi456 4 ปีที่แล้ว +1

    Thanks keep it up !

  • @honeygoyal241
    @honeygoyal241 4 ปีที่แล้ว +1

    Bhot krre👌👌

  • @shashanktiwari4442
    @shashanktiwari4442 5 ปีที่แล้ว +1

    Bhai bacha liya tune exams se:) cg ke aur bhi topics daal dena agar time mile to thanks:)

  • @bipinpundir3767
    @bipinpundir3767 5 ปีที่แล้ว +3

    Thanx bahi🙏🙏🙏

  • @manojverma245
    @manojverma245 ปีที่แล้ว +1

    Thanks brother ❤️❤️❤️

  • @shaish0125
    @shaish0125 3 ปีที่แล้ว +1

    Thx sir

  • @gagandeepkaur-vp8oz
    @gagandeepkaur-vp8oz 5 ปีที่แล้ว +2

    Well defined Sir👍👍

  • @AditiVerma825
    @AditiVerma825 9 หลายเดือนก่อน

    Great explanation
    Thankyou sir

  • @harshadasarwade5158
    @harshadasarwade5158 3 ปีที่แล้ว

    Thank you so much....I get it easily now...hushhhh🥵...❤💯💯

  • @MPatil-ri1ig
    @MPatil-ri1ig 3 ปีที่แล้ว +1

    very nice.. thnx🙏

  • @shivamarora1078
    @shivamarora1078 3 ปีที่แล้ว +1

    nice

  • @bishwajeetpandey1570
    @bishwajeetpandey1570 ปีที่แล้ว

    Gabardast jhkash jindabad

  • @preetinair3447
    @preetinair3447 3 ปีที่แล้ว

    Nice explanation. Just one doubt, why only logical AND operation is used ?

  • @aryanudainiya9486
    @aryanudainiya9486 2 ปีที่แล้ว

    sir agar triangle aa jaye paper mai toh x max,min y max,min kaise likhenge ya fir koi aur shape like pentagon and hexagon ??

  • @dancewithhimani
    @dancewithhimani 4 ปีที่แล้ว +1

    Really thank you sir !!!
    I have doubt why we are using p1(y= 30) to find x.. I think we should have used p2(y=90)!!
    Please clarify!!

    • @satyamsinghbhadoriya6837
      @satyamsinghbhadoriya6837 4 ปีที่แล้ว

      Are coordinates humesha (x, y) ke form me hote h agar (2, 3) ho to x=2 Or y=3 hoga

    • @dancewithhimani
      @dancewithhimani 4 ปีที่แล้ว

      @@satyamsinghbhadoriya6837 Thnku!! But now I have no more exam of this subject!! Lol

    • @satyamsinghbhadoriya6837
      @satyamsinghbhadoriya6837 4 ปีที่แล้ว

      @@dancewithhimani pr ye to pta hona chahiye khi bhi kam aa sakta hai

  • @vivekjaiswal4391
    @vivekjaiswal4391 2 ปีที่แล้ว

    Very nice 👍

  • @elitesharma817
    @elitesharma817 4 ปีที่แล้ว +1

    You saved my life thanks man :))

  • @sakshamp4488
    @sakshamp4488 3 ปีที่แล้ว

    Awesome workkk💯💯

  • @arundev7100
    @arundev7100 3 ปีที่แล้ว

    Nice explanation.. Thanks😍

  • @achyutkumarsingh7308
    @achyutkumarsingh7308 4 ปีที่แล้ว +1

    thank you

  • @Raushankumar-ts3ny
    @Raushankumar-ts3ny 5 ปีที่แล้ว +2

    Bhai mid point sub division alg ky hota h uspe video h ky

  • @ujjwalsolanki8803
    @ujjwalsolanki8803 5 ปีที่แล้ว +1

    Nice explanation sir 🙏🙏

  • @nidazahid911
    @nidazahid911 ปีที่แล้ว

    Please batain agar AND operation ky bd 0001 a jay to numarical ko stop kar dain gain kya?

  • @sshoaibaliyasini1626
    @sshoaibaliyasini1626 5 ปีที่แล้ว +1

    Bro agar line perpendicular hai ymax wali line aur intersect kr ti h ymax (means ek point window k ander aur ek point bahar hai) to kaise solve kiya jaye slope to infinite aa jyega🤔 Plz reply fast parso exm h mera

  • @harsh_garg
    @harsh_garg 4 ปีที่แล้ว

    In the video posted before this, you mentioned about repeat step 2 in the algo. Can u explain that case with egs.

  • @SIUUUbscribeCR007
    @SIUUUbscribeCR007 ปีที่แล้ว

    Thanks Bhai Jan ♥️

  • @mohdrehan1053
    @mohdrehan1053 4 ปีที่แล้ว

    Bht accha smjhate ho bhai...thanks bhai...ye sari vdos semester exam k liye sufficient h... reply de dena bhai

    • @AbhishekSharmaDit
      @AbhishekSharmaDit  4 ปีที่แล้ว +2

      Jitna dala h ye topics to sufficient hone chahiye

  • @Saif-gt9id
    @Saif-gt9id 4 ปีที่แล้ว +1

    good work

  • @Akibuuki
    @Akibuuki 4 ปีที่แล้ว

    You did a great job.. Keep going

  • @AnjaliSharma-rs8hf
    @AnjaliSharma-rs8hf 4 ปีที่แล้ว +1

    Good job

  • @Shivani-vg6lp
    @Shivani-vg6lp 3 ปีที่แล้ว

    Very good

  • @riyaanhussain7851
    @riyaanhussain7851 2 ปีที่แล้ว

    amzing brother

  • @CODING_85
    @CODING_85 4 หลายเดือนก่อน

    Agar bhai isme p coordinates (-20, 30) and (-10, 20) ho ro slove kese kare

  • @rabbysingh190
    @rabbysingh190 4 ปีที่แล้ว

    when finding out x or y while clipping , we always have to use formula related to x1 or y1 only ie . p1 coordinates and not x2,y2 that is p2 coordinates ever?

  • @jyotichauhan4590
    @jyotichauhan4590 4 ปีที่แล้ว

    Agr rectangle ke coordinates naa ho toh....how we know tbe value of xmin ymin....etc

  • @sanskarchaurasia1123
    @sanskarchaurasia1123 5 ปีที่แล้ว +1

    last video me 2nd step pe logical OR perform kiya hai aur yaha directly logical AND se chalu kar diya?

    • @AbhishekSharmaDit
      @AbhishekSharmaDit  5 ปีที่แล้ว

      Bhai agar 0000 hoga TBRL CODE dono end points ka to lagate h OR operation Taki hame pata chal sake wo line andar h window k
      Warna ham AND to karenge hi brother so that Jo line clip karni h wo clip ho sake
      So line andar nahi h poori koi b isliae AND se start kia

    • @mikrokosmoskripa
      @mikrokosmoskripa 3 ปีที่แล้ว

      @@AbhishekSharmaDit if ORing gives 0000 means line is completely inside and we don't need to do anything further,is it?

  • @abiddhankwala730
    @abiddhankwala730 4 ปีที่แล้ว

    Bro tell me one thing, in Liang barsky line clipping algorithm if the line coordinates are (30,60) and (60,25) against any window then how to solve it?? Can you explain with video please???

  • @vidyashree8913
    @vidyashree8913 2 ปีที่แล้ว

    Thankssss sir

  • @vinukumari2125
    @vinukumari2125 5 ปีที่แล้ว +2

    Agr intersection point mera right and bottom m lie krta toh kaun si formula use krte waha???

    • @AbhishekSharmaDit
      @AbhishekSharmaDit  5 ปีที่แล้ว +1

      Right me lie karega to xmax ko cut karega to hamare pass X coordinate hoga interestion point ka
      Y nikalenge
      y=m(xmax-x1)+y1
      And if bottom par cut karega to Ymin pe cut karega to Y coordinate hoga hamare pass so X nikalenge
      X=((ymin-y1)+x1)/m

    • @vinukumari2125
      @vinukumari2125 5 ปีที่แล้ว +1

      Abhishek Sharma thnku so much ...😊😊

    • @ar07official87
      @ar07official87 5 ปีที่แล้ว +1

      @@AbhishekSharmaDit sir vo xmin kaise hoga usku xmax lena hoga na kyun ki xmax pe cut ho rha .

    • @AbhishekSharmaDit
      @AbhishekSharmaDit  5 ปีที่แล้ว +1

      Ha correct !! Wo xmax hoga formula me
      Sai kardia maine 👍✌️

  • @Apshankhan2012
    @Apshankhan2012 3 ปีที่แล้ว

    Do we need to show how the TBRL code is found or can we write it directly? Plz reply

  • @mhxlegend175
    @mhxlegend175 ปีที่แล้ว

    Nice

  • @vineetkumar9903
    @vineetkumar9903 4 ปีที่แล้ว

    Why can't we solve 2 straight line equation using class 11th method for finding intersection value

  • @phoolchandpal3882
    @phoolchandpal3882 4 ปีที่แล้ว +1

    Nice🎁

  • @VipinSingh-jf1ys
    @VipinSingh-jf1ys 5 ปีที่แล้ว

    Thnx brother 👍💯

  • @rujalsapkota3824
    @rujalsapkota3824 4 ปีที่แล้ว

    dude in second iteration you put the value of P1
    I think it should be of P2

  • @edwin_sony
    @edwin_sony 2 ปีที่แล้ว +1

    Brother u can do it in English for better understanding because not everyone knows Hindi

    • @smash6586
      @smash6586 9 หลายเดือนก่อน

      we don't understand English

  • @narayanghimire6994
    @narayanghimire6994 2 ปีที่แล้ว +4

    Those who don't know region code, see here:
    Left top (1001) | middle top(1000) | right top(1010)
    left mid (0001) | middle mid(0000 i.e. inside) | right mid(0010)
    left botm(0101) | middle btm(0100) | right btm(0110)

  • @yageshwaran9489
    @yageshwaran9489 3 ปีที่แล้ว

    What is xvmin, yvmin, xvmax, yvmax

  • @harshalwankhede2640
    @harshalwankhede2640 5 ปีที่แล้ว

    Brother agar ek point ymin ko intersect kr raha ho aur dusra window ke andar ho to konsa formula use karna padega aur fir 1 hi point solve karna padega na?

    • @AbhishekSharmaDit
      @AbhishekSharmaDit  5 ปีที่แล้ว +1

      Ha1 hi solve karoge fir

    • @harshalwankhede2640
      @harshalwankhede2640 5 ปีที่แล้ว

      A(3,2) B(7,2) C(7,6) D(3,6) & P(4,1) Q(6,4)...Plz bhai iska ans nikal ke do

    • @harshalwankhede2640
      @harshalwankhede2640 5 ปีที่แล้ว

      @@AbhishekSharmaDit A(3,2) B(7,2) C(7,6) D(3,6) & P(4,1) Q(6,4)...Plz bhai iska ans nikal ke do

    • @harshalwankhede2640
      @harshalwankhede2640 5 ปีที่แล้ว

      @@AbhishekSharmaDit tysm

  • @nikhilkalgutkar5830
    @nikhilkalgutkar5830 3 ปีที่แล้ว

    Bro 😭 🙏🏾🙏🏾🙏🏾🙏🏾 thanx

  • @sourabhbothra1146
    @sourabhbothra1146 2 ปีที่แล้ว

    👍

  • @uniquemahi696
    @uniquemahi696 5 ปีที่แล้ว +1

    Bro apne P2 ke region code glt likhe h ..upr..jbki 1000 hona chahiye 😕

  • @sumitrao2545
    @sumitrao2545 3 ปีที่แล้ว +3

    What do you mean by line clipping? Explain Cohen-Sutherland line clipping algorithm with the help of suitable example. Given a clipping window P(0,0), Q(340,0), R(340,340), S(0,340), find the visible portions of lines AB[(-170,595) (170,255)] and CD[(425,85) (595,595)] against the given window using Cohen-Sutherland algorithm
    *please solve solution and upload video!!!

  • @shreyaagarwal3416
    @shreyaagarwal3416 5 ปีที่แล้ว +1

    Bhai agar dobaara clipping karne ki zaroorat Hui to Kya karenge

    • @AbhishekSharmaDit
      @AbhishekSharmaDit  5 ปีที่แล้ว

      Clipping Karne k baad Kyu zaroorat hogi dubara Karne ki !?😅
      Hame bas intersection points find Karne h Jo lines partially inside h
      So wo clipping karke ho jayega