3 Days Ago
Add TextureGenerator boilerplate TextureControlWidget poc Fix NRE in SpriteRenderer when texture is null TextureControlWidget creates a child ResourceControlWidget instead of trying to be one Draw texture preview Standardize internal way to async replace placeholder textures Add Sandbox.Utility.ForAsync TextureGenerators are async Add IPopupEditor<T>, EditorUtility.OpenControlSheet looks for this interface when creating a popup Rename ControlSheetPopup to PopupEditor, make more modular so we can override important bits Add TextureEditorPopup Clean up TextureControlWidget Add Color.Rgba16 (half based color) Add Bitmap class More bitmap stuff Bitmap draw and bitmap pen Bitmap drawing fixes Bitmap clone, IDisposable, IValid Wrap IResourceCompilerContext Find "$compiler" in resource json and launch compiler Add more ResourceCompiler functionality Managed can override compiling of any resource Add Texture.GetBitmap Simple texture compiling from managed Add Bitmap.ToFormat( ImageFormat format ) Add TextureBuilder.WithMips() - auto mip count Bitmap.ToTexture supports mipmaps ResourceCompiler.Compile is async (but we have to run it syncronously) ResourceCompiler,. ResourceCompilerContext are in Engine Add transient filesystem Add Texture.IsError Compile embedded textures to transient folder Double height texturcontrolwidget Remove debug Add Bitmap.DrawText Clean up Lock FontManager cache when accessing Refactor Generated resources get weak cached in memory for re-use Cleanup floatbitmap, add LoadFromInMemoryTGA Load Bitmap.CreateFromBytes supports tga Better tooltips on TextureControlWidget Don't support mipmaps if npot (until we figure out how/why) Create Bitmap.Filters.cs Bitmap supports psd loading Fix a bunch of bitmap filters Add Margin.IsNearlyZero Fix blur/sharpen thinking the edge of the bitmap is the end Control widget tweaks Pass ResourceCompiler in ResourceGenerator options, allowing us to add references Fix asset picker ignoring AdditionalTypes Move ColorTextureGenerator Move RandomTextureGenerator to engine, allow normals creation Add Widget.GetDescendants<T> Expose OpenColorPopup on ColorControlWidget Add [TextureImagePath] - allows selecting an image or a texture Don't cache resource if hash changed while generating Expose CreateEmbeddedResource on TextureResource Bitmap.Rotate resizes the texture TextureControlWidget has shortcut buttons for selecting a file, or color Add bitmap SVG loader Return white for default colors, instead of transparent Add MainThread.Wait() Add EngineFileSystem.Mounted (!) Create TextTextureGenerator.cs Create RadialGradientTextureGenerator.cs Create LinearGradientTextureGenerator.cs Create ImageFileTextureGenerator.cs Expose Svg texture generator Expose TypeDescription.Order TextTextureGenerator tweaks Fix warnings and errors