Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 01:42
    pezcode commented #97
  • 01:25
    pezcode synchronize #97
  • Jun 24 17:45
    trebbiatrice starred mosra/magnum
  • Jun 24 17:25

    mosra on next

    python: don't carelessly copy p… Typo fixing doc: updated credits and change… and 1 more (compare)

  • Jun 24 17:21
    mosra closed #521
  • Jun 24 17:21
    mosra commented #521
  • Jun 24 17:21

    mosra on master

    GCC 11, your fancy new warnings… package/ci: move a comment to w… ObjImporter: fix a GCC 11 warni… and 12 more (compare)

  • Jun 24 15:59
    Build #1378 passed
  • Jun 24 15:29
    mosra commented #11
  • Jun 24 15:29
    mosra closed #11
  • Jun 24 15:29

    mosra on master

    Typo fixing doc: updated credits and change… (compare)

  • Jun 24 15:27
    mosra labeled #11
  • Jun 24 15:27
    mosra milestoned #11
  • Jun 24 15:24

    mosra on next

    AnySceneConverter,AnySceneImpor… AnyImageConverter: add placehol… AnyImageConverter: rename a tes… and 5 more (compare)

  • Jun 24 15:19
    mosra commented #97
  • Jun 24 13:54
    mosra closed #98
  • Jun 24 13:51

    mosra on master

    TinyGltfImporter: update docs a… doc: updated credits and change… (compare)

  • Jun 24 13:50
    mosra milestoned #98
  • Jun 24 13:36

    mosra on next

    doc: updated credits. Shaders: wait, this should work… Shaders: Bitangent is disallowe… and 15 more (compare)

  • Jun 24 08:46
    jfabraxas starred mosra/magnum
Tracy Ma
@linuxaged
the warning from javascript:
GLctx.readPixels(x,y,width,height,format,type,pixels)
Firefox 70
Vladimír Vondruš
@mosra
yeah, FF, that's the problematic one :/
let me dig up the messy code i had to use
Tracy Ma
@linuxaged
sorry, Firefox 76
Tracy Ma
@linuxaged
图片.png
tried in chrome too, the same warning
Vladimír Vondruš
@mosra
huh!
okay wait
if you use UnsignedInt instead of Float, does that work?
Tracy Ma
@linuxaged
not work, both Chrome and Firefox : (
Vladimír Vondruš
@mosra
then i guess your only option is to do what i did on that link above :/
Guillaume Jacquemin
@williamjcm
Just reading the comment in the link is making my head spin.
:dizzy_face:
Vladimír Vondruš
@mosra
@linuxaged as a last attempt, can you try UnsignedShort?
Tracy Ma
@linuxaged
So why the https://magnum.graphics/showcase/mouseinteraction/ example works? i copied code directly from there
Vladimír Vondruš
@mosra
there's two branches, master with what you copied, which is the sane and understandable implementation
and then ports, from where is the above link, with the insane crazy implementation that has to use a shader to read the depth
and that's what is used in this web demo
Tracy Ma
@linuxaged
much more complicated 😓
Vladimír Vondruš
@mosra
yeah, it's terrible :/
Tracy Ma
@linuxaged
UnsignedShort still not work~
Vladimír Vondruš
@mosra
it's just unbelievably stupid, see:
image.png
image.png
you just can't
at all
and as far as i can see, there's no (webgl) extension to allow this either
Tracy Ma
@linuxaged
╮(╯-╰)╭
Vladimír Vondruš
@mosra
the mouseinteraction example is slightly more complicated because of the multisampling, which you could skip if you don't need that, but the main complexity with the shader reading is still there
Janos95
@Janos95
or use an AABB tree and do ray casting. But that's not really simpler :laughing:
Vladimír Vondruš
@mosra
yeah no :D
what if there's more than just one channel 255?
ugh
i wonder how the phone in my pocket isn't just spontaneously catching fire every ten minutes
DaeMon87
@DaeMon87
@mosra I added that pluginList call and it returns an empty list
Vladimír Vondruš
@mosra
are you using current master?
(asking because there's a particular behavior in older versions that could have this effect, so want to rule that out before we continue investigating further)
DaeMon87
@DaeMon87
im a few commits behind
ill update to latest
Vladimír Vondruš
@mosra
if you have at least mosra/corrade@e6f6538 then all is fine
now, when it fails to load the plugin, it prints a message to the standard output, can i see what it prints?
DaeMon87
@DaeMon87
I dont see the standard output in my application ill see what I can do to to get that output
Guillaume Jacquemin
@williamjcm
You could create a file stream and redirect Utility::Debug to it, for example.
Vladimír Vondruš
@mosra
or if you're using CMake and use add_executable(... WIN32 ...), temporarily remove that WIN32 to have a console window open (or the output shown in VS)
Guillaume Jacquemin
@williamjcm
That too.