As the title says, Asphyre Sphinx has been updated to version 3.0.1.
In this update, DirectX 11 support has been added, which uses advanced fallback mechanisms for lower feature levels such as Direct3D 10.1, Direct3D 10.0 and even legacy Direct3D 9, in addition to Windows WARP highly optimized software device. This means that Asphyre powered applications using DirectX 11 will run on any system where DirectX 11 is installed no matter whether it has hardware support or not. This provider works with Embarcadero Delphi (either XE 2+ or any version from 2007 and upwards) and FreePascal/Lazarus. No external DLLs are required for this provider to work.
Also, 3D features that were available in earlier releases are now part of Asphyre Sphinx 3 too.
For more information and download links, you can visit official Asphyre Sphinx 3 web page. Alternatively, you can update your repository from the trunk.
Hi Lifepower, I get the following error when trying to compile the examples. Using Delphi 2010.
[DCC Error] MediaUtils.pas(319): E2254 Overloaded procedure 'ParseFloat' must be marked with the 'overload' directive
[DCC Error] MediaUtils.pas(121): E2065 Unsatisfied forward or external declaration: 'ParseFloat'
[DCC Fatal Error] AsphyreImages.pas(400): F2063 Could not compile used unit 'MediaUtils.pas'
Wake up from the dream and live your life to the full
Wizard, unless you have conflict with some older Asphyre package, it seems more like a compiler bug, as you can see that the mentioned procedure does have "overload" flag. Could you try to comment one of these functions and remove "overload" parameter?
The package was tested in Delphi 2007 and XE 2, so there is no reason why it shouldn't work with Delphi 2010.
It's time for another update. Asphyre Sphinx 3.0.2 has been released, which resolves minor aesthetic issues in DirectX 11 provider, fixes sleep recovery in DirectX 9 Ex (vista) provider and resolves minor timing problem. In addition, this release now features native Linux OpenGL provider that no longer depends on other packages thanks to code kindly provided by Andru, the developer of ZenGL.
Also, an alternative UI with its accompanying open-source WYSIWYG editor is now available called Tulip User Interface Library, kindly provided by Marcos Gomes. It uses latest language features of Delphi XE 2 and XE 3 and allows creating of a very good looking interfaces, while being also very easy to use.
Last edited by LP; 09-09-2012 at 09:27 PM. Reason: Typo in author name, sorry. :(
Okay, I just tried it with my Xubuntu 12.04 64bit. Version 3.0.1 worked fine. This is what I receive for all examples on the terminal (even after newly compiled):
None of the examples works now for me. I thought you might need to know this.The program 'Shapes' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
(Details: serial 418 error_code 8 request_code 135 minor_code 5)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
Seems this is a problem of NVIDIA blob(currently your videocard is GeForce 8600GT?) and initializing OpenGL context with custom options, when you use already created window with unknown visualinfo. Try to open XGLDevices.pas and replace line 168 with this one:
here main change is GLX_ALPHA_SIZE, 0Code:GLX_BLUE_SIZE, 8, GLX_ALPHA_SIZE, 0, GLX_DOUBLEBUFFER, GL_TRUE,
Last edited by Andru; 11-09-2012 at 07:42 PM.
Thanks Andru, that helped and now it works.
Thanks for reporting this, I'm going to change the source code to remove the alpha attribute.