Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Aug 19 22:48
    tlgkccampbell closed #116
  • Aug 19 22:48
    tlgkccampbell commented #116
  • Aug 19 22:45
    tlgkccampbell closed #117
  • Aug 19 22:45
    tlgkccampbell commented #117
  • Aug 19 17:53
    Sicilica opened #117
  • Jul 19 21:06

    tlgkccampbell on 3dmodels

    Fix build (compare)

  • Jul 19 20:29

    tlgkccampbell on master

    (compare)

  • Jul 19 20:28

    tlgkccampbell on master

    (compare)

  • Jul 19 20:26

    tlgkccampbell on legacy

    (compare)

  • Jul 19 20:26

    tlgkccampbell on master

    (compare)

  • Jul 19 20:25

    tlgkccampbell on 3dmodels

    Begin work on GLTF model loadin… Add glTF2Loader to macOS and iO… Add new project for signing glT… and 9 more (compare)

  • Jul 19 20:10

    tlgkccampbell on develop

    Remove fmod from iOS (compare)

  • Jul 19 19:51

    tlgkccampbell on develop

    Pull fmod.jar location from env… Remove FMOD.Native package (compare)

  • Jul 19 19:32

    tlgkccampbell on develop

    Remove FMOD from tests Merge branch 'develop' of https… (compare)

  • Jul 19 19:29

    tlgkccampbell on develop

    Update README.md (compare)

  • Jul 19 19:26

    tlgkccampbell on 3dmodels

    Begin work on GLTF model loadin… Add glTF2Loader to macOS and iO… Add new project for signing glT… and 9 more (compare)

  • Jul 19 19:26

    tlgkccampbell on develop

    Drop support for armeabi Update Docs plugin Fix SDL2 package and 2 more (compare)

  • Jul 19 19:16

    tlgkccampbell on master

    Remove fmod libs (compare)

  • Jul 19 19:16

    tlgkccampbell on develop

    Remove fmod libs (compare)

  • Jul 19 19:16

    tlgkccampbell on master

    (compare)

Ryan Cheung
@ryancheung
It’s midnight here. I’ll test in earlier Android versions in emulator.
Cole Campbell
@tlgkccampbell
Thanks. Let me know what happens.
Ryan Cheung
@ryancheung
Yeah, see u tomorrow, sir!
Cole Campbell
@tlgkccampbell
@SPGardebiter The 2019.06 release, which should be showing up on NuGet shortly, adds several methods which should help you. See the notes: https://github.com/tlgkccampbell/ultraviolet/releases/tag/v2019.06
Ryan Cheung
@ryancheung

Loaded assembly: Sample13_UPFAdvanced.dll
Loaded assembly: Microsoft.DotNet.PlatformAbstractions.dll [External]
Loaded assembly: Microsoft.Extensions.DependencyModel.dll [External]
06-29 01:20:53.126 I/e13_UPFAdvance( 4651): Not late-enabling -Xcheck:jni (already on)
06-29 01:20:53.159 W/e13_UPFAdvance( 4651): Unexpected CPU variant for X86 using defaults: x86
06-29 01:20:53.251 I/e13_UPFAdvance( 4651): The ClassLoaderContext is a special shared library.
06-29 01:20:53.289 W/monodroid( 4651): Creating public update directory: /data/user/0/UltravioletSample.Sample13_UPFAdvanced/files/.__override__
06-29 01:20:53.289 W/monodroid( 4651): Using override path: /data/user/0/UltravioletSample.Sample13_UPFAdvanced/files/.overrideLoaded assembly: Newtonsoft.Json.dll [External]
06-29 01:20:53.289 W/monodroid( 4651): Trying to load sgen from: /data/user/0/UltravioletSample.Sample13_UPFAdvanced/files/.override/libmonosgen-2.0.so

06-29 01:20:53.289 W/monodroid( 4651): Trying to load sgen from: /storage/emulated/0/Android/data/UltravioletSample.Sample13_UPFAdvanced/files/.override/libmonosgen-2.0.so
06-29 01:20:53.289 W/monodroid( 4651): Trying to load sgen from: /storage/emulated/0/../legacy/Android/data/UltravioletSample.Sample13_UPFAdvanced/files/.override/libmonosgen-2.0.so
06-29 01:20:53.289 W/monodroid( 4651): Trying to load sgen from: /data/app/UltravioletSample.Sample13_UPFAdvanced-KoxvNy-qsSXIVqbrA5Ylug==/lib/x86/libmonosgen-2.0.so
06-29 01:20:53.291 W/monodroid-debug( 4651): Trying to initialize the debugger with options: --debugger-agent=transport=dt_socket,loglevel=0,address=127.0.0.1:29368,server=y,embedding=1
06-29 01:20:53.355 W/monodroid-debug( 4651): Accepted stdout connection: 36
06-29 01:20:54.122 D/Mono ( 4651): Image addref mscorlib[0xe7ea9d40] -> mscorlib.dll[0xef68cd00]: 2
06-29 01:20:54.122 D/Mono ( 4651): Prepared to set up assembly 'mscorlib' (mscorlib.dll)
06-29 01:20:54.123 D/Mono ( 4651): AOT: image 'mscorlib.dll.so' not found: dlopen failed: library "/data/app/UltravioletSample.Sample13_UPFAdvanced-KoxvNy-qsSXIVqbrA5Ylug==/lib/x86/libaot-mscorlib.dll.so" not found
06-29 01:20:54.123 D/Mono ( 4651): AOT: image '/Users/builder/jenkins/workspace/xamarin-android-d15-9/xamarin-android/external/mono/sdks/out/android-x86-release/lib/mono/aot-cache/x86/mscorlib.dll.so' not found: dlopen failed: library "/data/app/UltravioletSample.Sample13_UPFAdvanced-KoxvNy-qsSXIVqbrA5Ylug==/lib/x86/libaot-mscorlib.dll.so" not found
06-29 01:20:54.124 D/Mono ( 4651): Config attempting to parse: 'mscorlib.dll.config'.
06-29 01:20:54.124 D/Mono ( 4651): Config attempting to parse: '/Users/builder/jenkins/workspace/xamarin-android-d15-9/xamarin-android/external/mono/sdks/out/android-x86-release/etc/mono/assemblies/mscorlib/mscorlib.config'.
06-29 01:20:54.147 D/Mono ( 4651): Assembly mscorlib[0xe7ea9d40] added to domain RootDomain, ref_count=1
06-29 01:20:54.192 D/Mono ( 4651): Image addref Sample13_UPFAdvanced[0xe7ea9f80] -> Sample13_UPFAdvanced.dll[0xef68dc00]: 2
06-29 01:20:54.192 D/Mono ( 4651): Prepared to set up assembly 'Sample13_UPFAdvanced' (Sample13_UPFAdvanced.dll)
06-29 01:20:54.192 D/Mono ( 4651): Assembly Sample13_UPFAdvanced[0xe7ea9f80] added to domain RootDomain, ref_count=1
06-29 01:20:54.193 D/Mono ( 4651): AOT: image 'Sample13_UPFAdvanced.dll.so' not found: dlopen failed: library "/data/app/UltravioletSample.Sample13_UPFAdvanced-KoxvNy-qsSXIVqbrA5Ylug==/lib/x86/libaot-Sample13_UPFAdvanced.dll.so" not found
06-29 01:20:54.194 D/Mono ( 4651): AOT: image '/Users/builder/jenkins/workspace/xamarin-android-d15-9/xamarin-android/external/mono/sdks/out/android-x86-release/lib/mono/aot-cache/x86/Sample13_UPFAdvanced.dll.so' not found: dlopen failed: library "/data/app/UltravioletSample.Sample13_UPFAdvanced-KoxvNy-qsSXIVqbrA5Ylug==/lib/x86/libaot-Sample13_UPFAdvanced.dll.so" not found
06-29 01:20:54.194 D/Mono ( 4651): Config attempting to parse: 'Sample13_UPFAdvanced.dll.config'.
06-29 01:20:54.194 D/Mono ( 4651): Config attempting to parse: '/Users/builder/jenk

Debug UPFAndvanced.Android in Android 9 emulator

06-29 01:20:57.141 D/Mono ( 4651): DllImport searching in: 'SDL2' ('./libSDL2.so').
06-29 01:20:57.141 D/Mono ( 4651): Searching for 'SDL_GL_MakeCurrent'.
06-29 01:20:57.141 D/Mono ( 4651): Probing 'SDL_GL_MakeCurrent'.
06-29 01:20:57.141 D/Mono ( 4651): Found as 'SDL_GL_MakeCurrent'.
06-29 01:20:57.149 D/Mono ( 4651): DllImport searching in: 'SDL2' ('./libSDL2.so').
06-29 01:20:57.150 D/Mono ( 4651): Searching for 'SDL_DestroyWindow'.
06-29 01:20:57.150 D/Mono ( 4651): Probing 'SDL_DestroyWindow'.
06-29 01:20:57.150 D/Mono ( 4651): Found as 'SDL_DestroyWindow'.
06-29 01:20:57.161 D/Mono ( 4651): DllImport searching in: 'SDL2' ('./libSDL2.so').
06-29 01:20:57.161 D/Mono ( 4651): Searching for 'SDL_Quit'.
06-29 01:20:57.161 D/Mono ( 4651): Probing 'SDL_Quit'.
06-29 01:20:57.161 D/Mono ( 4651): Found as 'SDL_Quit'.
Unhandled Exception:

System.InvalidOperationException: The application requested an OpenGL context of version 2.0 or higher, but the driver could not provide such a context.

But UPF.Android sample works in Android 9 emulator
Ultraviolet nuget packages are updated to latest 4011 version
Ryan Cheung
@ryancheung
Sample7_PlayingMusic.Android also does not playing music in Android
Ryan Cheung
@ryancheung

Unhandled Exception:

System.InvalidOperationException: The application requested an OpenGL context of version 2.0 or higher, but the driver could not provide such a context.

Sample13_UPFAdvanced also raise above exception on Android 8.1 in emulator
Ryan Cheung
@ryancheung
        var win =Ultraviolet.GetPlatform().Windows.GetPrimary();
        win.SetWindowMode(WindowMode.Fullscreen);
These don't go fullscreen mode in android, is there any way to make fullscreen in Android?
Yannick Comte
@demonixis
Hey guys,
I'm looking for a good replacement of MonoGame which is very limited for 3D and non Windows platforms.
Is it possible to achieve SM4 with Ultraviolet? How are the shaders? Is it pure GLSL or a custom version?
Can I cross compile some HLSL code to GLSL and use it with Ultraviolet?
Thanks for your replies! My target platformes are mainly Windows and Android, but also Linux and Mac.
RUSshy
@RUSshy
UV support OpenGL4.X so it is equivalent to up to SM 5, it uses pure GLSL, but i think @tlgkccampbell plans to use HSLS in the future
Cole Campbell
@tlgkccampbell
@ryancheung Sorry for the delay in getting back to you, work's been busy lately. I'll be sure to investigate your issues with Android as soon as I have some time, thanks for the detailed information.
@demonixis What @RUSshy says is correct; Ultraviolet supports pure GLSL and can use any version of OpenGL from 3.1 to 4.5+, which provides access to the newest shader features (though not all graphics cards will support the latest OpenGL version). Between Windows and Android, however, it's probable that you'll need to write separate versions of your shaders, since Android uses OpenGL ES which uses a different version of GLSL.
In theory there's no reason you couldn't cross-compile HLSL to Ultraviolet-compatible GLSL with a bit of effort, but you'd need to use a third-party program. I've had plans for a long time to incorporate something like MojoShader to do it for you automatically, but I haven't had as much free time to work on Ultraviolet as I used to, so it's kind of been on the backburner.
BrousseauDemersB
@BrousseauDemersB
If you try MojoShader I hope you can work around that issue MonoGame/MonoGame#1813
BrousseauDemersB
@BrousseauDemersB
also unless I'm doing it wrong, mojoshader doesn't work on linux so because you need to compile direct-x on windows
so you'd be locking yourself out of linux
Yannick Comte
@demonixis
@RUSshy @tlgkccampbell thanks! MojoShader doesn't support SM4, that why I want to switch from MonoGame to UV, because except for Windows, it's very limited with OpenGL
Using Microsoft's Shader Conductor (https://github.com/microsoft/ShaderConductor) it's possible to converte HLSL to may shading languages
I'll definitly give it a try in the next weeks
thanks!
RUSshy
@RUSshy
@tlgkccampbell how did you generate the OpenGL binding, personal tool? is it available somewhere?
i'm trying to make a version that doesn't use reflection at all (to make it easier for AOT compilation with CoreRT)
Cole Campbell
@tlgkccampbell
@RUSshy I think I wrote a tool that generated it from the XML spec: https://github.com/KhronosGroup/OpenGL-Registry/blob/master/xml/gl.xml
But that was a long time ago and it was a throw-away tool so I don't think I have it anymore.
Amer Koleci
@amerkoleci
@tlgkccampbell what about distribuite the FMOD library? Is it allowed to share the dlls?
Cole Campbell
@tlgkccampbell
@amerkoleci If you want to use the FMOD audio implementation, you'll have to adhere to the FMOD license: https://www.fmod.com/licensing
Amer Koleci
@amerkoleci
I know but sharing the dlls in repository is allowed?
Cole Campbell
@tlgkccampbell
Non-commercial and educational uses are permitted by the FMOD license.
Cole Campbell
@tlgkccampbell
Actually... you've got me reading through the license again, and it looks like there are some clauses in here that explicitly disallow distribution as part of an engine or tool set. So... I think I need to remove those DLLs from the repository.
Amer Koleci
@amerkoleci
I saw other C# fmod library non sharing the fmod lib, that's why I reported it here
Cole Campbell
@tlgkccampbell
That's going to make things difficult but I think you're right. I'm removing it now.
MaximovInk
@MaximovInk
изображение.png
Hello! A simple question: how to change the name of the window?
RUSshy
@RUSshy
@MaximovInk if i remember correctly something like that Ultraviolet.GetPlatform().Windows.GetPrimary().Caption = title;
MaximovInk
@MaximovInk
thanks)
RUSshy
@RUSshy
np
MaximovInk
@MaximovInk
How to understand the manifests? Difficult to understand examples. Is it easier to just upload the file by path? (Sorry for bad english)
RUSshy
@RUSshy
i don't use it personally, i load directly stuff
you checked the samples ?
MaximovInk
@MaximovInk
yes
MaximovInk
@MaximovInk
oo, thank you )
RUSshy
@RUSshy
maybe @tlgkccampbell can explain better, i'm not sure about how it exactly works