So apparently he drew P3P4 line wrong it cuts AD line but it should be cutting AB line. Afterwards we will calculate (X, Ymin). So the answer will be graphically correct.
P3 P4 should intersect Ymin , otherwise the answer would be wrong from your figure, If P3 P4 intersect Ymin then (x,y) will (22,20) which is correct graphically. Any way , your explanation is very well, keep it up :)
U r too good thanks alot.... All three of your Videos helped me a lot.... I was having many problems regarding this algorithm and numericals.... But thanks to u 🙂
For line P3P4, y coordinate of i3 cannot be less than ymin. If y is less than ymin that means the line is not intersecting the window from left side and therefore x ≠ xmin. Then y = ymin i.e. 20 and x = x1 + 1/m(y-y1) = 10 + 1.2(20-10) = 22. And i3 = (22,20).
2nd question's solution is wrong. P3P4 line actually cuts the AB edge of window not AD (using equation of line P3P4). So we have to find x value in P3P4 line clipping.
*Line P3P4 drawn wrong here* This line is intersecting AB. Ymin value is 20. And calculate the value of x. x= x1 + [(ymin-y1)/m] x = 22 (x,y)= (22,20) I hope this answer is helpful.
@@fashionobsession6793 actually it as been wrongly solved actually the second line cuts window at (x=22,y=20) the assumption is wrong that the second line cuts at y axis
not correct because for line P3,P4 there are two clipping points as the code for that line was 0101, you have only calculated for only one clipping point, not the 2nd one.
This video has cleared all my doubts. Thank you so much.💯
Thanku so muchh sir ...you explain it very welll....☺️☺️☺️☺️
Hey! Line P3P4 after clipping got corrdinates (20,18.33). But new Y is still less than Ymin! So I am confused!
Same!
So apparently he drew P3P4 line wrong it cuts AD line but it should be cutting AB line. Afterwards we will calculate (X, Ymin). So the answer will be graphically correct.
P3 P4 should intersect Ymin , otherwise the answer would be wrong from your figure, If P3 P4 intersect Ymin then (x,y) will (22,20) which is correct graphically. Any way , your explanation is very well, keep it up :)
yeah you correct. Otherwise everything no problem only issue was that one
Thanks bro🥺😶😶
And thanks for mood fresher addes😋😋
thank bro kal k exam ke liye 6 marks pakka aagaye
Please upload a video on
midpoint subdivision algorithm 🙏
U r too good thanks alot.... All three of your Videos helped me a lot.... I was having many problems regarding this algorithm and numericals.... But thanks to u 🙂
Thank you so much its more hrlpful for me upload mote videos for CGR and other Computrr Emgineering subjects
Thank you so much for understanding
thank you so much such clear explaination
thnkq and uploaded more video we will give you attention ♥️
Sure brother I will upload more educational videos very soon ! 😊✌️
thank you so much bro love from nepal
kun sem ho bro timi?
Puskar tripathi 4th sem bro
Thank you❤
For line P3P4, y coordinate of i3 cannot be less than ymin. If y is less than ymin that means the line is not intersecting the window from left side and therefore x ≠ xmin. Then y = ymin i.e. 20 and x = x1 + 1/m(y-y1) = 10 + 1.2(20-10) = 22. And i3 = (22,20).
Thank you...❤❤It really helps me...❤💯😊 Keep it up...😀
man u r just awsm , thanks a lot
upload a vdo with the example of triangle.....
2nd question's solution is wrong. P3P4 line actually cuts the AB edge of window not AD (using equation of line P3P4). So we have to find x value in P3P4 line clipping.
for P3P4 its cutting edge AB not AD pls check sir
the answer is (22,20)
bhai tu p4 bhi explain kr dete.
wo hmlog k liye chore ho ??
*Line P3P4 drawn wrong here*
This line is intersecting AB.
Ymin value is 20.
And calculate the value of x.
x= x1 + [(ymin-y1)/m]
x = 22
(x,y)= (22,20)
I hope this answer is helpful.
Thanks a lot bro
Incredible bro
Brother app se ak request hai computer graphics ke jitne program hai uska concept ka video dal de to bhut kripa hogi
i think p3p4 intersects at Ymin.. then i3 will be (22,20). please check.. once
❤
Thank you good explainer
Thanks sir
Nice video bro
y = 18.33 is still not inside as we know minimum y is 20
Yes same question from here
@@fashionobsession6793 actually it as been wrongly solved actually the second line cuts window at (x=22,y=20) the assumption is wrong that the second line cuts at y axis
Can this be use for window with three vertices?
perfect
The (10, 10) endpoint should be intersecting Y( min) ??
Why have you shown it cutting Xmin?
Plz reply anyone why is that
Thank sir
There's mistake while calculating i2 the value of x1 should be 80 NOT 10
My Dad: Sharmaji ke bete se kuch sikh?
Me: watching this video 😂
1 no. bro
i3 (20,18.33) but the minimum value of y coordinate is 20 .then how 18.33 is valid ??
If cliping point is (-1, 5) and (-5,8)
bhai hamne i2 p1 ke respective rakhke kyu solve kia ? p2 ke respective kyu nhi pls replyyy
Negtive points k lie kese bnega??
Your P2 is wrong please check
not correct because for line P3,P4 there are two clipping points as the code for that line was 0101, you have only calculated for only one clipping point, not the 2nd one.
(x2,y2) ka use nhi hai kya???
..
you take line 1 ,second point clipping worng.
instead of point 2 in formulae you take point 1 of line 1
Bresenham algorithm karo
38.57 should be rounded to 39 r8
yes
complete toh btao