XNA like C++ wrapper

 

I has developed Buddha which is C# simple scene graph library for a long time. But, since XNA was released, I have to change this project for XNA. I already have rewritten many code…

And now, I’m challenging to develop C++ wrapper for XNA users. That’s BuddhaCpp. But, perhaps, Microsoft is developing the same library as BuddhaCpp’s concept…

Buddha series is BSD licence and is development on sourceforge.jp. I don’t have stored BuddhaXNA code on sourceforge, yet. But, BuddhaCpp is still first status, and is stored on sourceforge.

It will be possible to program with XNA feeling. For example;

 

VertexBuffer* pVB = NULL;
pVB = new VertexBuffer(mGraphic->GetGraphicDevice(),
3 * sizeof(CUSTOMVERTEX),
D3DFVF_CUSTOMVERTEX,
ResourceUsage::None,
ResourceManagementMode::Automatic);

pVB->SetData(Vertices, sizeof(Vertices));

Drawing case:

void YourGame::Draw(GameTime gameTime)
{
….
mGraphic->GetGraphicDevice()->DrawPrimitive(
PrimitiveType::TriangleList, 0, 1);
….
}

Wow, XNA like….!? 😀

 

Well, I hope to move Buddha project to sourceforge.net or CodePlex. But, Buddha is religious name. Because, we, Japanese people are irreligionist. We live by animism. Therefore, we feel the great spec from “Buddha” which is the great existence of Buddhism. But, Buddha is the avatar of Vishnu. This name should not be used to a name of software. I have to think a new name before I move the project to the international world.

Advertisements
This entry was posted in Game Engine, XNA and tagged . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s