Brandon Bloom

I am using a model processor to produce a path finding network. It is working quite well!

http://sharpx.blogspot.com/2007/01/first-steps-along-path.html

The green nodes are some offset away from the corners that were detected as significant to the path network. I would like that offset to be configurable; preferably as a property of the file in Visual Studio.

How do I provide custom parameters to a processor

Thanks,

Brandon Bloom



Re: XNA Game Studio Express Processor Parameters

Shawn Hargreaves - MSFT

User defined parameters on processors are something we'd like to do someday, but they didn't make it in for version 1.

The best workarounds I'm aware of are either to make your processor look up the value you want to tweak through a virtual property, so you can quickly make new processors that use different values by deriving from the first one and overriding just that one value, or alternatively to make your input data be an XML file that contains both the filename of the real asset you want to process, plus the parameters you want to use in that processing.





Re: XNA Game Studio Express Processor Parameters

Brandon Bloom

Ok, I'll hack something together :-)

Thanks