I'm having trouble loading an image. I defined an imageset like this:
<?xml version="1.0" ?>
<Imageset Name="WorldEditor" Imagefile="MyWorld_Colormap.Small.png" NativeHorzRes="256" NativeVertRes="256" AutoScaled="false">
<Image Name="MyWorld" XPos="0" YPos="0" Width="256" height="256" />
</Imageset>
And then in a layout, I load it like this:
...
<Window Type="TaharezLook/StaticImage" Name="MapImage" >
<Property Name="UnifiedAreaRect" Value="{{0.1,0},{0.1,0},{0.1,256},{0.1,256}}" />
<Property Name="BackgroundEnabled" Value="False" />
<Property Name="FrameEnabled" Value="False" />
<Property Name="Image" Value="set:WorldEditor image:MyWorld" />
</Window>
...
My image appears 'smeared', it's solid lines of color forming a gradient going from left to right. The colors seem correct (based on the image colors) but somehow the image file is getting messed up. I tried using a .tga and that didn't help. I checked the rest of the forum and couldn't find anyone else reporting this problem. Any suggestions?
StaticImage: image is 'smeared' [solved]
Moderators: CEGUI MVP, CEGUI Team
Who is online
Users browsing this forum: No registered users and 25 guests