随笔分类 - 三维图形引擎
开源三维图形引擎
摘要:这两天借着osg培训的机会捯饬了下64位osgearth的编译。遇到了一些问题:首先我没有编译osg,用的提供的osg3.2.1编译好的64位包。编译osgearth先后编译了2个版本,先是2.7.0后又编译了2.5.0。本来osgearth别人也提供了一套开发包,但是没有办法直接运行示例程序,所以...
阅读全文
摘要:在OSGMFC程序基础上修改OSG_MFC类的方法,如下: 1 void cOSG::InitSceneGraph(void) 2 { 3 // Init the main Root Node/Group 4 mRoot = new osg::Group; 5 6 ///...
阅读全文
摘要:在OSG的Demo中找到MFC_OSG类文件。 1 #pragma once 2 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #include 10 #include 11 #include 1...
阅读全文
摘要:环境:Vs2010 OpenSceneGraph-3.0.1-VS10.0.30319-x86-debug-12741 OpenSceneGraph-3.0.1-VS10.0.30319-x86-release-12741设置环境变量PATH: D:\osg\binOSG_F...
阅读全文
摘要:Axiom3D程序的基本渲染流程 1 #region Namespace Declarations 2 3 using System; 4 using System.Linq; 5 using Axiom.Core; 6 using Axiom.Framework.Configuration; 7 using Axiom.Graphics; 8 using Vector3 = Axiom.Math.Vector3; 9 10 #endregion Namespace Declarations 11 12 namespace Axiom.Framework 13 { 14...
阅读全文
摘要:首先看看Axiom.Core命名空间下public abstract class SceneManager : DisposableObject A SceneManager organizes the culling and rendering ofthe scene, in conjunction with the . This class is designed to be extended through subclassing in order to provide more specializedscene organization structures for partic...
阅读全文
摘要:1.Root Root 对象是一个 Ogre 应用程序的主入口点。因为它是整个 Ogre 引擎的外观(Façade )类(请参考设计模式中的外观模式),所以在这里作为第一个被列出来的类,它提供了方便的调用整个Ogre 每个子系统的接口。 通过Root 对象来开启和停止 Ogre 是最简单的一种方式;当你构造构造一个Root 实例的时候你就启动了整个Ogre ,当析构的时候(让它停止活动或者执行delete 删除它)Ogre也就关闭了。 2.RenderSystem3.SceneManager
阅读全文
摘要:1. 简介The Axiom 3D Rendering Engine is a fully object oriented 3D graphics engine using C# and the .Net platform. Axiom 3D aims to be an easy to use, flexible, extendable, and powerful engine that allows for rapid development of games and other graphical applications. By using the .Net framework as t
阅读全文
摘要:首先看看CMake是什么东东?原来CMake不直接编译生成最终的软件或者链接库,而是产生标准的工程文件如.sln。用CMake创建OSG工程文件时候不是很清楚配置的意思,生成了.sln文件之后编译,结果报了一大堆的错误!只好作罢,还是拿来主义吧。
阅读全文