Custom UI mesh to convert mdl file format into UIBatch and render it using custom shaders in UI render cycle.
Simplest way to map it:
- start with a cylinder model.
- remove top and bottom caps.
- UV map the model using cylinderical mapping.
- select the verts on top of the cylinder and scale in xyz and bring them closer to a desired diameter.
- select all verts on top and bottom and scale in y (z in some modeling tool but vertically) and flatten to a disk.
I had trouble getting Release build to display the UIMesh properly. Resolved by adding optimization pragma for _WIN32 in UIMesh.cpp. You don't have to touch any compiler options and shouldn't have any issues. But, let me know if you do.
JTippetts for his Diablo 3 Resource Bubble resource. His resource is the best looking thing in this demo. His resource can be found here - https://github.com/JTippetts/D3ResourceBubbles
Simon Schreibt for his plethora of VFX resources. The Diablo 3 Bubble and the Rime Fire VFX blog can be found at https://simonschreibt.de/
To build it, unzip/drop the repository into your Urho3D/ folder and build it the same way as you'd build the default Samples that come with Urho3D. Built with Urho3D 1.7 tag.
The MIT License (MIT)