[SALE 50% OFF] AltSDK: AltPaint + AltSketch + AltAssets + AltStudio (Frameworks, Editors..)

Hi,

Thanx, it will be very useful. Will waiting for it
Is any news about advanced code inspector? It will be nice to have several tools in one asset

Hi Alexander31,

Thank you for reminding. I’ll post recomendations in a day or two.
We are working not only on inspector, but on full AltStudio infrastructure. Inspector is just a part of AltStudio. It will be interesting! Coming soon

1 Like

Okay, thanx! Also another question: in above you said about future XAML support. Please tell more about it

Hi Alexander31,

We try to create AltGUI in 2 API ways:

  • Windows Forms like API - there are a wide variety useful WinForms applications that can be easy ported to AltGUI and used in Unity
  • Windows Presentation Foundation like API - because it’s more structured and task oriented

So we are working on XAML based UI decorations and behaviour to be more flexible and functional. And also it will be .NET 2.0 Subset!

Soon you’ll know more about features and can try it

1 Like

Thanx, it’s very interesting. Both known API for a one GUI tool is a something amazing. Can’t wait to try it

Hi Alexander31,

We try to create AltSDK more featurable and flexible, so we try to support the wide variety of useful interfaces. Hope it will be interesting. And comes with the ending of SALES time :wink:

1 Like

Super! And hope you didn’t forget about GDI+ to AltSketch porting recomendations

We’ve just acquired AltSDK, and differently from AltSketch, it compiles in web player mode, after I’d changed Cursor.visible to Screen.showCursor in AltGUIMonoBehaviour (We’re using Unity 4.6.6). The reason why we chose AltSketch was our need for a web player compatible integration of PdfSharp.

BUT there’s a handsome problem: PdfSharp doesn’t seem to work in webplayer mode. In the Demo scene it says: “Processing not yet available …”.
Is this simply due to the file-io-restrictions in web mode or due to some dll incompatibility?
When I simply copy the DoWork-section from the HelloWorld-example it crashes, both in standalone and in web mode, without any sensible error log.
So do you have any idea how we might get this running? Maybe I’ve overlooked something? Or can you give me any hint where to start to integrate it into our code?

Thanks for your replies in advance!

I have some questions:

Is there a demo version so we can try it on a project?
What are the difference between indie, indie pro and pro versions?
Does the code work on all platforms, android, iOS, windows and Mac?

Hi arkon,

  1. You can play with several Web Demos on AltSDK main website - you are wellcome.
    AltSDK Demo contains hundreds of examples of AltSDK in different ways of uses. There are several Unity Web Demos on AltSoftLab representing some of AltSDK features:
  • Unity UI Integration Web Demo

  • NGUI Integration Web Demo

  • Native Web Demo

  1. Read more about Full SDK & Unity SDK comparision on AltSoftLab. AltSDK Unity Edition is available on Unity Asset Store:
  1. AltSDK work on Web, Windows, Linux, Android. We are still in process on iOS. AltSDK hasn’t any external dependencies at all. Just only System assembly. All Unity integrations source code is included. But not all platforms .NET implementation is equal. iOS has some limitations that we try to find and solve. But AltSDK core consists of thousands of source codes, so it’s not easy. But we hardly working on it. So it coming very soon!

Hi nvf33,

  1. Old AltSketch Asset wasn’t multiplatform. In AltSDK all platform specifique functionality has been extracted into open source part. So in AltSDK AltSketch (& oll other AltSDK tools) became multiplatform. Thanks for Cursor issue, we’ll put it under defines in the next version.

  2. As you can see all PDFSharp demos source code is not defined in WebPlayer mode. It’s becouse of “simply due to the file-io-restrictions in web mode”.

  3. It’s strange error, because we have working PDFSharp already more than 2 years. Though we didn’t test it always. We will check this bug error before the next release.

  4. Though we use a lot of demos per each asset, the best way to use and also test some tools it’s to have source code of used tool. You have all AltAssets source code in Indie Advanced or Professional licenses. AltSDK is multiplatform and by default not depends on any graphics engine or any external dependencies. So it can be used and testet not only in Unity, but just as independent application. So you can create application for example in VS link to AltSketch, AltGUI, AltAssets (or AltAssets source code if you have) assemplies, include to application Integration code and just play with it and test. For this case it’s better to have not AltSDK Unity Edition License, but AltSDK Full Edition License. All about this you can read at our main site on ‘Buy’ page.

Hi Johnny,
thanks for your reply, good to know that the AltSDK (which we have) is supposed to be multiplatform. But could you please be more specific regarding the crash?
In the example the code looks like:

using System;
using Alt.GUI.PdfSharp.Drawing;
using Alt.GUI.PdfSharp.Pdf;
 public Example_HelloWorld(Alt.GUI.Temporary.Gwen.Control.Base parent) :
  base(parent, "Example_HelloWorld")
  {
  }

  protected override void OnLoad(EventArgs ea)
  {
  base.OnLoad(ea);
  }

  // This sample is the obligatory Hello World program.
  protected override void DoWork()
  {

   // Create a new PDF document
   PdfDocument document = new PdfDocument();
   document.Info.Title = "Created with PDFsharp";

  // Create an empty page
   PdfPage page = document.AddPage();

   // Get an XGraphics object for drawing
   XGraphics gfx = XGraphics.FromPdfPage(page);
  ...

When I copy the DoWork-Section into a separate function in a separate static function
like this

using Alt.GUI.PdfSharp.Drawing;
using Alt.GUI.PdfSharp.Pdf;
class PdfExporter
	{
		public static void TestPDF()
		{
			// Create a new PDF document
			PdfDocument document = new PdfDocument();
			document.Info.Title = "Created with PDFsharp";
			//// Create an empty page
			PdfPage page = document.AddPage();

			//// Get an XGraphics object for drawing
			XGraphics gfx = XGraphics.FromPdfPage(page);
                        ...

it crashes in line 14. Why is this? What is the specific use of the base class in the demo example? How should I integrate the pdf creation in a (ideally static) function to have it run?
Please let me know how this is intended to be done.
Thanks in advance.

Hi nvf33,

Thank you for your report. We’ll process it an the nearest time.

Hi developers,

In this topic we present the several sub assets of AltSDK that allows you to easy work with SVG. We took some of the very popular, powerful and widely used SVG libraries and made a hard work on it to port it to AltSDK, to oprimize it to in Unity using and made this using more friendly.
All these features available both for new Unity UI (uGUI) and NGUI developers. Just use it as any other visual controls. Also these features can be used without any GUI. For example you can use it to generate textures from SVG data, etc.

These libraries are:

  • SVG.NET
  • SVG Transformable Geometries
  • More tools coming soon…

Let’s view some dipper on these fine tools that was ported and adapted to AltSDK.

SVG.NET

SVG.NET is one of the most powerful and widelly used nextgen SVG libraries in the world at this time for the .NET framework. It has friendly API and examples. In AltSDK SVG can be rendered in Software and Hardware render mode.

Some SVG.NET screenshots are represented below. Look more in AltSoftLab Screenshots Gallery

AltGUI Unity UI Integration - SVG

AltGUI Unity NGUI Integration - SVG

SVG Transformable Geometries

SVG Transformable Geometries is a custom processing of SVG data by AltSketch tools. In AltSDK examples you can find SVG parser that reads SVG data from files and converts it to AltSketch vector data Geometries object. AltSketch has a several variety of vector data modifiers and processors. Some of them presented in AltSDK interactive examples.

Some screenshots are represented below. Look more in AltSoftLab Screenshots Gallery

AltGUI Unity UI Integration - Lens Effect SVG

AltSketch Unity Geometry Bilinear and Perspective Transform

AltSketch Unity SVG Outline

More tools coming soon…

At this time we are working on several other SVG tools and more Unity integration functionality. Follow the news.

Hi developers,

In this topic we present the several sub assets of AltSDK that allows you to bring interactive GIS functionality into your application. We took some of the very popular, powerful and widely used libraries and made a hard work on it to port it to AltSDK, to oprimize it to in Unity using and made this using more friendly.
All these features available both for new Unity UI (uGUI) and NGUI developers. Just use it as any other visual controls. Also these features can be used without any GUI.

These libraries are:

Let’s view some dipper on these fine tools that was ported and adapted to AltSDK.

GMap.NET

GMap.NET is great and Powerful .NET library. Enable use routing, geocoding, directions and maps from

  • Google
  • Yahoo
  • Bing
  • OpenStreetMap
  • ArcGIS
  • Pergo
  • SigPac
  • Yendux
  • Mapy.cz
  • Maps.lt
  • iKarte.lv
  • NearMap
  • OviMap
  • CloudMade
  • WikiMapia
  • MapQuest
  • etc.

In other words, it is a control for developers who want to bring maps to Unity UI.

It supports routing and geocoding, allows users to navigate to any coordinates, add markers, and more. You can choose which mode to run the program in, Server, Cache, or Server & Cache. It saves the maps as cache in your local drive so that it can load faster and save bandwidth. GMap.NET lets you explore maps and plan routes, run performance and network connection tests, export cache data, and more.

At the center of the map there is a cross, you can point it anywhere and then use the slider to zoom inside quickly. It also supports Export, Import, and Prefetch of Cache.

It also gives the .NET developer unlimited ability to extend it!

Simple interface with comprehensive options

The example UI is based on a normal window with a straightforward look that shows all available options. The maps are automatically loaded at startup, and you can easily explore them, zoom in and out, add a marker, as well as jump to a specific location by entering its coordinates.

Add markers, plan routes, change the map

It is possible to switch to another maps provider, hide the current marker or add extra ones, disable map dragging, put together a route, as well as to export and import cache files when it comes to routing and geocoding. Moreover, GMap.NET implements tools for viewing a vehicle or flight radar demo, as well as for testing performance and the TCP/IP connections.

Evaluation and conclusion

It had minimal impact on system performance, running on low CPU and RAM. All in all, this app features plenty of useful functions for viewing, planning and exporting maps and routes.

Interaction

  • Pan - Right mouse button

  • Zoom - Mouse wheel

  • Select & zoom to area while holding shift and dragging mouse, switching between maps keeps selected area in the center

Some GMap.NET screenshots are represented below. Look more in AltSoftLab Screenshots Gallery

AltGUI Unity UI Integration - GMap with UI

AltGUI Unity NGUI Integration - GMap

AltSketch Unity GMap.NET Online Big Map Maker

AltSketch NeoAxis GMap.NET and CombinedGeometry

AltSketch XNA MonoGame GMap.NET Interactive

AltSketch GMap.NET Demo - BingHybridMap

AltSketch GMap.NET Demo - OpenCycleMap

AltSketch GMap.NET Demo - GoogleHybridMap

AltSketch GMap.NET Demo - WikiMapiaMap

AltSketch GMap.NET Demo - OviTerrainMap

AltSketch GMap.NET Demo - YahooHybridMap

AltSketch GMap.NET Demo - ArcGISWorldStreetMap

AltSketch GMap.NET Demo - OpenCycleTransportMap

OxyPlot

OxyPlot is one of the most powerful and widelly used nextgen interactive plotting libraries in the world at this time for the .NET framework. It has friendly API and hundreds of examples. In AltSDK OxyPlot can be rendered in Software and Hardware render mode. A short features overview presented below:

Interaction

  • Pan - Right mouse button

  • Zoom - Mouse wheel

  • Zoom by rectangle - Ctrl+Right mouse button

  • Reset - Right mouse button double-click

  • Show ‘tracker’ - Left mouse button

  • Reset axes

Some OxyPlot screenshots are represented below. Look more in AltSoftLab Screenshots Gallery
AltGUI Unity UI Integration - OxyPlot Map

AltSketch Windows Phone OxyPlot OpenStreet Map

AltSketch OxyPlot - Tile Map Annotation (StatKart)

AltSketch HowTo

The base drawing tool of AltSDK is AltSketch Vector Graphics Library. In most cases of API it’s like most widely used in the .NET world MS graphics GDI+ (.NET System.Drawing namespace)

So you can use a lot of web doucumentation tutorials and books related to System.Drawing namespace. Because AltSketch has the same API. For example such info resources are:

http://csharpcomputing.com/Tutorials/Lesson13.htm
http://www.dreamincode.net/forums/topic/67275-the-wonders-of-systemdrawinggraphics/

Of course AltSDK contains handreds of examples you can deep look and play with.

Brief info HowTo port System.Drawing code to AltSketch:

AltSketch uses double arithmetic instead of float, because it has better precision. For example 0.5 in float is not 0.5. It’s 0.499999… And you must use float == 0.5f because float == 0.5 is not working. But maybe some compilers have good results. You can read a lot of web resources related to this task.
And like in WPF we use double instead of float by default. Point, Size, Rect are double (not int). For ‘int’ AltSketch uses PointI, SizeI, RectI

In porting process do by such way:

  • System.Drawing, System.Drawing.Text, System.Drawing.Imaging, System.Drawing.Drawing2D → Alt.Sketch

  • Use full HorizontalAlignment (VerticalAlignment ) enum with full path Alt.GUI.HorizontalAlignment because HorizontalAlignment property exists (to prevent compiler names conflicts)

  • Point → PointI

  • Size → SizeI

  • Rectangle → RectI

  • PointF → Point (double)

  • SizeF → Size (double)

  • RectangleF → Rect (double)

  • SolidBrush → SolidColorBrush

  • Image → ImageSource. Image.Width → ImageSource.PixelWidth. Image.Height → ImageSource.PixelHeight. Image.Size → ImageSource.PixelSize.

  • BitmapData.Scan0 is byte[ ]

  • Image.FromFile (.FromStream, etc.) → Bitmap.FromFile (.FromStream, etc.)

  • Icon.FromHandle(bitmap.GetHicon()) → Icon.FormImage(bitmap)

  • System.Windows.Forms → Alt.GUI

  • Double arithmetics (all float → double). Alt.GUI Control Location, Size, Bounds (etc.) – are double (not int)

  • CheckBox.Checked → CheckBox.IsChecked. CheckButton.Checked → CheckButton.IsChecked. RadioButton.Checked → RadioButton.IsChecked

  • Application – object. Make it public to run in AltOS.

Work on AltStudio and documentation in progress

Hi dear community!

Our website and mail was unavailable for a short time because of technical issues. All is okay now, so you are welcome!

Hi there,

I bought AltSDK Pro and played for a some days with it. It’s amazing asset that I tried to find many years. I think you have not nice advertising, because I knowed about AltSDK by pure accident on one forum, and then I found it here. I think there are too many people will be happy if they’ll know it. So you must try to make more advertising.

I have some questions:

  1. As I understand you have different triangulation for graphics mode AntiAliasing and Solid mode. It’s an internal AltSketch procedure (as I see). What is difference in math and results?
  2. Do you use caches for triangulations and font generation?
  3. How do you find system fonts?
  4. Do you have plans of AltSketch evolution?

Thanks,
John

Hi JohnBro,

Yes, thank you for advertising suggestions. We’ll do it with the next much more powerful release after discounts became off :wink:

You are welcome with questions and discussions:

  1. Yes, we use 2 different and highly optimized universal triangulations: just simple triangulation for solid (not smoothing) mode and AA-textured triangulation to make borders smooth. AA-triangulation uses some more math of course and as result it generates not only triangulated geometry, but also tcoords for a special AA-texture
  2. Yes, we use a lot of smart caches for a wide variety math and graphics operations to decrease equal reps in each frame
  3. It’s very easy - just look at Assets\AltSDK_Integration\PCLTools\PCLTools.cs LoadSystemFonts() procedure
  4. Yes of course. AltSketch is the most base layer for a whole AltSDK platform independent graphics. We’ll make optimizations in math, caches, font operations, extend API, batching, path filling and too many more different approaches.
1 Like