diff options
author | Russell Cohen <rcoh@mit.edu> | 2010-12-03 04:20:17 -0500 |
---|---|---|
committer | Russell Cohen <rcoh@mit.edu> | 2010-12-03 04:20:17 -0500 |
commit | 353ab16db64c86122c0fcb9e1852b85c14b354b8 (patch) | |
tree | 8904f1cd312974a849ad5bcf0c8520fd20175cda /config/LightInstallationConfig.xml | |
parent | 0366f46d3d7e946e254f933888aea4beb4e70658 (diff) |
Speed optimizations abound! Caching on parameter validation, Binary
searching for light locations in pixel mappers, actual thread safety for
inputs means we don't drop them randomly, anymore. Caching on PixelStates to
reduce multi-renderer costs + a short circuit to speed up processing on
pixels that are turned off.
Diffstat (limited to 'config/LightInstallationConfig.xml')
-rw-r--r-- | config/LightInstallationConfig.xml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/config/LightInstallationConfig.xml b/config/LightInstallationConfig.xml index aa331af..dfa05d7 100644 --- a/config/LightInstallationConfig.xml +++ b/config/LightInstallationConfig.xml @@ -46,7 +46,7 @@ <Id>gaussmap</Id> <CutoffDist>30</CutoffDist> <Width>5</Width> - <Height>.5</Height> + <Height>1</Height> </Args> </PixelMapper> </PixelMapperConfiguration> @@ -77,14 +77,14 @@ <RefreshInterval>100</RefreshInterval> </Args> </InputElement> - <InputElement> + <!--<InputElement> <Class>inputs.PygameInput</Class> - <Args><!--Passed as a dictionary--> + <Args> <Id>followmouse</Id> <RefreshInterval>100</RefreshInterval> <FollowMouse>True</FollowMouse> </Args> - </InputElement> + </InputElement>--> <InputElement> <Class>inputs.UDPInput</Class> <Args> @@ -134,7 +134,7 @@ <Id>debug</Id> <z-index>0</z-index> <Inputs> - <Id>UDP</Id> + <Id>pygame</Id> </Inputs> </Args> </Behavior> @@ -161,7 +161,7 @@ <RenderToScreen>True</RenderToScreen> </Args> </Behavior> - <Behavior> + <!--<Behavior> <Class>behaviors.BehaviorChain</Class> <Args> <Id>mousechaser</Id> @@ -175,7 +175,7 @@ </ChainedBehaviors> <RenderToScreen>True</RenderToScreen> </Args> - </Behavior> + </Behavior>--> <Behavior> <Class>behaviors.RunningBehavior</Class> <Args> @@ -183,7 +183,7 @@ <Inputs> <Id>pygame</Id> </Inputs> - <StepSize>1</StepSize> + <StepSize>10</StepSize> <RenderToScreen>False</RenderToScreen> </Args> </Behavior> |