Remember me

Lost Password?

Register now!
Who's Online
57 user(s) are online (4 user(s) are browsing News)

Members: 1
Guests: 56

musashi5150, more...
Support us!
Recent OS4 Files
Recent Replied Topics
Topic Replies Last Post
AmigaOS4 GL4ES: another OpenGL over OpenGLES2 emulation - some tech. info and porting progress [1][2] ... [7][8][9][10] 196 (12460) Daytona675x Today 4:50
AmigaOS4 Movie Collectors Database 7 (213) gurus2000 Yesterday 18:43
Amiga Emulation RunInUAE r8 beta 4 (PPC JIT v1.0.0) [1][2][3] 50 (19548) outrun1978 Yesterday 15:59
AmigaOS4 How to use sgit? 6 (246) salass00 3/17 20:25
AmigaOS4 SDL1 open issues [1][2] ... [5][6][7][8] 141 (8375) Capehill 3/17 19:43
AmigaOS4 Can we use any C++11 features with the latest GCC? 3 (199) Hans 3/17 14:40
AmigaOS4 SDL2 [1][2] ... [19][20][21][22] 431 (90154) Capehill 3/17 10:16
AmigaOS4 Warzone 2100 Tutorial on AmigaOS4.1FE 5 (400) Younghippie 3/17 8:46
Odyssey OdysseyLauncher2 released [1][2][3] 43 (11240) Lio 3/16 21:52
AmigaOS4 Tower57 AmigaOS4 version out! [1][2] 24 (1286) Thematic 3/16 18:18
AmigaOS4 BOH ADVANCE Physical Copy and BOH Deluxe Box 2 (139) saimo 3/16 13:16
AmigaOS4 Simplemail 0.38 error Sending 2 (201) atom 3/14 18:13
AmigaOS4 AWeb 3.5.12 - AmiSSL 4.2 support 16 (748) white 3/14 6:08
AmigaOS4 yt.nsrx and netsurf beta 4318 7 (512) white 3/13 15:08
AmigaOS4 Strange crash [1][2] 21 (686) Raziel 3/10 18:56
[View all topics]  [Forum Settings]
Software News : RebelSDL 1.0 released
Posted by softwarefailure on 2017/9/10 11:08:22 (238 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
Site sponsors
Advertise Here

Site statistics
Registered members
Logged in last:
  24 hours, 56
  7 days, 97
  30 days, 146
Top Posters
1 kas1e   kas1e 4464
2 ChrisH   ChrisH 3508
3 Chris   Chris 3195
4 orgin   orgin 3116
5 samo79   samo79 3017
6 Raziel   Raziel 2959
7 LiveForIt   LiveForIt 2676
8 Antique   Antique 2462
9 328gts   328gts 2229
10 Mikey_C   Mikey_C 2064
New Members
flash   flash 03/01/2018
Lord76   Lord76 03/01/2018
a2x   a2x 02/26/2018
icbrkr   icbrkr 02/24/2018
shift838   shift838 02/23/2018
Lord   Lord 02/23/2018
Some-E   Some-E 02/20/2018
remotenemesis   remotenemesis 01/20/2018
dooz   dooz 01/16/2018
frederick   frederick 01/14/2018
Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project