OS4 DepotLogo by DBAlex 
(anonymous IP: 54.145.51.250,1139) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 
 Categories

   o Audio (328)
   o Datatype (47)
   o Demo (180)
   o Development (529)
   o Document (21)
   o Driver (87)
   o Emulation (141)
   o Game (852)
   o Graphics (457)
   o Library (88)
   o Network (200)
   o Office (56)
   o Utility (804)
   o Video (60)

Total files: 3850

Full index file. Download
Recent index file. Download




 Links

  Amigans.net
  OpenAmiga
  Aminet
  IntuitionBase


Support the site


 Readme for:  Library » Hollywood » hwp_plananarama.lha

Hwp_Plananarama

Description: Hollywood plugin for planar screen
Download: hwp_plananarama.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 48kb
Version: 1.0
Date: 12 Jan 16
Author: andreas@airsoftsoftwair.de (Andreas Falkenhahn)
Submitter: uploader
Homepage: http://www.hollywood-mal.com/
Requirements: Amiga with ECS/AGA screens
Category: library/hollywood
License: Other
Distribute: yes
Min OS Version: 4.0
FileID: 9691
 
Comments: 0
Snapshots: 0
Downloads: 71  (Current version)
71  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

Show comments Show snapshots Show content Show crashlogs Replace file 
Plananarama
===========

The Plananarama plugin allows Hollywood to run on planar (palette-based)
screens. This finally
makes it possible to run Hollywood scripts on plain AGA or ECS systems with no
graphics board
installed - for the first time since Hollywood 1.93 (released in March 2005)!
Starting with
version 2.0, Hollywood required CyberGraphX or Picasso96 to run. Since then,
many people have
asked for a revival of Hollywood's planar engine, so here it is, a real blast
from the past!
Thanks to Hollywood 6's greatly extended plugin API this feature could be
implemented
completely in plugin space. Once Plananarama is installed, all Hollywood scripts
will magically
run on palette screens again! All resolutions are supported - from 8-bit LowRes
to 1-bit
productivity SuperHighRes Interlace.

This plugin was first created during the development of Hollywood 6.0 a
proof-of-concept for
the flexibility of Hollywood 6.0's powerful display and bitmap adapters. This
plugin completely
replaces Hollywood's default display adapter and installs a custom one that is
able to run on
planar screens. 


Requirements
============

This plugin requires at least Hollywood 6.0 since it uses the display and bitmap
adapter APIs
introduced with Hollywood 6.0.

Additionally, there are the following requirements:

- guigfx.library
- render.library (*)
- FBlit (**)
- some fast memory for FBlit

(*) Note that render.library is available in two flavours: The latest version is
v40.8. It is a
C port of the original render.library which was written in 68k assembler. The
assembler version
of render.library is much faster than the C version which is why you might want
to use the
assembler version instead. The latest assembler version of render.library is
v31.0. Plananarama
doesn't require v40, you can also use v31 if you care about performance.

(**) FBlit is not actually required but highly recommended because otherwise
your chip memory
will be gone in no time and Hollywood will run out of memory. So make sure you
install FBlit
first and you add Hollywood to its "Include" list in the "FAllocBitMap" tab. If
Hollywood is
included in this list, it will be able to place graphics in fast memory which is
absolutely
needed since 2 MB of chip memory certainly won't be enough for Hollywood. Using
FBlit also has
the advantage that Hollywood can use the CPU for blitting which is much faster
than the blitter
on higher 68k CPUs or WinUAE anyway.


Usage
=====

There are several ways to use this plugin: You can either activate the plugin
for a script by
()REQUIRE-ing it. To do this, simply put the following preprocessor command at
the top of your
script:

    ()REQUIRE "Plananarama"

Or you can use the REQUIREPLUGINS argument from the command line or set the
tooltype of the very
same name. This is the preferred method to use if you don't want to modify the
scripts you want
to run with Plananarama, maybe because they should only use Plananarama on
AmigaOS 3 systems but
on other systems they should run without it. Here is an example:

    1> Hollywood Hollywood:Examples/Hollywood/3DText/3DText.hws -requireplugins
plananarama
    
You can also use the REQUIREPLUGINS argument in the tooltypes. The tooltype
version would be:

    REQUIREPLUGINS=Plananarama

When using the Hollywood GUI, you can route every Hollywood script launched from
the GUI
through the Plananarama plugin, by going to the "Prefs/Hollywood..." menu and
entering
"-requireplugins plananarama" in the "Additional interpreter arguments" text
gadget.


Options
=======

Plananarama supports several options which can be passed to ()REQUIRE or to the
REQUIRETAGS
arguments. See the Hollywood documentation to learn how to pass parameters to
()REQUIRE and
REQUIRETAGS.

The following options are currently available:

DitherMode:
This can be "None", "FS" (the default), "Random", or "Edd". Here is a
description of the
different dither modes:
    "None"  : No dithering at all.    
    "FS"    : Floyd-Steinberg dithering. This is the default.
    "Random": Random dithering. This mode is significantly slower than
Floyd-Steinberg
              dithering.              
    "Edd"   : EDD dithering. This mode is faster than Floyd-Steinberg dithering.
    
DitherAmount:
Set the dither amount. This must be between 0 and 255. Currently this value is
of any
use only for the "Random" dither mode. Defaults to 40.

AutoDither:
Enable automatic dithering. If set to TRUE, dithering is automatically activated
for drawing
a particular picture to a particular environment, when the loss of color
information would
exceed a certain threshold (see below). Defaults to TRUE.

DitherThreshold:
The threshold for automatic dithering. The lower, the earlier automatic
dithering is activated.
Useful thresholds range between 10 and 10000. Refer to
render.library/RGBArrayDiversityA() for
further details. Better you do not use this tag unless you have a good reason
to. Let the user
customize it with the environment variable AUTODITHERTHRESHOLD. Defaults to 250.

Precision:
Set the precision for pen allocations. This can be "Exact", "Image" (the
default), "Icon", or
"GUI". See graphics.library/ObtainBestPenA() for details. Note that the default
precision
suffices for almost every application. Pens are obtained in an extremely
effective way. You
get excellent results even with lower precisions. Commodore's idea with
ObtainBestPenA() was
to create a fair and effective pen-sharing mechanism, and Plananarama behaves in
perfect
accordance to this intention. Never use insane patches for ObtainBestPenA(). 


Troubleshooting
===============

a) Plananarama says "Cannot open guigfx.library!" but I have guigfx.library
installed:

guigfx.library requires render.library and will fail to open in case
render.library isn't
present so make sure you have render.library as well. If you do, make sure you
have the
right version of render.library. Some require an FPU and will fail to open if no
FPU is
present.

b) My system crashes with a 8000000B software failure:

You are using a version of render.library that needs an FPU on a system without
an FPU.
Make sure to use the appropriate version for your system because some versions
of render.library
don't check if an FPU is present, they will just crash if there is none.

c) I'm getting an "Out of memory!" error but I have lots of fast memory.

First make sure you have installed FBlit. Then make sure that you've configured
FBlit correctly.
You have to add Hollywood to FBlit's "Include" list in the "FAllocBitMap" tab.
If Hollywood is
included in this list, it will be able to place graphics in fast memory which is
absolutely
needed since 2 MB of chip memory certainly won't be enough for Hollywood. So
make sure you
configure FBlit correctly.

d) Plananarama is very slow:

If Plananarama performs poorly on your system then the reason might be that your
script is
drawing many images with alpha channel graphics, e.g. anti-aliased text/shapes
or images with
variable levels of transparency. These things do not make much sense on
palette-based screens
and they are very, very expensive on the CPU because Plananarama needs to remap
these images
from true colour chunky pixels to planar graphics all the time.

Thus, if you care about performance you should not use any alpha channel images
and transparency
should be limited to monochrome transparency (i.e. visible and invisible
pixels). The best idea
is to use a fixed set of prerendered graphics. When just drawing prerendered
graphics with no
changes concerning the colors, Plananarama should perform quite well on planar
screens and
scripts should also be usable on slower systems, though you still need a fast
CPU and some fast
memory of course.


History
=======

Version 1.0:    (10-Jan-16)
- First release


Future
======

More optimizations.


Bugs
====

Please report any bugs or issues via the Hollywood forums at
http://forums.hollywood-mal.com/


Copyright
=========

This plugin is (C) Copyright 2014-2016 by Andreas Falkenhahn
<andreas()airsoftsoftwair.de>
Refer to the COPYING file in this package for conditions concerning distribution
of this plugin.
This plugin uses guigfx.library and render.library by Timm S. Müller. Parts of
this document
are based on the documentation of guigfx.library written by Timm S. Müller. For
support and more
plugins please visit http://www.hollywood-mal.com/.


File Version Size Date OS Dls Readme
hwp_ahx.lha1.1129kb30 Jul 154.0121¤ Hwp_AHX - Hollywood plugin for Abyss' Highest eXperience
hwp_aiff.lha1.117kb30 Jul 154.0179¤ Hwp_AIFF - Hollywood plugin for AIFF file format
hwp_apng.lha1.12Mb30 Jul 154.075¤ Hwp_APNG - Hollywood plugin for APNG anims
hwp_avcodec.lha1.36Mb30 Jul 154.093¤ Hwp_AVCodec - Hollywood plugin for AVCodec
hwp_digibooster.lha1.1114kb30 Jul 154.0139¤ Hwp_DigiBooster - Hollywood plugin for DigiBooster
hwp_flicanim.lha1.126kb30 Jul 154.0111¤ Hwp_FLICAnim - Hollywood plugin for FLI/FLC anims
hwp_glgalore.lha1.03Mb07 Jun 154.0100¤ Hwp_GLGalore - Hollywood plugin for OpenGL
hwp_httpstreamer.lha1.072kb27 Sep 154.090¤ Hwp_HTTPStreamer - Hollywood plugin for video/audio streaming
hwp_jpeg2000.lha1.1415kb30 Jul 154.089¤ Hwp_JPEG2000 - Hollywood plugin for JPEG2000 images
hwp_moviesetter.lha1.257kb30 Jul 154.0154¤ Hwp_MovieSetter - Hollywood plugin for MovieSetter anims
hwp_muiroyale.lha1.35Mb28 Jun 154.0301¤ Hwp_muiroyale - Hollywood plugin for MUI GUIs
hwp_oggtheora.lha1.1920kb30 Jul 154.076¤ Hwp_OGGTheora - Hollywood plugin for Ogg Theora
hwp_oggvorbis.lha1.1709kb30 Jul 154.0109¤ Hwp_OGGVorbis - Hollywood plugin for Ogg Vorbis
hwp_pcx.lha1.120kb30 Jul 154.0147¤ Hwp_PCX - Hollywood plugin for PCX file format
hwp_rapagui.lha1.06Mb16 May 164.057¤ Hwp_RapaGUI - Hollywood plugin for GUI creation
hwp_sqlite3.lha1.1950kb30 Jul 154.077¤ Hwp_SQLite3 - Hollywood plugin for SQL databases
hwp_svgimage.lha1.24Mb30 Jul 154.066¤ Hwp_SVGImage - Hollywood plugin for loading SVG images
hwp_tiff.lha1.1811kb30 Jul 154.082¤ Hwp_TIFF - Hollywood plugin for TIFF images
hwp_vectorgfx.lha1.11Mb30 Jul 154.088¤ Hwp_VectorGFX - Hollywood plugin for vectorgraphics
hwp_xmlparser.lha1.1389kb30 Jul 154.0174¤ Hwp_XMLParser - Hollywood plugin for parsing XML files
hwp_yafa.lha1.174kb30 Jul 154.0136¤ Hwp_YAFA - Hollywood plugin for YAFA anims
Copyright (c) 2004-2017 by Björn Hagström All Rights Reserved
Amiga OS and its logos are registered trademarks of Hyperion Entertainment