View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001638 | NoesisGUI | C++ SDK | public | 2020-03-13 11:49 | 2020-04-20 20:11 |
| Reporter | steveh | Assigned To | jsantos | ||
| Priority | normal | Severity | feature | ||
| Status | resolved | Resolution | fixed | ||
| Product Version | 2.2.6 | ||||
| Target Version | 3.0.0 | Fixed in Version | 3.0.0 | ||
| Summary | 0001638: Expose PPAA tesellator scale | ||||
| Description | Hi guys, I forgot about a local change we made in 2.2.1. I've just remembered about it because I've had to reintegrate it into our 2.2.6 version. It'd be nice to have an official feature for this. We noticed that on one of our paths, the PPAA scale was not sufficient so we wanted to bump it up to increase the quality. The scale I'm talking about is the value applied in PathTessellator::GenAAGeometry() Old: vertices.push_back(vertices[i] + scale PPA_EXTRUDE_OUT n); New: vertices.push_back(vertices[i] + scale Max(mCachedPath->PPAAScale, 0.1f) PPA_EXTRUDE_OUT * n); We then just expose this value via FrameworkElement in a similar way that Noesis::Element::PPAAMode is exposed. We pass this value to all the render nodes. This allows us to do something like this from our XAML: <Control x:Name="Logo" Template="{StaticResource GameTitle}" Noesis:Element.PPAAScale="2.0"> And then generate a much more detailed path. Our unofficial implementation of this was just hastily put together, but an official support for this would be really nice. Note: I'm not sure if something like this already exists in 3.0.0. Cheers | ||||
| Platform | Any | ||||
|
This is a great suggestion. Something we talked about was exposing PPA_IN and PPA_OUT, would that be also valid for your game? |
|
|
Yes, exposing those 2 properties would also give the same control so that would be great! |
|
|
We implemented this and will be available in the next beta
We are also working in a doc to explain the meaning of both numbers. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2020-03-13 11:49 | steveh | New Issue | |
| 2020-03-13 11:59 | jsantos | Note Added: 0006145 | |
| 2020-03-13 12:00 | jsantos | Target Version | => 3.0.0 |
| 2020-03-13 12:00 | jsantos | Assigned To | => jsantos |
| 2020-03-13 12:00 | jsantos | Status | new => feedback |
| 2020-03-13 12:06 | steveh | Note Added: 0006146 | |
| 2020-03-13 12:06 | steveh | Status | feedback => assigned |
| 2020-04-20 20:10 | jsantos | Status | assigned => resolved |
| 2020-04-20 20:10 | jsantos | Resolution | open => fixed |
| 2020-04-20 20:10 | jsantos | Note Added: 0006226 | |
| 2020-04-20 20:10 | jsantos | Note Edited: 0006226 | |
| 2020-04-20 20:10 | jsantos | Note Edited: 0006226 | |
| 2020-04-20 20:11 | jsantos | Fixed in Version | => 3.0.0 |