https://linen.dev logo
Join Discord
Powered by
# lime
  • t

    tall-teacher-57409

    05/15/2023, 10:32 AM
    for lime, I think it depends on the RenderContext you will use (gl, dom, flash..etc)
  • t

    tall-teacher-57409

    05/15/2023, 10:33 AM
    idk about openfl since I don't use it, but I think you can just use #565569107701923852 (it has a backend for openfl)
  • h

    hallowed-ocean-84954

    05/15/2023, 1:09 PM
    welcome - glad it helped - I am puzzled though how Matrix4.pointAt() is supposed to work. But that's a puzzle for another time
  • t

    tall-teacher-57409

    05/15/2023, 7:28 PM
    almost there

    https://cdn.discordapp.com/attachments/769686258049351722/1107751316954026088/Peek_2023-05-15_21-27.gif▾

  • t

    tall-teacher-57409

    05/16/2023, 3:43 AM
    here we go

    https://cdn.discordapp.com/attachments/769686258049351722/1107876054686761031/Peek_2023-05-16_05-42.gif▾

  • t

    tall-teacher-57409

    05/16/2023, 5:09 AM
    Copy code
    hx
    public override function onMouseWheel(deltaX:Float, deltaY:Float, deltaMode:MouseWheelMode) {
            fov -= deltaY;
            if (fov > 45.0) {
                fov = 45.0;
            }
            if (fov < 1.0) {
                fov = 1.0;
            }
        }
    and im setting it here
    Copy code
    hx
            createPerspectiveZO(proj, fov * Math.PI / 180, Application.current.window.width / Application.current.window.height, 0.1, 100.0);
    but moving the mouse wheel doesn't have any visual effect
  • t

    tall-teacher-57409

    05/16/2023, 5:11 AM
    hmmmmmmm

    https://cdn.discordapp.com/attachments/769686258049351722/1107897994885480539/image.png▾

  • t

    tall-teacher-57409

    05/16/2023, 5:11 AM
  • t

    tall-teacher-57409

    05/16/2023, 5:13 AM
    tf is deltaY always |120|

    https://cdn.discordapp.com/attachments/769686258049351722/1107898659099660348/image.png▾

  • h

    hallowed-ocean-84954

    05/16/2023, 10:50 PM
    Mouse wheel calibration ? Is it 120 per ckick of the wheel ? If so you can probably derate it a bit
  • m

    modern-quill-15664

    05/17/2023, 3:01 PM
    How can i toggle vsync while the game is running?
  • t

    tall-teacher-57409

    05/17/2023, 3:05 PM
    👌
  • m

    modern-quill-15664

    05/18/2023, 10:28 AM
    How can i call sdl function which werent included in the externalinterface? Im trying to call SDL_GL_SetSwapInternal(1); in my project
  • t

    tall-teacher-57409

    05/19/2023, 7:07 PM
    why the fuck is this channel still highlighted although I've marked as read for like 4 times, and IM PRETTY SURE nothing was posted new
  • t

    tall-teacher-57409

    05/19/2023, 7:07 PM
    or im probably hallucinating
  • t

    tall-teacher-57409

    05/19/2023, 7:08 PM
    this happens in other channels too
  • h

    hallowed-ocean-84954

    05/19/2023, 7:39 PM
    Yep. Was seeing that too
  • c

    clever-airline-85054

    05/19/2023, 9:13 PM
    How do i make a new window
  • h

    hallowed-ocean-84954

    05/19/2023, 9:28 PM
  • c

    clever-airline-85054

    05/19/2023, 9:29 PM
    🔥
  • c

    clever-airline-85054

    05/19/2023, 9:29 PM
    Just what i needed
  • t

    tall-teacher-57409

    05/21/2023, 7:15 AM
    how do I allocate a bunch of pixels in lime, or that's a high level task for it to do :P (I think I might just keep the hxd dependency since its generic and works for anything)
  • t

    tall-teacher-57409

    05/21/2023, 7:18 AM
    hm yeah I think there's no createPixels function anywhere
  • h

    hallowed-ocean-84954

    05/21/2023, 2:04 PM
    I guess I don't understand what is means to create pixels ? Points sure, but pixels are part of a texture. Unless you are looking for a line drawing style interface
  • t

    tall-teacher-57409

    05/21/2023, 2:07 PM
    looking at https://github.com/HeapsIO/heaps/blob/master/hxd/Pixels.hx, seems like its just a bunch of bytes or whatever
  • a

    able-action-74275

    05/21/2023, 2:19 PM
    what's your end goal @tall-teacher-57409 ?
  • t

    tall-teacher-57409

    05/21/2023, 2:24 PM
    imgui -> lime
  • t

    tall-teacher-57409

    05/21/2023, 2:35 PM
    me and @User are trying to figure it out, only got cpp working, js kinda but still broken, but for hl it seems much more complicated as im not that experienced with the target itself, but trying to replace the heaps specifics in hlimgui with lime especially since heaps is obviously higher level framework/whatever than lime, and the motives behind porting imgui to lime is that afaik, no GUI framework already exists for lime, and if there is, it will most likely suck, and I also need an easy to use and powerful GUI to use for my opengl experiments, and imgui just fits in so perfectly
  • a

    able-action-74275

    05/21/2023, 2:39 PM
    have you got a link to the part of hlimgui you want to replicate?
  • t

    tall-teacher-57409

    05/21/2023, 2:41 PM
    yea one sec
1...132133134...138Latest