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
    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. :)