У нас вы можете посмотреть бесплатно Cross-platform graphical display with C++ and the SDL library или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
Create cross-platform graphical displays with C++ and the SDL library. When I made the ray tracing in C++ tutorial, I did everything using only the standard libraries. This was to maximize cross-platform compatibility of my code so that as many people as possible could benefit from the tutorial, regardless of what operating system they were running. But, the standard libraries don't include any form of graphical output, such as being able to create a window and draw stuff into it. So, for that tutorial we wrote the image data out to a file on disk and then you can use any third-party image viewer to see the result. This was always a bit frustrating and it would be much better if it were possible to have a 'real-time' display of the output, in a window. I have been exploring ways of doing this and have decided to look at using the SDL library. This is a low-level, cross-platform library that provides access to, amongst other things, the graphics hardware. Using SDL therefore means that we can create graphical displays from our C++ code directly onto the screen. As it is cross-platform, it should still be possible for anyone to follow along, regardless of what operating system they are using. The next episode in this series, where we look at using the SDL library to explore turtle graphics in C++, can be found here: • Turtle graphics in C++ More details about the SDL library can be found on the official website here: http://www.libsdl.org/ ********************************** You can also follow me on the QuantitativeBytes Facebook page at: www.facebook.com/QuantitativeBytes **********************************