问题标签 [irrlicht]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
android - 为什么 glReadPixels 返回意外的颜色格式值?
我想使用 Irrlicht 和 OpenGL ES 1.0 驱动程序来捕获屏幕。
这是我用 C++ 编写的代码
大多数安卓设备运行良好。但是 Android 2.2.3 的 MileStone 得到了意想不到的结果。我想要 RGBA 颜色格式,而 MileStone 返回 BGRA 颜色。
最后,我更改了我的代码
但是 MileStone 返回 RGBA 颜色。
我有疑问,为什么红色和蓝色是出乎意料的?正确的理由是什么?
c# - 与不可见网格的 Irrlicht 碰撞
我正在用 Irrlicht 编写一个类似最终幻想的游戏引擎,具有 2D 背景和 3D 模型。为了计算与背景中物体的碰撞,我使用了一个像这样的不可见网格:
我已经尝试过使用此代码,但是当玩家到达网格边缘时,它会掉下来:
android - irrlicht android on opengl es 2.0 驱动程序
我正在学习在 Android 上使用 Irrlicht。上个月我一直在开发基于 openGL es 1.0 的驱动程序,效果很好(我使用 1.0 是因为当我尝试运行基于驱动程序 es 2.0 的示例时结果很奇怪)。加载网格是可以的,但让我困惑的是纹理无法正确显示。渲染代码如下:
除了删除的注释和节点的位置之外,一切都与原始代码相同,我也确信代码中需要的文件位于正确的目录中。
那么任何有在 Android 上使用 Irrlicht 经验的人都可以帮助我吗?
c++ - Irrlicht C++ - 使用 Code::Blocks & MinGW 创建一个合适的项目?
我目前正在学习 Irrlicht 图书馆,但遇到了很多麻烦。我使用 Irrlicht ZIP 存档附带的示例(不是 C::B 附带的示例)。我将如何在运行时解决这个“找不到入口点”错误?它说诸如“gxx_personality_v0”之类的东西没有找到或其他东西。什么?我什至不知道这是从哪里来的?Irrlicht 是否与 MinGW 混合良好?
c# - Irrlicht 超快广告牌渲染
我必须在 Irrlicht 中渲染大量的彩色广告牌,但这真的很慢。我使用了许多 BillboardSceneNodes:
我该如何优化呢?我如何使用广告牌进行遮挡剔除或截锥剔除?
c++ - Irrlicht 服务器端
我目前正在使用 Irrlicht 开发多人游戏。
所以很明显,在客户端我们有 Irrlicht 来执行渲染,而服务器端我们有 Bullet 来执行物理计算。
我们将 Qt 用于其余部分(GUI、网络……)。
Irrlicht 提供了一些有用的功能,例如:
- 从存档文件加载网格,纹理,...而不解压缩它。
我们将所有资源存储在一个 TAR 文件中,服务器将其发送给客户端,然后 Irrlicht 加载它(无需解压缩),非常有用。
但是 Bullet 需要知道模型才能执行碰撞检测,所以我需要加载模型。
一个解决方案是使用 Qt 和 libarchive 开发一个 TAR 解析器,并告诉 Bullet 使用ConvexDecomposition::WaveFrontObj
. 但更简单的解决方案是使用 Irrlicht 从存档中加载网格(因为代码已经完成)。
那么,有没有办法在服务器端使用 Irrlicht 而无需渲染到视频驱动程序?
c++ - c++ std::thread 构造函数用法
在尝试使用 std::threads 时,我发现自己遇到了这个错误。
在注释掉一些行之后,我发现错误来自构造函数。
我也使用 irrlicht 因此事件变量。
这是线程的声明:
函数头:
尝试以各种方式构建它,但没有奏效。我应该怎么做才能摆脱错误?
c++ - Embed 3d models and Images Visual C++ 2008
I'm using Irrlicht to make a game in C++ and I need to embed the models into my games .exe with Visual Studio 2008 Express(No Resource Editor) and load the models with Irrlicht. The problem is, I can't find any way to do this, no matter how much I research. Any ideas/solutions?
c++ - 找不到过程入口点 __gxx_personality_v0
编者按:类似“程序错误点_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EPKcRKS3_
无法在动态链接库中定位”的错误信息,libstdc++-6.dll
原因相同,解决方法相同。
如果我想在 Windows 中运行我的 Irrlicht C++ 控制台应用程序,我会不断收到此错误:
the procedure entry point __gxx_personality_v0 could not be located in the dynamic link library libstdc++-6.dll
我将 CodeBlocks v12.11 与 MinGW 和 Irrlicht v1.8 引擎一起使用。我设置正确。在我的电脑上还安装了一个带有 MinGW 的 Qt。有没有可能发生冲突?
这是源代码:
我将编译器配置为C:\CodeBlocks\MinGW
. 每个文件(有一些显示在设置中)都位于 下bin
,除了make.exe
. 这正常吗?
自动检测按钮还建议上面的路径。