Game Development Community

Hosting Torque X in a Winform

by Lars Quentmeier · in Torque X 2D · 09/04/2007 (2:41 am) · 2 replies

We are currently looking for a C# 3D-Engine for an Augmented Reality Project. It is however necessary that we are able to render into a winform. So far we use a small Renderer that I wrote on my own, but an Engine like Torque X would be much better. Will it be possible with Torque X (3D) to render into a winform?
Greetings Lars

About the author

Recent Threads


#1
09/04/2007 (6:23 am)
TorqueX is built upon XNA and that is a feature with XNA 2.0, which is due out at the end of the year. I believe others have gotten XNA to appear in a WinForm, but I do not know the particulars.

The 3D engine for TorqueX is currently in development, but it has not been released. Some of the hooks are there, I believe from other posters, but they are undocumented or supported at this time.
#2
09/04/2007 (10:39 am)
Thanks David.
I think with this component: http://www.nuclex.org/news/2007/05/14/xna-windows-forms-usercontrol
it should be relatively simple to host any XNA game in a winform.
If Torque internally uses the XNA Game class it should be possible for me to simply replace the usage of the Game class with the new component and everything should work fine.
Does someone know about the internals of TorqueX?
Do I get the code when I buy a version?
Is 3D going to happen in the near future?

Sorry for asking so many questions, but I would hate to continue writing my own tiny render when there is so much other work to do :)
Greetings Lars