Home  
Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
76 user(s) are online (8 user(s) are browsing News)

Members: 1
Guests: 75

TearsOfMe, more...
Support us!
Recent OS4 Files
OS4Depot.net
Recent Replied Topics
Topic Replies Last Post
AmigaOS4 SDL2 [1][2] ... [14][15][16][17] 330 (77459) TearsOfMe Today 15:01
AmigaOS4 SDL1 open issues [1][2] 28 (2303) kas1e Today 7:46
AmigaOS4 Fresh version of Grafx2 16 (614) kas1e Today 7:42
OS4Depot feedback Uploader is back. 5 (244) orgin Today 5:10
AmigaOS4 Project StartFighter 1.7 3 (254) AmigaBlitter Yesterday 8:15
AmigaOS4 Embed video in Wokbench screen? 9 (270) TSK 1/15 21:46
AmigaOS4 MickJT-MPlayer [1][2][3][4][5] 86 (4317) MickJT 1/15 8:10
AmigaOS4 SMTube : new version on OS4Depot [1][2] ... [15][16][17][18] 345 (92882) zzd10h 1/14 19:54
AmigaOS4 GPMark [1][2] 32 (1118) broadblues 1/14 18:57
OS4Depot feedback Crashlogs silently refuses to add a (very big) log 3 (154) Raziel 1/14 11:17
AmigaOS4 anyone else getting a GrimReaper when using the latest SimpleMail update? 5 (237) K-L 1/12 19:06
AmigaOS4 zTools on AMIStore : updates and suggestions thread [1][2] ... [5][6][7][8] 159 (54608) zzd10h 1/12 17:40
AmigaOS4 Benchmarking Time for 2018 ! 12 (645) Tuxedo 1/11 23:00
AmigaOS4 Building Cross-Compiling adtools for Amiga OS4 PowerPC (ppc) with Cygwin/Bash on Ubuntu on Windows [1][2] ... [4][5][6][7] 125 (10251) stonecracker 1/11 14:53
Amiga General Forum Amiga North Thames' "Xmas" meeting this Sunday! 0 (57) ChrisH 1/10 20:31
[View all topics]  [Forum Settings]
Software News : RebelSDL 1.0 released
Posted by softwarefailure on 2017/9/10 11:08:22 (195 reads) News by the same author
Software News

Summer's over and Airsoft Softwair, the hardest working men in code business, are back on your screen with a brand-new plugin for Hollywood: RebelSDL. RebelSDL is a plugin for Hollywood that allows you to use SDL (Simple DirectMedia Layer) from Hollywood.

Resized Image
This makes it possible to write scripts that utilize the host system's graphics hardware to create high-performance, butter-smooth 2D animation that is produced completely in hardware by the GPU of your graphics board. This leads to a huge performance boost over the classic Hollywood graphics API which is mostly implemented in software for maximum portability and compatibility. Especially systems with slower CPUs (like the Raspberry Pi) will benefit greatly from hardware-accelerated drawing, scaling, and transformation offered by SDL.

SDL is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D. It is used by video playback software, emulators, and popular games. More information about SDL can be obtained from http://www.libsdl.org. You can find good tutorials about learning SDL all over the web.

RebelSDL transparently replaces Hollywood's inbuilt display handler with its own display handler managed by SDL. Whenever RebelSDL is activated, Hollywood displays are automatically mapped to SDL windows and hardware brushes are mapped directly to SDL textures so that they can be drawn, scaled, and transformed in an extremely quick way on all supported systems. This is especially useful on Windows, Mac OS X, and Linux because Hollywood doesn't support hardware double buffers and hardware brushes on these platforms by default. With RebelSDL, however, hardware double buffers and hardware brushes can be used on these platforms now too. So RebelSDL can also act as a helper plugin here which adds this functionality to Hollywood without having you write a single line of SDL code to utilize it!

On top of that, RebelSDL offers wrapper functions for some useful commands of the SDL API, for example RebelSDL allows you to call SDL's joystick and game controller functions which are much more flexible than Hollywood's inbuilt joystick library. RebelSDL also allows you to access Hollywood hardware brushes as SDL textures and modify their properties via some dedicated SDL calls exposed by RebelSDL.

Finally, RebelSDL also replaces Hollywood's inbuilt audio driver with the audio driver offered by SDL. In contrast to the graphics driver SDL's audio driver probably doesn't have any advantage over Hollywood's inbuilt audio driver but by using it RebelSDL will turn your program into a complete SDL application which doesn't only use SDL for graphics output but also for audio output.

RebelSDL utilizes the new display adapter plugin interface introduced with Hollywood 6.0. It was actually written as a test case 3 years ago when Hollywood 6.0's display and audio adapter plugin interfaces were designed. Because RebelSDL uses these new Hollywood 6 plugin interfaces it will not work with any older versions of Hollywood. It requires at least Hollywood 6.0. Whenever RebelSDL is activated, all graphics and audio output will automatically be routed through SDL. To benefit from hardware-accelered drawing, however, Hollywood scripts have to follow some rules as described in the manual.

RebelSDL comes with extensive documentation in various formats like PDF, HTML, AmigaGuide, and CHM that contains information about how to use this plugin. The manual is also available online for quick access. On top of that, many example scripts are included in the distribution archive to get you started really quickly.

All of this makes RebelSDL the ultimate scripting experience for all you SDL rebels by combining the best of both worlds into one powerful plugin: Hollywood's extensive and convenient multimedia function set and SDL's raw graphics power!

Amiga users please note that currently only MorphOS is supported. There are no SDL2 ports for OS3 and AROS and the OS4 version of RebelSDL is currently on hold due to technical difficulties. The MorphOS version is also rather unstable but this is because MorphOS' SDL2 port seems to be in alpha state.

RebelSDL is now available for free download from the official Hollywood portal at http://www.hollywood-mal.com.

This release was brought to you by Airsoft Softwair, the hardest working men in code business.

Printer Friendly Page Send this Story to a Friend Create a PDF from the article
The comments are owned by the author. We aren't responsible for their content.
Author Thread
General
Site sponsors
Advertise Here

Site statistics
Registered members
  1375
Logged in last:
  24 hours, 52
  7 days, 95
  30 days, 147
Top Posters
1 kas1e   kas1e 4226
2 ChrisH   ChrisH 3500
3 Chris   Chris 3183
4 orgin   orgin 3112
5 samo79   samo79 3001
6 Raziel   Raziel 2930
7 LiveForIt   LiveForIt 2654
8 Antique   Antique 2462
9 328gts   328gts 2214
10 Mikey_C   Mikey_C 2063
New Members
SPeCTRo88   SPeCTRo88 01/06/2018
white   white 01/04/2018
Yardbird_1920   Yardbird_1920 01/01/2018
A__P   A__P 11/27/2017
Tijatjj   Tijatjj 11/25/2017
Skateman   Skateman 10/28/2017
cjdobs   cjdobs 10/14/2017
MDW   MDW 10/05/2017
m1nuto   m1nuto 09/27/2017
TheGrayOne   TheGrayOne 09/23/2017
Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project