Comments (8)
Huh, odd. I'll look into this. Hopefully it is not mac-specific as I don't own one. What happens if you press the 'p' or 'w' keys while running the demo?
from lyon.
@nical Nothing change
Just output:
== gfx-rs example ==
Controls:
Arrow keys: scrolling
PgUp/PgDown: zoom in/out
w: toggle wireframe mode
p: toggle show points
a/z: increase/decrease the stroke width
-- fill: 557 vertices 1707 indices
-- stroke: 1270 vertices 3810 indices
-- zoom: 5, scroll: (70,70)
-- zoom: 5, scroll: (70,70)
from lyon.
I can't reproduce, so I'll have to speculate.
- Could be an issue with the depth buffer: this example draws front to back with the depth buffer enabled, and since the backgrounds is drawn last, if there is something wrong going on with the back buffer, the background could cover the rest.
- Could be an issue in the shader causing GL to just not draw the triangles or miscompute the position and draw everything way out of the view. Not sure what to do for this without having a hand on a computer that can reproduce the issue.
I just pushed a commit to the master branch that lets you disable rendering the background by pressing the 'b' key. Could you try it out ? If the logos show on a black background it means it was a depth buffer issue, otherwise back to square one.
from lyon.
still nothing display...😹
from lyon.
Too bad, at least I can rule out the potential depth buffer bugs. In PR #30 which I just merged to the master branch I renamed this example into gfx_advanced
and added a gfx_basic
one which is a lot simpler (no animation, no colors, no background, just a black logo on a white background. Could you try it out? I would be very surprised if this one doesn't work on you computer, but it would be good to know for sure. I'll get back on the advanced example investigation when I can get my hand on a mac to reproduce the issue.
from lyon.
from lyon.
@nical I'm too busy now. but if have time, I will try to location
from lyon.
Hey @tioover :) I've just added a change in the gfx_advanced example. Could you please try to run it again and tell me if it now works ? :D
from lyon.
Related Issues (20)
- Finding close point on CubicBezierSegment HOT 3
- Cubic Bezier Segment not matching SVG? HOT 1
- Create git tags (and GitHub releases?) for crates.io releases HOT 6
- hit_test_path seems to report incorrect result with FillRule::EvenOdd HOT 1
- Update wgpu dependency in the examples HOT 2
- debug_assert can panic while not being necessarily justififed HOT 1
- Tesselator doesn't handle intersections between different paths very well HOT 4
- Add `offset` parameter to `HatchingOptions`
- Stroke tessellator seems to produce wrong results for some rounded path types HOT 5
- Lifetime issue when storing Tesselator::builder() in a struct and later resetting it HOT 4
- Stroke tessellator bad triangle HOT 1
- PathParser: can't parse path using scientific notation for numbers.
- `PathSampler::split_range` seems to disregard discontinuities in the original path HOT 3
- (breaking change) Typo "InvalidParamater" in lyon_tessellation
- Is there an example of using custom attributes? HOT 2
- `end_cap` seems to have no effect if its `LineCap::Square` HOT 1
- Arc angle starting position is unusual HOT 2
- Line intersection loses lot of accuracy HOT 1
- FillTesselator produces empty indices HOT 4
- Glam types HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lyon.