开发者

Setting up Axiom3D (or finding a 2d C# openGL engine)

开发者 https://www.devze.com 2022-12-21 05:31 出处:网络
I have a compute开发者_运维知识库r that won\'t let me enable direct3d acceleration (i\'ve tried almost everything).

I have a compute开发者_运维知识库r that won't let me enable direct3d acceleration (i've tried almost everything).

So I need a 2d engine in c# that supports openGL.

I found Axiom3D, but I can't run the samples and I can't build the project, and it's driving me crazy. When I try to run the samples, it just blits open the command prompt and closes right away.


If you have a computer that won't enable 3d acceleration via Direct3D there's a good chance that it won't support OpenGL either - or at best only support it in software rendering mode.

If the Axiom3D samples open a a command prompt and then fail closing the window try opening a command prompt first, then running the sample from that:

cd C:\axiom3d\samples <-- or where ever it's actually installed
sample1.exe <-- or what ever it's actually called

This should show you the output and leave the window open, giving you the opportunity to read it. You could also redirect the output to a log file for future reference.


You might try OpenTK. It's a lightweight wrapper around OpenGL for .NET. As far as C API wrappers go, it's a pleasure to use in .NET.

I share your frustration with Axiom3D. It seems great, but getting the thing running is a helluva lot of effort. Also there seem to be three different branches to choose from, just to add to the confusion.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号