Terafugia / RenderScripts

MediaPlayerDotNet (MPDN) Open Source RenderScripts

Home Page:http://forum.doom9.org/showthread.php?t=171120

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MPDN RenderScripts

MediaPlayerDotNet (MPDN) Open Source RenderScripts

MPDN project page - http://forum.doom9.org/showthread.php?t=171120

Developers

  • Zachs
  • Shiandow

How to use Render Scripts?

To use these render scripts (compatible with MPDN v2.19.0 and above), click the Download ZIP button on the right to download the whole repository.

Then extract the files and folders in the RenderScripts folder (located in RenderScripts-master folder) to your MPDN's RenderScripts folder.

If you wish to try out the custom linear scaler examples, extract the files in the CustomLinearScalers folder to your MPDN's CustomLinearScalers folder.

Developing / Debugging Render Scripts

The easiest way to develop or debug render scripts is to use Microsoft Visual Studio or similar IDEs.

Follow these simple steps:

  1. Create a class library
  2. Add the following assembly references to your project:
    • Framework.dll (from GitHub)
    • RenderScript.dll
    • SharpDX.dll
    • SharpDX.Direct3D9.dll
    • YAXLib.dll
  3. Set your class library's output folder to MPDN's RenderScripts folder
  4. Set the program to debug your class library to MediaPlayerDotNet.exe
  5. You're all set! This allows your IDE to run MPDN which in turn loads your class library (RenderScript plugin) when you start a debug session

You can set breakpoints and step through your code just as you normally would. Intellisense should work too.

About

MediaPlayerDotNet (MPDN) Open Source RenderScripts

http://forum.doom9.org/showthread.php?t=171120

License:MIT License


Languages

Language:C# 100.0%