Most active commenters

    ←back to thread

    241 points fschuett | 11 comments | | HN request time: 0.013s | source | bottom
    Show context
    brcmthrowaway ◴[] No.45663181[source]
    Does this support CUDA?
    replies(1): >>45663260 #
    1. Pannoniae ◴[] No.45663260[source]
    No, this is CPU rendering only! Not even SIMD, just straightforward integer (and float) code.
    replies(3): >>45663279 #>>45663867 #>>45664581 #
    2. brcmthrowaway ◴[] No.45663279[source]
    Now make it fixed point
    replies(2): >>45664995 #>>45667169 #
    3. SJC_Hacker ◴[] No.45663867[source]
    If its OpenGL why is it CPU only ?
    replies(1): >>45663925 #
    4. bitwize ◴[] No.45663925[source]
    OpenGL is an API. Software renderers for it—like the one that originally came with Windows NT, or even early versions of Mesa—have been out for a long time.
    replies(1): >>45663958 #
    5. SJC_Hacker ◴[] No.45663958{3}[source]
    I haven't messed with it for a while, but last I checked it really wasn't that much code to make it run on the GPU. Maybe an extra 100 lines or so. Although you couldn't use windowed mode, had to be fullscreen.
    replies(1): >>45665004 #
    6. bee_rider ◴[] No.45664581[source]
    It would be kind of neat to have OpenGL running on AVX-512, just for fun…
    replies(1): >>45667931 #
    7. avadodin ◴[] No.45664995[source]
    Fixed point would be hell trying to keep track of the ranges. Maybe Posits or LNSs.
    8. apgwoz ◴[] No.45665004{4}[source]
    Haven’t messed with what?

    This is an implementation of the OpenGL API interface. It is not OpenGL. It does not support GPU acceleration. It does math with floating point on the CPU. It then draws points and lines on a 2D surface provided by raylib.

    Could this be adapted to use SIMD, or a GPU? Sure. That is not what this is today.

    9. mvx64 ◴[] No.45667169[source]
    Shout out to King's Crook [1], a cool project using a custom C software renderer only using integers

    [1] https://kingscrook.itch.io/kings-crook

    replies(1): >>45669624 #
    10. fuhsnn ◴[] No.45667931[source]
    I believe Mesa's llvmpipe backend can do that to a degree, never tried, though.
    11. lmp88959 ◴[] No.45669624{3}[source]
    Hey that's my project! Thanks for the shout out c: