All Projects → shamsdev → Davinci

shamsdev / Davinci

Licence: mit
An esay-to-use image downloading and caching library for Unity

Programming Languages

csharp
926 projects

Projects that are alternatives of or similar to Davinci

4dviewstest
4DViews volumetric video + Unity
Stars: ✭ 71 (-4.05%)
Mutual labels:  unity, unity3d
Nexplayer unity plugin
Stream videos in HLS & DASH with Widevine DRM using NexPlayer Video Streaming Player SDK for Unity on Android & iOS devices
Stars: ✭ 73 (-1.35%)
Mutual labels:  unity, unity3d
3 Modifiers And Abilities
Customise character abilities, weapons, characters and enemies. This includes multiple damage types, modifiers, sounds, animations. By the end you can create your core combat experience. (REF MA_RPG) http://gdev.tv/rpggithub
Stars: ✭ 64 (-13.51%)
Mutual labels:  unity, unity3d
Ksframework
QQ Group:538722494,KSFramework = KEngine + SLua(or xLua) , Unity3D Framework/Toolsets focus on hot reload
Stars: ✭ 1,119 (+1412.16%)
Mutual labels:  unity, unity3d
3d Game Shaders For Beginners
🎮 A step-by-step guide to implementing SSAO, depth of field, lighting, normal mapping, and more for your 3D game.
Stars: ✭ 11,698 (+15708.11%)
Mutual labels:  unity, unity3d
Unity Scene Query
A library to traverse and query the Unity scene to find particular objects, uses something similar to CSS selectors to identify game objects.
Stars: ✭ 63 (-14.86%)
Mutual labels:  unity, unity3d
Learning Unity Ecs 2
A bunch of small Unity projects where I explore and learn Unity's new ECS and Job System. Updated for the new API.
Stars: ✭ 65 (-12.16%)
Mutual labels:  unity, unity3d
Unityasync
Task and Async Utility Package for Unity. Start co-routines from anywhere.
Stars: ✭ 58 (-21.62%)
Mutual labels:  unity, unity3d
Unimic
A wrapper for Unity's Microphone class.
Stars: ✭ 65 (-12.16%)
Mutual labels:  unity, unity3d
Sentry Unity
Sentry SDK for Unity3d
Stars: ✭ 66 (-10.81%)
Mutual labels:  unity, unity3d
Unity Hierarchy Folders
Specialized folder objects for Unity Hierarchy.
Stars: ✭ 62 (-16.22%)
Mutual labels:  unity, unity3d
Extosc
extOSC is a tool dedicated to simplify creation of applications in Unity with OSC protocol usage.
Stars: ✭ 69 (-6.76%)
Mutual labels:  unity, unity3d
Erbium
🤺Third Person Character Controller for unity🤺
Stars: ✭ 61 (-17.57%)
Mutual labels:  unity, unity3d
Awesome Unity Open Source On Github
A categorized collection of awesome Unity open source on GitHub (800+)
Stars: ✭ 1,124 (+1418.92%)
Mutual labels:  unity, unity3d
Unity3d Ai And Procedural Generation Framework
Unity3D AI and Procedural Generation Framework.
Stars: ✭ 58 (-21.62%)
Mutual labels:  unity, unity3d
09 Zombierunner Original
First person shooter with Unity terrain and AI pathfinding (http://gdev.tv/cudgithub)
Stars: ✭ 64 (-13.51%)
Mutual labels:  unity, unity3d
Voxelframework
An awesome Voxel framework for Unity (Game Engine)
Stars: ✭ 57 (-22.97%)
Mutual labels:  unity, unity3d
Nnao
Neural Network Ambien Occlusion based on http://theorangeduck.com/page/neural-network-ambient-occlusion
Stars: ✭ 57 (-22.97%)
Mutual labels:  unity, unity3d
Drawmeshwithmotionvectors
An example showing how to generate per-object motion vectors when using DrawMesh.
Stars: ✭ 65 (-12.16%)
Mutual labels:  unity, unity3d
Vfxgraphmodeling
Procedural modeling with Unity VFX Graph
Stars: ✭ 68 (-8.11%)
Mutual labels:  unity, unity3d

Davinci

🖼 A powerful, esay-to-use image downloading and caching library for Unity in Run-Time! 😎

Simple usage - Single line of code and ready to go!

Davinci.get().load(imageUrl).into(image).start();

🔴 Update : Support for any types of Renderer component has been added. now we can download 3D model's texture in run-time!

Features

Customizable image placeholders

Davinci.get()
    .load(url)
    .setLoadingPlaceholder(loadingTexture)
    .setErrorPlaceholder(errorTexture)
    .into(image)
    .start();

Loading Fade Time

Davinci.get()
    .load(url)
    .setFadeTime(2) // 0 for disable fading
    .into(image)
    .start();

Fully access to operation progress and callbacks

Davinci.get()
    .load(imageUrl)
    .into(image)
    .withStartAction(() =>
    {
        Debug.Log("Download has been started.");
    })
    .withDownloadProgressChangedAction((progress) =>
    {
        Debug.Log("Download progress: " + progress);
    })
    .withDownloadedAction(() =>
    {
        Debug.Log("Download has been completed.");
    })
    .withLoadedAction(() =>
    {
        Debug.Log("Image has been loaded.");
    })
    .withErrorAction((error) =>
    {
        Debug.Log("Got error : " + error);
    })
    .withEndAction(() =>
    {
        Debug.Log("Operation has been finished.");
    })
    .start();

Caching Control

You can simply cache downloaded images and Davinci will not download it next time from same url. It's cool! isn't it? 😁 (Default is True)

Davinci.get().load(imageUrl).setCached(true).into(image).start();

Also you can clear Davinci cached files:

//For a certain file
Davinci.CleareCache(imageUrl);

//For all files
Davinci.ClearAllCachedFiles();

Also:

  • Supports Unity UI Image Component
  • Compatible with all platforms and unity versions.

Supporting Platforms

  • Standalone Builds
  • Android
  • iOS
  • WebGl

Usage

Clone the project. Open Davinci/Assets in with unity or import UnityPackage to your existing project.

You can see lots of examples in Assets/Examples

Please see Wiki page for more information and examples

Development

Want to contribute? Great!

Make a change in your file and instantaneously see your updates!

TODO

  • Add support for textures ✅
  • Improvements

License

Davinci is available under the MIT license. See the LICENSE file for more info.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].