Difference between revisions of "Linden Lab Official:Media Rendering Plugin System"

From Second Life Wiki
Jump to navigation Jump to search
 
(21 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Help|Viewer}}
{{Supported API}}
{{Media Plugin Nav}}
{{:API Portal/navigation|media}}


__TOC__
__TOC__
 
<br clear="all"/>
== Overview ==
== Overview ==


With this branch of the Second Life Viewer, Linden Lab introduces the ability for third-party developers to create media rendering plugins to display rich media content inworld.  The Viewer provides this capability by loading media rendering plugins at runtime.  
The Second Life [[Project Snowstorm]] Viewer now provides the ability for third-party developers to create media rendering plugins to display rich media content inworld.  The Viewer provides this capability by loading media rendering plugins at runtime.  


Creators of objects use the parcel-based media setting dialog box to reference a network-based file, and then map the media texture to an object that then displays the media.  Previously, this was limited to media rendering plugins that Linden Lab created in the core of the Second Life Viewer, such as Apple QuickTime(tm).
Creators of objects use the parcel-based media setting dialog box to reference a network-based file, and then map the media texture to an object that then displays the media.  Previously, this was limited to media rendering plugins that Linden Lab created in the core of the Second Life Viewer, such as Apple QuickTime(tm).
Line 12: Line 12:
Now, rendering engine developers can create a rendering library that loads through the media plugin API to display specific media content on textures of inworld objects, creating a richer and more vibrant set of media experiences for Second Life Residents.
Now, rendering engine developers can create a rendering library that loads through the media plugin API to display specific media content on textures of inworld objects, creating a richer and more vibrant set of media experiences for Second Life Residents.


This branch is a developer release, intended to provide the components necessary for building and testing media rendering plugins to be promoted and distributed for future versions of the Second Life Viewer.
This developer release provides the components necessary for building and testing media rendering plugins to be promoted and distributed for use in future versions of the Second Life Viewer.
{{KBnote|Use of the media rendering plugin API is subject to the [[API Terms of Use]].}}


== Downloads ==
== Downloads ==


To begin development, download the appropriate software, code and documents from these sites. One of the advantages of the new media plugin system is that you are not required to build the entire Viewer from source code to create a plugin. You simply need a build of the Viewer that supports the API, and then you can code to the API and build a library (for example, a Windows DLL) to be loaded at runtime.
The [[Snowglobe]] Viewer supports media rendering plugins. For more information, see the [https://lists.secondlife.com/pipermail/sldev/2009-October/015307.html SLDEV mailing list].  


===Binaries ===
NOTE: To build media rendering plugins, you must currently build the Viewer; in the future, the Media Rendering Plugin API will be separated so that you do not need to build the entire Viewer to build a plugin.


These builds of the Second Life Viewer support the new media API.
Use the Viewer 2 version of Snowglobe.
Second Life Viewer Installers:
* [http://automated-builds-secondlife-com.s3.amazonaws.com/redirect/20940/opensource/installer.html Windows]
* [http://automated-builds-secondlife-com.s3.amazonaws.com/redirect/20941/opensource/installer.html MacOS]
* Sorry, Linux build is currently unavailable.


=== Code ===
{{:Download Snowglobe}}
Subversion repositories:
* [https://svn.secondlife.com/svn/linden/branches/2009/plugin-api/ Second Life Viewer Source Code]
* [https://svn.secondlife.com/svn/linden/branches/2009/plugin-api/indra/media_plugins/ Sample media rendering plugins]


'''Procedure''':
After checking out the Viewer branch, run develop.py normally, then build/run the "media_plugin_test" target in the SecondLife project.  If you have any questions or issues related to building and testing media rendering plugins, contact [mailto:sldev@lindenlab.com sldev@lindenlab.com].
After checking out the Viewer branch, run develop.py normally, then build/run the "media_plugin_test" target in the SecondLife project.  If you have any questions or issues related to building and testing media rendering plugins, contact [mailto:sldev@lindenlab.com sldev@lindenlab.com].


[[Category:Media]]
[[Category:Media]]
[[Category:Snowglobe]]
[[Category:Compiling viewer]]

Latest revision as of 13:30, 4 May 2011

NOTE: This is an official Second Life API provided and documented by Linden Lab. Its use is subject to the API Terms of Use.


Overview

The Second Life Project Snowstorm Viewer now provides the ability for third-party developers to create media rendering plugins to display rich media content inworld. The Viewer provides this capability by loading media rendering plugins at runtime.

Creators of objects use the parcel-based media setting dialog box to reference a network-based file, and then map the media texture to an object that then displays the media. Previously, this was limited to media rendering plugins that Linden Lab created in the core of the Second Life Viewer, such as Apple QuickTime(tm).

Now, rendering engine developers can create a rendering library that loads through the media plugin API to display specific media content on textures of inworld objects, creating a richer and more vibrant set of media experiences for Second Life Residents.

This developer release provides the components necessary for building and testing media rendering plugins to be promoted and distributed for use in future versions of the Second Life Viewer.

KBnote.png Note: Use of the media rendering plugin API is subject to the API Terms of Use.

Downloads

The Snowglobe Viewer supports media rendering plugins. For more information, see the SLDEV mailing list.

NOTE: To build media rendering plugins, you must currently build the Viewer; in the future, the Media Rendering Plugin API will be separated so that you do not need to build the entire Viewer to build a plugin.

Use the Viewer 2 version of Snowglobe.

Download Snowglobe

Procedure: After checking out the Viewer branch, run develop.py normally, then build/run the "media_plugin_test" target in the SecondLife project. If you have any questions or issues related to building and testing media rendering plugins, contact sldev@lindenlab.com.