View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000857 | NoesisGUI | Unity | public | 2016-04-04 04:16 | 2018-11-21 13:16 |
| Reporter | Scherub | Assigned To | jsantos | ||
| Priority | normal | Severity | major | ||
| Status | feedback | Resolution | open | ||
| Summary | 0000857: Path seems to ignore the containers it is in | ||||
| Description | Hi, I've created a path looking like circular rays that I'm rotating around its center. Unfortunately the path doesn't behave the same as it does in WPF. I'll just upload two screenshots, one from WPF where I can change the angle and it works as expected and one using NoesisGUI where it behaves a bit odd. The screenshots are probably more self-explaining than when I would try to describe it. :) If not, just ask and I'll try to explain it or provide you a video. I've starting doing this animation using an image and it works there as expected. Unfortunately it's a bit more involved when changing the color of an image and changing the opacity is also not the best thing to do. I hope we can fix this issue or at least find a workaround this week as I'm planning to release the game next week. | ||||
| Steps To Reproduce | <Grid Grid.Column="2" Grid.Row="2"> | ||||
| Attached Files | |||||
| Platform | Any | ||||
|
Oh, I should also mention that the path is cut off for some reason. |
|
|
It seems there are problems with the tessellation of the dash when dealing with this situation where dash vertices are touching or even crossing in the center. You should be able to create the same geometry using solid sections of a ellipse instead of the dash property as a workaround while we solve this problem. I can help you with this if you need it. |
|
|
Well, since you seem to know how to create the same geometry in a different way it will probably be faster if you show me the way. :) |
|
|
Please indicate which size do you need for the Ellipse, and the degrees I should assign to each section and hole, to get the desired effect. I will attach here the corresponding xaml code. |
|
|
Well, in the end the size should be 'flexible' but if you take a width/height of 1000 it should be fine. And if you use 20 degree for each section and hole you should end up with less sections than in above picture but that should be okay. |
|
|
Here you have a Path with several figures that is equivalent to the first one:
|
|
|
Ah, excellent! That one works as expected. Thanks a lot! :) What did you use to create it? Illustrator? |
|
|
I used Blend, started with an Ellipse and then used Rectangles to "Substract" the required portions until I had the desired arc section. Then I copied the section N times applying the corresponding rotation to each section. Finally I selected all the paths and "Make Compound Path". It's a bit tricky but I used that kind of path operations often to create more complex geometries. |
|
|
Thanks for explaining it. I will give it a try with the next path I have to create. :) |
|
|
What's the status of this? Can we close it? Thanks! |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2016-04-04 04:16 | Scherub | New Issue | |
| 2016-04-04 04:18 | Scherub | File Added: Circular Rays - WPF.jpg | |
| 2016-04-04 04:18 | Scherub | File Added: Circular Rays - NoesisGUI.jpg | |
| 2016-04-04 04:19 | Scherub | Note Added: 0003705 | |
| 2016-04-04 14:06 | sfernandez | Note Added: 0003708 | |
| 2016-04-04 14:06 | sfernandez | Assigned To | => sfernandez |
| 2016-04-04 14:06 | sfernandez | Status | new => feedback |
| 2016-04-04 14:07 | sfernandez | Assigned To | sfernandez => jsantos |
| 2016-04-04 14:07 | sfernandez | Status | feedback => assigned |
| 2016-04-04 14:57 | Scherub | Note Added: 0003709 | |
| 2016-04-04 15:03 | sfernandez | Note Added: 0003710 | |
| 2016-04-04 15:03 | sfernandez | Status | assigned => feedback |
| 2016-04-04 15:21 | Scherub | Note Added: 0003711 | |
| 2016-04-04 15:21 | Scherub | Status | feedback => assigned |
| 2016-04-04 16:16 | sfernandez | Note Added: 0003712 | |
| 2016-04-04 16:16 | sfernandez | Status | assigned => feedback |
| 2016-04-04 16:56 | Scherub | Note Added: 0003713 | |
| 2016-04-04 16:56 | Scherub | Status | feedback => assigned |
| 2016-04-04 17:18 | sfernandez | Note Added: 0003714 | |
| 2016-04-04 17:18 | sfernandez | Status | assigned => feedback |
| 2016-04-05 10:03 | Scherub | Note Added: 0003720 | |
| 2016-04-05 10:03 | Scherub | Status | feedback => assigned |
| 2017-04-26 02:32 | jsantos | Status | assigned => feedback |
| 2017-04-26 02:32 | jsantos | Note Added: 0004592 | |
| 2018-11-01 02:14 | jsantos | View Status | public => private |
| 2018-11-20 19:50 | jsantos | Target Version | => 3.0 |
| 2018-11-20 19:50 | jsantos | View Status | private => public |
| 2018-11-20 19:50 | jsantos | Platform | => Any |
| 2018-11-21 13:16 | jsantos | Target Version | 3.0 => |
| 2025-10-10 13:29 | jsantos | Category | Unity3D => Unity |