Questions tagged [urhosharp]

a .NET binding for Urho3d game engine

UrhoSharp is a cross-platform high-level 3D and 2D engine that can be used to create animated 3D and 2D scenes for your applications using geometries, materials, lights and cameras.

Website: https://developer.xamarin.com/guides/cross-platform/game_development/urho/

47 questions
5
votes
0 answers

UrhoSharp in Xamarin.Forms as UWP: "Platform implementation is not referenced"

Playing with UrhoSharp for the first time as I would like to add a few simple 3D objects to an app. Generally I like to build and test with Windows apps as they load the quickest without the need for emulators. To learn UrhoSharp I was implementing…
Cood
  • 105
  • 2
  • 7
4
votes
1 answer

Spatial Anchor with Urho on HoloLens

Does anybody know how to use Spatial Anchors with Urho? I've looked at all the samples, didn't find anything. Nothing in the documentation either. I tried using regular Holographic API: var store = await…
Franck Jeannin
  • 6,107
  • 3
  • 21
  • 33
4
votes
1 answer

Back Button not Responding in UrhoSharp

I have create an Activity which has a UrhoSharp surface as; SDLSurface surface = UrhoSurface.CreateSurface(this, typeof(UrhoLayer), appOptions); Now back button is not Responding. I tried overriding onBackPressed(), but this function is not called…
Santosh
  • 153
  • 1
  • 13
3
votes
1 answer

How to visualize PhysicsWorld / CollisionShape with debug renderer?

My test scene for Urho3D/Urhosharp contains two boxes (see screenshot). For both, the red and the green box I added a RigidBody and a CollisionShape. The shape for the red box is a sphere and for the blue one a box. I've enabled debug visualisation…
Krumelur
  • 32,180
  • 27
  • 124
  • 263
3
votes
0 answers

How to use ndk-stack with tombstone file

I am developing Android app using Xamarin and UrhoSharp. My app crashes when i close the Activity containing UrhoSharp surface giving SIGSEGV as: [Mono] Searching for 'RefCounted_ReleaseRef'. [Mono] Probing 'RefCounted_ReleaseRef'. [Mono] Found as…
Santosh
  • 153
  • 1
  • 13
2
votes
0 answers

Running UrhoSharp in a UWP app as new view

I'm interested in building a UWP app that, when launched, has a default 2D XAML type view, but can switch to a secondary 3D UrhoSharp view (incidentally, this is to be run on HoloLens). I'm new to UrhoSharp but I'm able to follow some online…
LKeene
  • 627
  • 1
  • 8
  • 22
2
votes
0 answers

How can I make urho3d background become transparent in Xamarin form?

I use Urhosharp to display a 3D model on the Xamarin form, and I want to make the Urhosharp view become transparent so the 3D model can overlay(above) the Xamarin form content. However, it does not work if I set the background color of UrhoSurface…
Developer
  • 133
  • 2
  • 10
2
votes
0 answers

Urho.Forms Transparent Background

Using a Urho.Forms UrhoSurface View in a Xamarin.Forms ContentPage, is it possible to make the background texture on the UrhoSurface View transparent so that the ContentPage contents shows through? i.e. Overlay the UrhoSurface on the ContentPage…
Vincil Bishop
  • 1,594
  • 17
  • 21
2
votes
0 answers

Material Design DialogHost doesn't close after First Page Load in WPF

I've been working with this WPF application that integrates a UrhoSharp Window. When I click somewhere in the Urho window, there's this dialog that pops up as rendered by the main WPF Application. The issue is that on every application startup or…
Pragun
  • 1,123
  • 8
  • 20
2
votes
2 answers

UrhoSharp.Forms on UWP - unable to load dll 'mono-urho'

I'm trying to use Xamarin.Forms to embed a Urho-application with some generic UI, defined in a portable project. It's working on Android, so that's nice! The Xamarin UrhoSharp Feature samples work for UWP, but the UI isn't cross-platform there, so…
Macke
  • 24,812
  • 7
  • 82
  • 118
1
vote
1 answer

How do I load a custom Font in Xamarin using UrhoSharp?

I am trying to follow the example posted by Adam Pedley at Introduction to UrhoSharp in Xamarin Forms but have run into a problem. In the following code block, he is loading a custom font: private void CreateText() { // Create Text Element …
Mitselplik
  • 1,079
  • 1
  • 12
  • 16
1
vote
1 answer

How can I render .obj model in Xamarin.Forms?

I have a .obj file that has a 3D body in it and I want to render it in a Xamarin.Forms app that already exists(made with MvvmCross), so I just want to create a new ContentPage that has the rendered body. The user should be able to view the body from…
bogdanbujdea
  • 594
  • 8
  • 22
1
vote
0 answers

What could be causing the crash in my game?

I've created a game using UrhoSharp on Xamarin. It seems fine when testing it on the simulator, but when I tried to test it on a device it keeps crashing. Crash report: Crash report transcript: 2019-06-11 12:08:07.402 draw.iOS[350:38933] critical:…
1
vote
1 answer

UrhoSharp confusion about documentation

https://learn.microsoft.com/en-us/xamarin/graphics-games/urhosharp/using#bringing-3d-models-and-images Bringing 3D-Models and Images Urho3D tries to use existing file formats whenever possible, and define custom file formats only when absolutely…
CyberFox
  • 780
  • 6
  • 24
1
vote
0 answers

How to switch views in a UWP application

I'm interested in creating a UWP application (running on HoloLens, though that shouldn't matter in terms of code) that launches to a default 2D XAML view and then can switch to 3D view upon command. The 3D view is being created with UrhoSharp. While…
LKeene
  • 627
  • 1
  • 8
  • 22
1
2 3 4