Horde3D http://horde3d.org/forums/ |
|
Getting rid of XML (do everything hard-code) http://horde3d.org/forums/viewtopic.php?f=2&t=522 |
Page 1 of 1 |
Author: | kornerr [ 05.10.2008, 04:48 ] |
Post subject: | Getting rid of XML (do everything hard-code) |
I wonder how to do 'standard.pipeline.xml' in the code. I use 1.0.0beta2 which doesn't even come with that file and try to make Horde work with SDL: http://www.horde3d.org/wiki/index.php5? ... e_with_SDL which again describes xml. Besides, every addResource uses XML files. So I wonder how to do all that resources hard coded. May be I miss something about the engine concept. Thanks. |
Author: | marciano [ 05.10.2008, 16:18 ] |
Post subject: | Re: Getting rid of XML (do everything hard-code) |
Horde is very data-driven. Currently there is no API for creating pipelines. But usually pipelines are not meant as dynamic resources since they are rather challenging to set up (require having the appropriate shader contexts etc.). The pipeline is organized in stages and you can disable single stages with an API command. If you really need to create them dynamically you need to output a small XML string. The other resources have some functions now which make it possible to modify them after they have been loaded. But this can certainly still be improved in the future. |
Author: | kornerr [ 05.10.2008, 16:32 ] |
Post subject: | Re: Getting rid of XML (do everything hard-code) |
Ok. Is 'forward.pipeline.xml' the same as 'standard.pipeline.xml' I see in docs? |
Author: | Mikmacer [ 05.10.2008, 16:45 ] |
Post subject: | Re: Getting rid of XML (do everything hard-code) |
kornerr wrote: Ok. Is 'forward.pipeline.xml' the same as 'standard.pipeline.xml' I see in docs? It can be anything, it's only the filename. Those pipelines within the SDK are only examples, you can create your own. |
Author: | kornerr [ 05.10.2008, 16:59 ] |
Post subject: | Re: Getting rid of XML (do everything hard-code) |
Didn't Horde have 'standard.pipeline.xml' in the past? |
Author: | swiftcoder [ 05.10.2008, 18:01 ] |
Post subject: | Re: Getting rid of XML (do everything hard-code) |
kornerr wrote: Didn't Horde have 'standard.pipeline.xml' in the past? If it did it was probably the forward pipeline. There really isn't one way of doing things that could be pointed to as 'standard', so the new name makes more sense.
|
Page 1 of 1 | All times are UTC + 1 hour |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |