Al: переводы
OGRE Manual / Руководство OGRE
→For this reason I will not discuss the RenderSystem object further in these tutorials. You can assume the SceneManager handles the calls to the RenderSystem at the appropriate times.
0 По этой причине я не буду дальше обсуждать объект RenderSystem в этих руководствах. Можете считать, что SceneManager справляется с вызовами RenderSystem в нужное время.
→However, a typical application should not normally need to manipulate the RenderSystem object directly - everything you need for rendering objects and customising settings should be available on the SceneManager, Material and other scene-oriented classes. It's only if you want to create multiple rendering windows (completely separate windows in this case, not multiple viewports like a split-screen effect which is done via the RenderWindow class) or access other advanced features that you need access to the RenderSystem object.
0 Как бы то ни было, типичное приложение в нормальных условиях не должно нуждаться в прямом управлении объектом RenderSystem - все, что вам необходимо для визуализации объектов и индивидуализации настроек должно быть доступно с помощью SceneManager, Material и других декоративно-ориентированных классов. Доступ к объекту RenderSystem может понадобиться только если вы захотите создать множественные окна визуализации (в этом случае это совершенно раздельные окна, а не размноженные виды, как полиэкранный эффект, доступный по средством класса RenderWindow) или получить доступ к другим особенностям.
→The RenderSystem object is actually an abstract class which defines the interface to the underlying 3D API. It is responsible for sending rendering operations to the API and setting all the various rendering options. This class is abstract because all the implementation is rendering API specific - there are API-specific subclasses for each rendering API (e.g. D3DRenderSystem for Direct3D). After the system has been initialised through Root::initialise, the RenderSystem object for the selected rendering API is available via the Root::getRenderSystem() method.
1 Объект RenderSystem в действительности является абстрактным классом, который определяет интерфейс исходного 3D API. Он ответственен за операции API визуализации и установку всех видов опций визуализации. Класс абстрактный, потому как реализован на особенностях API визуализации - существуют API подклассы специфичные для каждой API визуализации (такие как, D3DRenderSystem для Direct3D). После того, как система была инициализирована через Root::initialise, объект RenderSystem для выбранной API визуализации доступен с помощью метода Root::getRenderSystem().
Резюме
- Пол:
- мужчина
- Родной язык:
- русский
- С нами:
-
с 23 августа 2008 г.
(6630 дней)
Не является членом клуба. - Деятельность:
-
3 версии перевода
с общим рейтингом 1
Карма: 1 (оценок: 1)
