Thanks for the great tutorials! I have not yet been able to find such kind of OpenGL tutorials for C#. Implementing it in a space model. Would there be a good option for recording the transformations made by the program?
@ramadash24724 жыл бұрын
how to decide the scale ? For example, in ortho projection if we specify left=-20, right=20. Then the total width of viewport corresponds to 40 units. How to decide this in perspective projection ?
@ThePentamollisProject4 жыл бұрын
Its best not to thing about perspective projection in that sense.I have explained perspective projection using a viewing frustum (rectangular pyramid). Everything that lies inside it will be visible. With depth(z), the scale will also increase (things will become smaller).
@ace_of_john_warrior85904 жыл бұрын
Push Pop, how retro is that :-)
@Goldfinch_16543 жыл бұрын
can i have github link?
@kairunhanjun5 жыл бұрын
That Matrix4 is Error When I Minimized And I Try To Fix With This Code Matrix4 matrix = Matrix4.Perspective(45.0f, (window.Width+1)/(window.Height+1), 1.0f, 100.0f); And Success
@sannazdev85914 жыл бұрын
how you fix it?
@kairunhanjun4 жыл бұрын
@@sannazdev8591 By add +1 in this code (windows.Width+1)/(windows.Height+1). The windows can't handle 0 width and 0 height.