Exploring UrhoSharp 3D with Xamarin Workbooks

Play Exploring UrhoSharp 3D with Xamarin Workbooks
Sign in to queue

Description

Charles Petzold shows you how to build a 3D app from the ground up with UrhoSharp and Xamarin Workbooks. UrhoSharp is a powerful, high performance 3D graphics engine suitable for games, animation, and data visualization. UrhoSharp and Xamarin Workbooks give developers a streamlined way to get started with 3D graphics programming quickly.
 
Regardless whether you're using UrhoSharp to target Android, iOS, macOS, Xamarin.Forms, or Windows, you can use Workbooks to develop and perfect your UrhoSharp code. The Workbooks approach brings an interactive immediacy to 3D graphics that inspires experimentation, exploration, and discovery.
 
Along the way he'll reveal techniques for:
• Algorithmically deriving 3D vertices
• Using vectors and cross products to build surfaces
• Applying transforms and textures
• Importing predefined 3D models
• Animating everything
 

Day:

1

Embed

Download

Download this episode

Download captions

The Discussion

  • User profile image
    Rod Mac

    Just had a quick look at this article following an email from the VS Team. It sounds like a very compelling graphics engine, but a couple of Q's:

    1. will this handle 2D and controls e.g. a radio button?
    2. essentially it does away with XAML and can be written in C# (which is nice because markup is surely less efficient)?
    3. can it be cross-compiled for WebAssembly/HTML output?

    Thank you.

  • User profile image
    I3DB

    I had some trouble following along with this, as there is little info on what version of Urho are working and how to get workbooks setup so that it is working.

    1. I had to open an existing workbook using Notepad that was referencing version 1.5.22 of UrhoSharp, copied and edited the new .workbook I'd just created with Notepad, closed and opened with the Workbooks app as a .Net Console app, then let the package manager get it. 

    Note: using the more recent version 1.9.67 (most recent as of date of this post) throws an error, for instance on setting materials can't find an entry point in mono-holourho.dll or missing routines with Material class.

     

    2. Edit "Urho.dll" to be just "Urho"

     

    3. A folder named 'Data' must be created in your folder structure, I created one at same level as the .workbook file. Then realized I needed the Data and Images from https://github.com/xamarin/Workbooks/tree/master/graphics/urhosharp/mobius-strip-speedway/MobiusStripSpeedway.workbook and this gives the whole.

Add Your 2 Cents