Code Monkey home page Code Monkey logo

Comments (8)

nical avatar nical commented on August 15, 2024

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.

tioover avatar tioover commented on August 15, 2024

@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.

nical avatar nical commented on August 15, 2024

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.

tioover avatar tioover commented on August 15, 2024

2017-05-21 2 15 39

still nothing display...😹

from lyon.

nical avatar nical commented on August 15, 2024

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.

tioover avatar tioover commented on August 15, 2024

2017-05-21 14 50 00

It's work!

from lyon.

tioover avatar tioover commented on August 15, 2024

@nical I'm too busy now. but if have time, I will try to location

from lyon.

o0Ignition0o avatar o0Ignition0o commented on August 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.