pozitiffcat: переводы
Ogre 3D Beginners guide / Ogre 3D руководство для начинающих
→Time for action – loading a model
Loading a model is easy. We just need to add two lines of code.
1. Add the following two lines into the empty createScene() method:
Ogre::Entity* ent =
mSceneMgr->createEntity("MyEntity","Sinbad.mesh");
mSceneMgr->getRootSceneNode()->attachObject(ent);
2. Compile your application again.
3. Start your application. You will see a small green figure after starting the application.
4. Navigate the camera with the mouse and WASD until you see the green figure better.
5. Close the application.
Loading a model is easy. We just need to add two lines of code.
1. Add the following two lines into the empty createScene() method:
Ogre::Entity* ent =
mSceneMgr->createEntity("MyEntity","Sinbad.mesh");
mSceneMgr->getRootSceneNode()->attachObject(ent);
2. Compile your application again.
3. Start your application. You will see a small green figure after starting the application.
4. Navigate the camera with the mouse and WASD until you see the green figure better.
5. Close the application.
0 Время действий - загрузка модели
Загрузить модель легко. Нам просто нужно добавить две строчки кода.
1. Добавьте следующие две строки в пустой метод createScene():
Ogre :: Entity * ent = mSceneMgr->createEntity ("MyEntity", "Sinbad.mesh");
mSceneMgr->getRootSceneNode()->attachObject (ent);
2. Скомпилируйте приложение еще раз.
3. Запустите приложение. После запуска приложения вы увидите маленькую зеленую фигуру.
4. Перемещайте камеру с помощью клавиш WASD, для того, чтобы лучше увидеть зеленую фигуру.
5. Закройте приложение.
Загрузить модель легко. Нам просто нужно добавить две строчки кода.
1. Добавьте следующие две строки в пустой метод createScene():
Ogre :: Entity * ent = mSceneMgr->createEntity ("MyEntity", "Sinbad.mesh");
mSceneMgr->getRootSceneNode()->attachObject (ent);
2. Скомпилируйте приложение еще раз.
3. Запустите приложение. После запуска приложения вы увидите маленькую зеленую фигуру.
4. Перемещайте камеру с помощью клавиш WASD, для того, чтобы лучше увидеть зеленую фигуру.
5. Закройте приложение.
→Pop quiz – ExampleApplication and how to display a model
Describe in your own words how to load a model and how to make it visible
Describe in your own words how to load a model and how to make it visible
0 Домашнее задание - ExampleApplication и как отображается модель
Опишите своими словами, как загрузить модель и как сделать ее видимой.
Опишите своими словами, как загрузить модель и как сделать ее видимой.
→He also works as a freelance
journalist and reports yearly from the Game Developer Conference Europe.
journalist and reports yearly from the Game Developer Conference Europe.
0 Так же, он работает в качестве внештатного журналиста, и ежегодно получает отчеты от разработчиков игр Конференции Европы.
→What just happened?
We built the Ogre 3D samples using our own Ogre 3D SDK. After this, we are sure to have a
working copy of Ogre 3D.
We built the Ogre 3D samples using our own Ogre 3D SDK. After this, we are sure to have a
working copy of Ogre 3D.
0 Что же произошло?
Мы скомпилировали примеры Ogre 3D из нашего Ogre 3D SDK. После этого мы уверены в работоспособности Ogre 3D
Мы скомпилировали примеры Ogre 3D из нашего Ogre 3D SDK. После этого мы уверены в работоспособности Ogre 3D
→What just happened?
We just downloaded the appropriate Ogre 3D SDK for our system. Ogre 3D is a
cross-platform render engine, so there are a lot of different packages for these different
platforms. After downloading we extracted the Ogre 3D SDK.
We just downloaded the appropriate Ogre 3D SDK for our system. Ogre 3D is a
cross-platform render engine, so there are a lot of different packages for these different
platforms. After downloading we extracted the Ogre 3D SDK.
0 Что же произошло?
Мы только что загрузили подходящий для нашей системы Ogre 3D SDK. Ogre 3D это
кросс-платформенный графический движок, так что есть много разных пакетов для разных
платформ. После загрузки мы извлекли Ogre 3D SDK.
Мы только что загрузили подходящий для нашей системы Ogre 3D SDK. Ogre 3D это
кросс-платформенный графический движок, так что есть много разных пакетов для разных
платформ. После загрузки мы извлекли Ogre 3D SDK.
→Downloading and installing a new library are the first steps of learning
about and using it.
about and using it.
−1 Скачивание и установка библиотеки, и первые шагу к изучению и использованию Ogre 3D.
Резюме
- Пол:
- мужчина
- Родной язык:
- русский
- С нами:
-
с 6 апреля 2012 г.
(5308 дней)
Не является членом клуба. - Деятельность:
-
6 версий перевода
с общим рейтингом −1
