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
1
vote
0 answers

How do I initialize UrhoSharp in my application background?

I'm trying to use UrhoSharp in my Xamarin application to play sound, but SoundSource seems to need Urho to be initialized, and I can't initialize Urho without errors. Here is the code I am trying to run public void PlayTestUrho() { using…
Tezra
  • 8,463
  • 3
  • 31
  • 68
1
vote
3 answers

Xamarin.Android vs. UrhoSharp camera node rotation based on Android device orientation

In my Xamarin.Android application I have orientation data for X, Y, Z axes got from device's geomagnetic rotation vector composite sensor and processed with SensorManager.GetOrientation( ) method. I want to apply this orientation data in UrhoSharp's…
Ladislav
  • 320
  • 3
  • 10
1
vote
1 answer

How to convert BGRA to RGBA in Xamarin.iOS?

I am using AVFoundation to get real-time frames from camera and display to the UrhoSharp. However, seems the Texture2D in UrhoSharp is not support the BGRA from AVVideoOutput. So I want to convert the "CVPixelBuffer" to RGB format. I found there is…
Developer
  • 133
  • 2
  • 10
1
vote
1 answer

Saving an image from UrhoSharp in headless mode

I'd like to use UrhoSharp to build a command-line tool that draws some stuff and saves the output to a PNG file. I've figured out how to draw what I want in a window, and I can save it (after waiting for a couple of updates) with…
1
vote
1 answer

UrhoSharp Xamarin.Form - Unable to load dll 'mono-urho'

I've impelemented custom control for my Xamarin.Forms project and I have problem trying to start UrhoSharp engine for UWP platform. The issues arises at Run() method called on UrhoSufrace control: // this _engine object is my custom object with some…
gabr
  • 203
  • 2
  • 8
0
votes
0 answers

UrhoSharp Logging - Where is the log file location?

Using the Log Class in the Urho.IO namespace, it looks like it works. The lastMess string below contains "test"; however, I cannot find any log file that has been written to disk. Log exLog = new Log(); exLog.LogLevel =…
Me2
  • 1
  • 2
0
votes
1 answer

Urhosharp Material.FromImage not woking with some jpg files

I'm using Xamarin.Forms with Urhosharp in my project. I'm tring to set a matrial from an image on a sphere, everything is OK in my Android project but in iOS project, when I set material from some jpg files it doesn't work and all I get is a black…
0
votes
1 answer

How to attach UrhoSharp Surface to LinearLayout in ViewGroup class

I'm trying to add a UrohSharp Surface to a LinearLayout in a class inheriting from ViewGroup (to place in in the left hand corner of another view). Most examples showing UrhoSharp implemented in Android is done directly in the main activity like…
amosti
  • 75
  • 1
  • 6
0
votes
0 answers

iOS crashes in TestFlight release

Locally this does not happen but only in my test flight release. I have tried replicating this but to no avail, I've been working on this for 3 days now, I am going nowhere. Here is the Complete Log Edit: What does this mean? FB Logs
0
votes
1 answer

Urho3D Sharp DropDownList Popup issue

I am trying to create a DropDownList in Urho3D Sharp. For some reason unknown to me I cannot get the popup to appear from the DropDownList. Does anyone have any tips for creating drop downs in Urho3D Sharp? I have tried calling ShowPopup when the…
Travis Pettry
  • 1,220
  • 1
  • 14
  • 35
0
votes
1 answer

Urho Node Rotate Around

I am trying to rotate an object around a point in UrhoSharp. I have done a lot of learning on how Quaternions work but he node.RotateAround method dosn't seem to follow the rules. When w = 0 or PI I seem to get the correct rotation. However, if I…
Travis Pettry
  • 1,220
  • 1
  • 14
  • 35
0
votes
1 answer

how can i implement drag and drop in urho 3d view?

I have added 3d view objects using urhosharp for my xamarin uwp/ios/android project . The only event that work is touch event, but i also want to use drag and drop so that the objects can move to different locations within the 3D view. Any…
0
votes
0 answers

How to use UrhoSharp 3D Moving Imageview in xamarin forms

async void CreateScene() { Input.SubscribeToTouchEnd(OnTouched); //want add image view in UrhoSharp Surface for rotatable and 3D image var imageview = new Xamarin.Forms.Image { Source = "icon.", HeightRequest = 150, WidthRequest =…
Sandeep Singh
  • 81
  • 1
  • 11
0
votes
1 answer

No image texture on StaticModel

I have a very simply scene (camera, light set up as usual). I want to apply a simple image material over the model. If I use one of the convenience models like Sphere, the object renders with the material all right: var model =…
Gábor
  • 9,466
  • 3
  • 65
  • 79
0
votes
1 answer

Indoor Map Image loading with Texture2D view Issue in Xamarin.forms and UrhoSharp

I have a issue with UrhoSharp. I want to load a Indoor Map image with 2D texture. I create a scene with Octree(Urho Class)with Box Shape and it's comes in a 3d view. So, how can I achieve the same in 2D view any suggestion or demo will be so…