Horde3D http://www.horde3d.org/forums/ |
|
Is it possible to do in code everything that's done in XML? http://www.horde3d.org/forums/viewtopic.php?f=1&t=1101 |
Page 1 of 1 |
Author: | kornerr [ 10.02.2010, 14:09 ] |
Post subject: | Is it possible to do in code everything that's done in XML? |
I see Horde3D makes extensive use of XML. Is it possible to perform all that's present in XML in plain code? |
Author: | Volker [ 10.02.2010, 14:34 ] |
Post subject: | Re: Is it possible to do in code everything that's done in XML? |
Should be. Although here and there some functionality might still be missing. Especially the FX sections of the shader files are not used to be changeable via the API. But I guess that would not make too much sense anyway (and the shaders are not XML so that does not affect your question ![]() Do you miss something? Or was it just a general question? |
Author: | kornerr [ 10.02.2010, 18:23 ] |
Post subject: | Re: Is it possible to do in code everything that's done in XML? |
Just a general question. I have a wish to write interface which, with the help of the bridge pattern, could use several engines. Specifying rendering commands in XML doesn't look like other engines do it. |
Author: | DarkAngel [ 11.02.2010, 02:11 ] |
Post subject: | Re: Is it possible to do in code everything that's done in XML? |
Yeah I did this for a much earlier version of Horde3D. I had, for example, a Pipeline class which had member functions to set all the required fields, and also had a ConvertToXML function, which I'd use to load my object into Horde. |
Page 1 of 1 | All times are UTC + 1 hour |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |