Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • May 05 17:09
    mosra edited #323
  • May 04 15:06
    mosra commented #506
  • May 04 13:01
    aegis1823 starred mosra/magnum
  • May 04 12:39
    dsanjit opened #506
  • May 03 19:07
    timow-gh starred mosra/magnum
  • May 03 14:05
    mosra edited #453
  • May 02 22:07
    GoldbergData starred mosra/magnum
  • May 02 21:31

    mosra on next

    TestSuite: change CORRADE_FAIL(… TestSuite: mention why the Prin… (compare)

  • May 02 21:26

    mosra on next

    Tester: funny, I added these te… TestSuite: this is tested more … TestSuite: was calling CORRADE_… and 3 more (compare)

  • May 02 20:02
    dmillard starred mosra/magnum
  • May 02 04:36
    freeze-dolphin starred mosra/magnum
  • May 01 21:21
    kacperks starred mosra/magnum-integration
  • May 01 12:20
    Ayfri starred mosra/magnum-examples
  • May 01 10:27

    mosra on next

    Adapt to FrameProfiler renaming. Adapt to GL shader renaming. [wip] package/ci: use magnum ne… (compare)

  • May 01 10:05

    mosra on next

    Adapt to GL shader renaming. [wip] package/ci: use magnum's … (compare)

  • May 01 10:04

    mosra on next

    Adapt to FrameProfiler renaming. Adapt to GL shader renaming. [wip] package/ci: use magnum ne… (compare)

  • May 01 10:01

    mosra on next

    Adapt to GL shader renaming. [wip] package/ci: use magnum's … (compare)

  • May 01 09:12

    mosra on master

    Adapt to Corrade changes. (compare)

  • May 01 09:11

    mosra on master

    Adapt to Corrade changes. (compare)

  • May 01 09:07

    mosra on master

    Adapt to Corrade changes. (compare)

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.
DaeMon87
@DaeMon87
managed to get some output
PluginManager::Manager::load(): plugin StbTrueTypeFont is not static and was not found in C:/Work/GitRepos/dotactiv/CatMan/x64/Release/magnum/fonts
Vladimír Vondruš
@mosra
so as you said earlier, C:/Work/GitRepos/dotactiv/CatMan/x64/Release/magnum/fonts contains StbTrueTypeFont.dll and .conf?
DaeMon87
@DaeMon87
yes thats right
Vladimír Vondruš
@mosra
any chance you have more than one instance of the font plugin manager?
which corrade commit are you on?
DaeMon87
@DaeMon87
the last commit I have is for 10 April 2020 nnot sure what commit that is, will give all my repos an update so I have the lastest
Vladimír Vondruš
@mosra
ah, then you are about a month before mosra/corrade@e6f6538 which probably fixes this (in case you really are hitting the case of multiple instances of the same manager)
when you update, let me know if that fixed it for you
DaeMon87
@DaeMon87
awesome much thanx
Andy Somogyi
@AndySomogyi

@mosra I might be using using namespace ..., I'll have to take a look.

Will Magnum build on centos 5.0? Looks like I have to make a centos build. Last time I had to use centos, it had some absolutely ancient versions of gcc, python 2.?... and you had to download RPM from various placed just to build anything.

DaeMon87
@DaeMon87
I have achieved progress!
PluginManager::Manager::load(): cannot load plugin StbTrueTypeFont from "C:/Work/GitRepos/dotactiv/CatMan/x64/Release/magnum/fonts/StbTrueTypeFont.dll": 126