Simon Armstrong

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 231 total)
  • Author
    Posts
  • in reply to: mojox app featuring left right top and bottom docks #14308

    Simon Armstrong
    Participant

    This code in development (super smooth mojo) adds some simple grid lines using rectangles with big fat alpha 0 gutters in an attempt at sub pixel scrolling.

    Attachments:
    in reply to: getc/fread change to character-at-a-time #13408

    Simon Armstrong
    Participant

    on posix, even yuckier

    in reply to: getc/fread change to character-at-a-time #13407

    Simon Armstrong
    Participant

    on windows that would be getch() from conio.h

    in reply to: Compatibility #13402

    Simon Armstrong
    Participant

    Ignoring the Emscripten / Wasm web targets the ONLY module in monkey2 I am aware of that is not fully cross platform is the lack of windows support for the httprequest module.

    Hopefully some native code using wininet / HttpSendRequest should fix this hole in due course.

    in reply to: Console terminal sequences #13376

    Simon Armstrong
    Participant

    I suspect you may need a screen buffer handle using CreateConsoleScreenBuffer, check this example:

    https://docs.microsoft.com/en-us/windows/console/reading-and-writing-blocks-of-characters-and-attributes

    in reply to: Pi platform #13269

    Simon Armstrong
    Participant

    I recently updated to stretch on my pi and rebuilt monkey2 1.1.09

    with latest raspbian “stretch” toolchain from here   http://gnutoolchains.com/ raspberry/

    and setting this in my system environment MX2_AS_OPTS_RASPBIAN=- mfpu=vfp

    I just now modified src/mc2/buildproduct.monkey2[310] (untested)

    rebuildmx2cc.bat

    rebuildmx2cc_raspbian.bat

    the low level fiber code has not been tested and i want to test this issue

     

    https://github.com/blitz-research/monkey2/issues/17

    in reply to: WebCam Module #13248

    Simon Armstrong
    Participant

    I also had plans to wrap V4L2 and got the basics working on my raspberry pi.

    It was certainly an educational exercise.

    https://github.com/nitrologic/m2/tree/master/vhost


    Simon Armstrong
    Participant

    Shouldn’t the downcasting on line 26 be an error?

    in reply to: canvas.Rotation vs Trig function rotation #13007

    Simon Armstrong
    Participant
    in reply to: Website refresh #13002

    Simon Armstrong
    Participant

    Totally awesome!

    I personally think the “Documentation and Help” tab title is overly explicit and changing it to Docs wouldn’t hurt.

    in reply to: canvas.Rotation vs Trig function rotation #13001

    Simon Armstrong
    Participant

    IMHO it is traditional in 2D computer graphics that Y is down not up and hence your trig should read cos,-sin not cos,sin.

    in reply to: mojo3d: set child to have no parent? #12907

    Simon Armstrong
    Participant

    I got round this issue by creating a parentless entity (not a model) which I called hidden.

    By parenting any models I didn’t want in the scene to this entity they became hidden and then could be used for templates and the like.

    in reply to: Does Bullet auto-remove bodies once settled? #12868

    Simon Armstrong
    Participant

    according to this a call to btCollisionObject::activate() might be needed to get the behavior you are after

    in reply to: Houdini to Mojo3D pipeline #12712

    Simon Armstrong
    Participant

    According to the internet no.

    However decorating of placeholder nodes and materials at run time using application defined naming rules should be possible.

     

    Mojo3D currently strips names from materials so I got stuck with my first implementation of such a technique yesterday.

    in reply to: Houdini to Mojo3D pipeline #12689

    Simon Armstrong
    Participant

    I have been wondering about using gltf for material only files.

    OK, cool this duckmaterials.gltf is apparently legal:

     

Viewing 15 posts - 16 through 30 (of 231 total)