Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Work in Progress / LayerStudio - Layer and image manipulation plugin

Author
Message
Sven B
19
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 19th Oct 2008 14:27 Edited at: 10th Nov 2008 18:04

If I can't use the DBP logo in mine, just give me a sign.

Hello everyone!
Here I am with a new plugin.

What is LayerStudio?
LayerStudio is a plugin where you can create layer files, add layers, and manipulate them. You can then render the layer files to an image to use within DBP.

How does LayerStudio work?
LayerStudio uses an internal data system to increase speed. A lot of parameters aren't used until the actual render to delay the lag inbetween commands.

Features
LayerStudio supports these current features:
- Layer manipulation
You can add, delete and move layers whenever you want. Layers also contain information like alpha and blend modes.
- Edit layers
Use 2D commands (that resemble the DBP-commands) or paste images on layers. You can also use a blend mode and an alpha for these commands.
- Effects
Use a convolution matrix to add cool effects to your layers. Like your own blur, emboss, etc.
More effects to come.
- Use a temporary directory
To avoid using alot of RAM, you can write the layer file to the hard disk and free your precious RAM memory.

Examples

This image consists of 1 layer. I started out by a gradient fill using the line command and pasted the particles on the same layer using the DIFFERENCE blend mode and random alpha. (Image from barista.media2.org)


This image is to show what you can do with a convolution matrix using an emboss preset:

Image from TheGIMP website.

Current commands:


Attached:
LayerStudio v1.0 - 19 oct. 2008
LayerStudio v1.001 - 21 oct. 2008
LayerStudio v1.002 - 10 nov. 2008

It's the programmer's life:
Have a problem, solve the problem, and have a new problem to solve.

Attachments

Login to view attachments
AndrewT
17
Years of Service
User Offline
Joined: 11th Feb 2007
Location: MI, USA
Posted: 19th Oct 2008 16:12
Whoa! Finally a good image manipulation plugin for DBP. Nice job!

<<---------CLICK IT
Roxas
18
Years of Service
User Offline
Joined: 11th Nov 2005
Location: http://forum.thegamecreators.com
Posted: 19th Oct 2008 16:36
So this can also load own image format with diffrent layers and say put 3d models behind some layers and in front of some? If its like that its kind of what i did with flare engine But without those advanced features.

Sven B
19
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 19th Oct 2008 17:11 Edited at: 19th Oct 2008 17:31
Quote: "Whoa! Finally a good image manipulation plugin for DBP. Nice job!"

Thank you, I spent quite some time on this.

Quote: "So this can also load own image format with diffrent layers and say put 3d models behind some layers and in front of some?"

Not really.
I intended to create a plugin that allows the user to make images like in a image software program like Photoshop and TheGIMP. I guess it would resemble TheGIMP the most as I used their help files quite a lot.

For anyone that downloaded the file already, please wait a moment. I found a bug that makes the rendering not work.

[EDIT] Nevermind. It was my own fault.
I haven't added error messages yet, so it can be pretty hard to tell if it's the plugin or you...

It's the programmer's life:
Have a problem, solve the problem, and have a new problem to solve.
Sven B
19
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 19th Oct 2008 18:18
Here's an example for you guys.


The images were used from DarkMatter

Produced the following result:


It's the programmer's life:
Have a problem, solve the problem, and have a new problem to solve.
Satchmo
18
Years of Service
User Offline
Joined: 29th May 2005
Location:
Posted: 19th Oct 2008 18:20
Sweet! So are you planning to make a basic image manipulation program like Paint.net or TheGIMP?

Sven B
19
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 19th Oct 2008 19:00
Quote: "Sweet!"

Thanks!

Quote: "So are you planning to make a basic image manipulation program like Paint.net or TheGIMP?"

Nope. The main objective of this plugin is to create images to use in the game.
eg. Creating a shadow-version of a texture, easy transparent images, etc.

It's the programmer's life:
Have a problem, solve the problem, and have a new problem to solve.
Xenocythe
18
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 19th Oct 2008 19:17
Alright! I knew when Sven was back he would pwn the forums with something awesome

Looks great.

3.11 We do not tolerate posts made for the purpose of putting down another forum member, group of members, religion, our company, our staff or any of our moderators, past or present.
Sven B
19
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 21st Oct 2008 20:51
Update LayerStudio v1.001


Added mask layers and a new set of commands:


Example:
Code:


When drawing on a mask, the plugin takes the average of the red, green and blue components to make a grey value. The mask commands also use the current alpha and current mode, like when you would draw on layers.
Masks are also 1/4 in size compared to full-colored layers, and are not (yet) written to the temporary file folder.

Here's a screenshot of the previous code:


It's the programmer's life:
Have a problem, solve the problem, and have a new problem to solve.
Xenocythe
18
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 7th Nov 2008 03:06
Verrry nice. Keep up the good progress.

3.11 We do not tolerate posts made for the purpose of putting down another forum member, group of members, religion, our company, our staff or any of our moderators, past or present.
Sven B
19
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 10th Nov 2008 18:02
Quote: "Verrry nice. Keep up the good progress."


Thanks!

Update LayerStudio v1.002


Added help files (that was quite some work) and updated the keywords file.

Also added a new command:
render to image which allows you to actually "paste" a layer file on an existing image.
Very helpful when you have uv-textures for example and you want to have only the logo changed.

And ofcourse, fixed some bugs (render part didn't work quite right).

Updates still coming!

It's the programmer's life:
Have a problem, solve the problem, and have a new problem to solve.

Login to post a reply

Server time is: 2024-04-19 14:38:41
Your offset time is: 2024-04-19 14:38:41