GithubHelp home page GithubHelp logo

neil3d / uanimatedtexture5 Goto Github PK

View Code? Open in Web Editor NEW
88.0 88.0 21.0 8.08 MB

Import GIF/WebP animated image as a new AnimatedTexture2D asset type.

License: MIT License

C# 0.13% C++ 1.64% C 86.78% Shell 0.01% Makefile 11.43% Batchfile 0.01%
ue5-plugin unreal

uanimatedtexture5's Introduction

The best way to predict the future is to invent it.
— Alan Kay

You cannot read mathematics the way you read a novel. If you zip through a page in less than an hour, you are probably going too fast.
— Sheldon Axler, Mathematics Department, San Francisco State University

Knowledge is a rare thing – you gain by giving it away.
— Ivan Sutherland

As technology advances, the rendering time remains constant.
— Jim Blinn

GPUs are the only type of parallel processor that has ever seen widespread success,...because developers generally don’t know they are parallel!
Matt Pharr

uanimatedtexture5's People

Contributors

electroball09 avatar hephaestusowl avatar irotpigs avatar neil3d avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

uanimatedtexture5's Issues

GIFs/WebP textures don't actually emit light with Lumen

Hello!
So I opened your "UAnimatedTexture5-master" test project that you have provided in UE 5.0.2 and created a new empty level in there, (no light, pitch black), made a plane and a sphere, sphere sitting on top of the plane. Drag and drop any GIF/Webp from your project onto the sphere to create material, plug the texture into emissive and crank the value up. No matter how bright I make it, it doesn't actually light the scene.

With Lumen in UE5, emissive materials actually cast the shadow so if I replace your GIFs/WebP files with any random static jpg/png file in the same material, the sphere now actually lights up the plane meaning Lumen is working and Emissives are casting light otherwise, they just don't do it with animating GIF/Webp files in general.

If I am mistaken or missing something, please do let me know but if it doesn't work on your end as well, I am guessing its a bug. Hoping to hear from you regardless.

Thanks

Indy.

Cant compile with 5.1 c++ project

The plugin work ok when try open in blueprint project
but when add c++ it need to rebuild from source
So I try rebuild from source
by this method
https://www.youtube.com/watch?v=sC0gnfYzFzU
but it fail with this log

[120/120] Compile Module.AnimatedTexture.cpp
G:\Plugin_51\AnimatedTexturePluginNew\HostProject\Plugins\AnimatedTexturePlugin\Source\AnimatedTexture\Private\AnimatedTexture2D.cpp(132): warning C4996: 'UTexture::Resource': Use GetResource() / SetResource() accessors instead. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.
G:\Plugin_51\AnimatedTexturePluginNew\HostProject\Plugins\AnimatedTexturePlugin\Source\AnimatedTexture\Private\AnimatedTextureResource.cpp(77): warning C4996: 'RHICreateTexture2D': FRHITexture2D is deprecated, please use RHICreateTexture(const FRHITextureCreateDesc&). Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.
Total time in Parallel executor: 30.63 seconds
Total execution time: 34.54 seconds
Took 34.6220711s to run dotnet.exe, ExitCode=0
ERROR: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'startIndex')

the rest

        at System.Globalization.CompareInfo.IndexOf(String source, String value, Int32 startIndex, Int32 count, CompareOptions options)
         at System.String.IndexOf(String value, Int32 startIndex, Int32 count, StringComparison comparisonType)
         at EpicGames.Core.FileFilter.AddRule(String pattern, FileFilterType type) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\Shared\EpicGames.Core\FileFilter.cs:line 322
         at EpicGames.Core.FileFilter.AddRuleForFile(FileReference file, DirectoryReference baseDirectory, FileFilterType type) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\Shared\EpicGames.Core\FileFilter.cs:line 179
         at BuildPlugin.FilterPluginFiles(FileReference PluginFile, IEnumerable`1 BuildProducts, IEnumerable`1 TargetPlatforms) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\BuildPluginCommand.Automation.cs:line 426
         at BuildPlugin.PackagePlugin(FileReference SourcePluginFile, IEnumerable`1 BuildProducts, DirectoryReference TargetDir, Boolean bUnversioned, IEnumerable`1 TargetPlatforms) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\BuildPluginCommand.Automation.cs:line 390
         at BuildPlugin.ExecuteBuild() in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\BuildPluginCommand.Automation.cs:line 124
         at AutomationTool.BuildCommand.Execute() in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:line 344
         at AutomationTool.BuildCommand.ExecuteAsync() in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:line 353
         at AutomationTool.Automation.ExecuteAsync(List`1 CommandsToExecute, Dictionary`2 Commands) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 257
         at AutomationTool.Automation.ProcessAsync(ParsedCommandLine AutomationToolCommandLine, StartupTraceListener StartupListener, HashSet`1 ScriptModuleAssemblies) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 156
      (see C:\Users\pazhentai\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+UE_5.1\Log.txt for full exception trace)
AutomationTool executed for 0h 3m 50s
AutomationTool exiting with ExitCode=1 (Error_Unknown)
BUILD FAILED

Runtime GIF and Image loading

Hi @neil3d

I recently added runtime GIF loading support to my plugin (RuntimeImageLoader). I hope you will support my development. Maybe update Readme of this plugin so that people can use the working plugin for 5.0-5.3 without any issues?

Compiling Error on UE 5.2

I'm receiving the following error when I try to rebuild my UE 5.2 project in Visual Studio with the plugin:

Plugins\AnimatedTexturePlugin\Source\AnimatedTexture\Private\AnimatedTexture2D.cpp(132): warning C4996: 'UTexture::Resource': Use GetResource() / SetResource() accessors instead. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.

Any guidance would be greatly appreciated. Thanks!

Official UE5 final build recompiling

Hey Neil!

Indy here, posting the same message that I sent on email in the hopes of getting your attention.
Me and Epic games were hoping if you could recompile the GIF Importer for the official UE5 build that was recently released. We really need your help with making the tool UE5 compatible. Please do kindly let me know if you end up seeing this message or my email.

Thanks!

Indy.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.