View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001640 | NoesisGUI | C++ SDK | public | 2020-03-15 15:03 | 2020-03-18 20:18 |
| Reporter | steveh | Assigned To | sfernandez | ||
| Priority | normal | Severity | major | ||
| Status | resolved | Resolution | open | ||
| Product Version | 2.2.6 | ||||
| Target Version | 3.0.0 | Fixed in Version | 3.0.0 | ||
| Summary | 0001640: Viewbox scaling incorrect in 2.2.6 for off screen render targets | ||||
| Description | Hi guys, My last known issue caused by upgrading from 2.2.1 -> 2.2.6 is a new issue where the viewbox scaling looks incorrect if applying render scales > 1.0 with an opacity of < 1.0 to cause it to draw to the off screen render targets. I've attached a XAML file which you can load into the 2.2.6 XAML player which demonstrates this problem. For the time being, I've commented out the scaling of some of our animations which are causing this problem, but this has had a noticeable impact on the visual styling of our animations. It almost looks like the offscreen render target is using a reciprocal of the scaling (e.g. a scale of 2.0 makes the final image clamped to 1/2 width and 1/2 height, a value of 4 makes the final image clamped to 1/4 width and 1/4 height). | ||||
| Steps To Reproduce |
| ||||
| Attached Files | MainWindow.xaml (1,185 bytes)
<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:Noesis"
x:Name="window"
mc:Ignorable="d"
Title="MainWindow"
WindowStyle="None"
ResizeMode="NoResize"
Focusable="False"
Width="1920"
Height="1080">
<Viewbox Stretch="Fill" Width="1920" Height="1080">
<Grid x:Name="4kContentGrid" Width="3840.0" Height="2160.0">
<Ellipse Fill="Red" RenderTransformOrigin="0.5,0.5" Opacity="0.5" >
<Ellipse.RenderTransform>
<TransformGroup>
<ScaleTransform ScaleX="2.0" ScaleY="2.0"/>
<SkewTransform/>
<RotateTransform/>
<TranslateTransform/>
</TransformGroup>
</Ellipse.RenderTransform>
</Ellipse>
</Grid>
</Viewbox>
</Window> | ||||
| Platform | Any | ||||
|
Hi, We patched that wrong behavior in the changeset 8712 of branch 2.2 in our repository. I think you have access to our source code, right? |
|
|
Hi Sergio, Yes, I do indeed have source code access. I've just integrated #8712 into our version and as you stated, the issues have now been resolved. Much appreciated! -Steven |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2020-03-15 15:03 | steveh | New Issue | |
| 2020-03-15 15:03 | steveh | File Added: MainWindow.xaml | |
| 2020-03-16 10:43 | sfernandez | Assigned To | => sfernandez |
| 2020-03-16 10:43 | sfernandez | Status | new => feedback |
| 2020-03-16 10:43 | sfernandez | Note Added: 0006148 | |
| 2020-03-16 11:27 | steveh | Note Added: 0006149 | |
| 2020-03-16 11:27 | steveh | Status | feedback => assigned |
| 2020-03-18 20:18 | sfernandez | Status | assigned => resolved |
| 2020-03-18 20:18 | sfernandez | Product Version | => 2.2.6 |
| 2020-03-18 20:18 | sfernandez | Fixed in Version | => 3.0.0 |
| 2020-03-18 20:18 | sfernandez | Target Version | => 3.0.0 |
| 2020-03-18 20:18 | sfernandez | Description Updated | |
| 2020-03-18 20:18 | sfernandez | Steps to Reproduce Updated |