Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Paul Gene Thompson
    @PaulGene
    Just building now, Renegade Racing should be great for stress testing this
    I will run a few devices in autoplay mode
    Hugh Sanderson
    @hughsando
    Nme had already separated the hardware geometry/calculations from the actual rendering, so it was less then 1000 lines of code for metal. Makes me think a specific directX driver may be worthwhile - again, without the webgl Api.
    Carlos Madrazo
    @madrazo
    @hughsando we have a DirectX11 (XB1) target from 2017 openfl-legacy. Would be useful instead of Angle? Nowadays I think there is a chance for getting permission to releasing it
    Paul Gene Thompson
    @PaulGene
    @hughsando I'm getting a black screen on an iPhone 6s
    Cant see any error messages
    The game seems to be running fine, just a black screen
    On an iPad 4 I'm getting:

    20-10-22 09:47:15.017673-0700 RenegadeRacing[898:142850] Metal GPU Frame Capture Enabled
    2020-10-22 09:47:15.018621-0700 RenegadeRacing[898:142850] Metal API Validation Enabled
    2020-10-22 09:47:15.722752-0700 RenegadeRacing[898:142850] [CAMetalLayer nextDrawable] returning nil because device is nil.
    2020-10-22 09:47:18.235385-0700 RenegadeRacing[898:142850] * Terminating app due to uncaught exception 'Failed to compile shaders', reason: '(null)'

    * First throw call stack:

    (0x1c0b7b3d 0x1b33f067 0x1c0b7a85 0x88666f 0x8854b5 0x861b6f 0x92a3bd 0x92e5c7 0x92e5c7 0x937571 0x93bd41 0x24cd53 0x4aa8cd 0x2d19cd 0x4ab3b1 0x4ab747 0x775193 0x771b87 0x93b7b9 0x936f8b 0x7e651b 0x7e63f9 0x1977e93 0x1ee4a9f1 0x1ee4a839 0x1e2ef1bf 0x1c308a7f 0x1c060c19 0x1c07465f 0x1c073ebd 0x1c071eab 0x1bfc51af 0x1bfc4fd1 0x1d76fb41 0x21347a53 0x7e931b 0x93acc5 0x2d1671 0x441b3f 0x20b6ad 0x75c19d 0x79968b 0xbc66b 0x1b7b24eb)

    Paul Gene Thompson
    @PaulGene
    Not sure directx is worth the effort, OpenGL is working fine on Windows and I cant see Microsoft banning it any time soon
    Hugh Sanderson
    @hughsando
    Looks like it is not creating the context. This should be happening in setupStageLayer from UIStageView template. Do you override this template? Do you see "setupStageLayer" in a debug layer. I wonder if it is to do with how it is launched. I will try some other apps/devices.
    Hugh Sanderson
    @hughsando
    OpenGL being a bit flakey is the main reason for the Angle library. I think recent nvidia/amd cards work ok, but some embedded systems really (did) benefit from DX over Opengl., not sure what the state of that is now. I guess xbox/windows apps too.
    Is anyone using WebGL stuff in anger? I have been thinking about doing some 3D and wondering if anyone has any ideas or suggestions here.
    Paul Gene Thompson
    @PaulGene
    I'm not overriding UIStageView
    codeservice
    @codeservice
    3D works well for me on NME with classic OpenGL, I am running Away3D without many problems on it. What I am thinking, if so many developers familiar with OpenGL, maybe its resonable to keep supporting OpenGL shaders and provide coverters for different systems. Theoretically Anger should do that, but I didnt really try this yet. Shaders is key for 3D and custom graphics efects, it will be great to have unified standart here
    Hugh Sanderson
    @hughsando
    Yes, I think Kha and maybe Heaps have a solution here. My understanding is that they use a slightly different language that compiles to opengl/metal/vulcan/dx as required. It might be possible to steal a library, or do something like a "KhaView" or "HeapsView" like the current "OpenGLView" and insert it into the 2D scene graph. Or, as you say, use some of the Angle libraries.
    codeservice
    @codeservice
    Also, whats interesting, Away3D using AGAL. NME converting it to OpenGL shaders. Probably Adoby made AGAL as unified standart language for shaders, same idea to have something universal
    Carlos Madrazo
    @madrazo
    This is solved by SPIRV-Cross. You can use GLSL, HLSL or your own shader format and compile it to the intermediate language SPIR https://www.khronos.org/spir/
    Carlos Madrazo
    @madrazo
    I had the idea to integrate a 3DSprite object on top of GLView, like for 2.5D games. I mentioned this some months ago. My idea is also to follow GLTF format, so I already was able to load GLTF files https://github.com/madrazo/nme-go/tree/sprite3d_
    in that case you have already predefined materials with variables, so you dont need to even use shaders directly
    Carlos Madrazo
    @madrazo
    you just export gltf files from Blender XD
    Paul Gene Thompson
    @PaulGene
    We should move this chat to a haxe discord room, apart from about 4-5 of us there is nobody else here
    We might pick up some new devs
    Hugh Sanderson
    @hughsando
    Yes, There used to be an NME channel over there, but it may have got shut down in favour of here. I am happy to move - I think it is a good idea - but really only want to monitor one place.
    Paul Gene Thompson
    @PaulGene
    Yeah no point having multiple chats
    I'll try and get an NME room put back
    Peter Achberger
    @Antriel
    Should be easy, just ask NotBilly to put it back.
    Paul Gene Thompson
    @PaulGene
    Antriel :D thanks...
    Paul Gene Thompson
    @PaulGene
    Ok NME room is back...
    I'll be active in there instead of here from now on!
    Hugh Sanderson
    @hughsando
    Yes - it's official. Moving to discord.
    nanjizal
    @nanjizal
    discord is down is that link to nme channel in haxe?
    nanjizal
    @nanjizal
    working again
    Thomas Uster
    @thomasuster
    Hey
    Discord link doesn't work for me?
    That's the general Haxe invite, #nme channel is there. :)