If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
Tiled Background
19 posts
• Page 1 of 2 • 1, 2
Tiled Background
Another simple convenience graphics module. Tiled Background automatically repeats a bitmap as often as needed to fill the front panel. It is best suited for seamless tilable graphics, as the images show.
r1:
r1:
- fixed an issue with a cpu hog caused by 0x0 bitmaps.
- fixed an issue with misaligned non-square tiles.
added a wireless input connector to mgui.
- Attachments
-
- tiled_background(r2).fsm
- (142.48 KiB) Downloaded 1085 times
Last edited by tulamide on Sun Aug 24, 2014 9:25 am, edited 3 times in total.
"There lies the dog buried" (German saying translated literally)
- tulamide
- Posts: 2714
- Joined: Sat Jun 21, 2014 2:48 pm
- Location: Germany
Re: Tiled Background
now that is cool ! Will check this out.
THX
THX
- RJHollins
- Posts: 1571
- Joined: Thu Mar 08, 2012 7:58 pm
Re: Tiled Background
you can do this also with ruby using the TextureBrush, here is an example
- Attachments
-
- tiled_background_ruby.fsm
- (3.83 KiB) Downloaded 1074 times
-
Nubeat7 - Posts: 1347
- Joined: Sat Apr 14, 2012 9:59 am
- Location: Vienna
Re: Tiled Background
RJHollins wrote:now that is cool ! Will check this out.
THX
Hope it helps you
"There lies the dog buried" (German saying translated literally)
- tulamide
- Posts: 2714
- Joined: Sat Jun 21, 2014 2:48 pm
- Location: Germany
Re: Tiled Background
Nubeat7 wrote:you can do this also with ruby using the TextureBrush, here is an example
Thank you very much! It's always nice to have green and ruby versions, so everyone can use whatever is preferred. I like this version for its simplicity. Plus, it doesn't have issues with empty bitmaps (which was the reason for the cpu hog in my older version)
"There lies the dog buried" (German saying translated literally)
- tulamide
- Posts: 2714
- Joined: Sat Jun 21, 2014 2:48 pm
- Location: Germany
Re: Tiled Background
Thanks, I was just thinking about having such fellow on board here. While I agree with the statement that it is good to have both types (ruby and green - you never know what may be useful at the time) under your hand, I also prefer green one in this case.
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
Feel free to donate. Thank you for your contribution.
- tester
- Posts: 1786
- Joined: Wed Jan 18, 2012 10:52 pm
- Location: Poland, internet
Re: Tiled Background
Hi, thanks for this. It's very useful.
A couple of things:
-it doesn't seem to tile correctly with non-square tiles
-I can't see it in my plugin's top level (am I being stupid? )
A couple of things:
-it doesn't seem to tile correctly with non-square tiles
-I can't see it in my plugin's top level (am I being stupid? )
- Perfect Human Interface
- Posts: 643
- Joined: Sun Mar 10, 2013 7:32 pm
Re: Tiled Background
It would be better if you would draw to a bitmap instead of a view. So the tile code only runs inside FS and is purged when you export as EXE/VST. Instead you have an image that was rendered. I've done it that way with my own background generator long time ago:
http://www.synthmaker.co.uk/forum/viewt ... 92&p=82421
http://www.synthmaker.co.uk/forum/viewt ... 92&p=82421
-
MyCo - Posts: 718
- Joined: Tue Jul 13, 2010 12:33 pm
- Location: Germany
Re: Tiled Background
Perfect Human Interface wrote:A couple of things:
-it doesn't seem to tile correctly with non-square tiles
-I can't see it in my plugin's top level (am I being stupid? )
Thank you for pointing this out to me!
- The second issue is solved very quick. I forgot to add a wireless input to the mgui. Just look inside the module and add it. I will correct this in a new version.
- I will investigate the first issue. But first I have to create a non-square tile I hope it's not the single precision floats that are causing this (then it's probably only doable with ruby)
MyCo wrote:It would be better if you would draw to a bitmap instead of a view. So the tile code only runs inside FS and is purged when you export as EXE/VST. Instead you have an image that was rendered. I've done it that way with my own background generator long time ago:
http://www.synthmaker.co.uk/forum/viewt ... 92&p=82421
Phew! For a second I thought I did just something already done aeons ago. Luckily they differ.
I wasn't sure if doing a bitmap was really meaningful at that stage, because there might be a lot of other elements that also won't change. It would be better then to draw all of them (incl the tiled background) to a bitmap. The smaller the plugin size, the better, I would say.
"There lies the dog buried" (German saying translated literally)
- tulamide
- Posts: 2714
- Joined: Sat Jun 21, 2014 2:48 pm
- Location: Germany
Re: Tiled Background
Cheers, this makes my interfaces not so plain
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."
Albert Einstein
Albert Einstein
-
JB_AU - Posts: 171
- Joined: Tue May 21, 2013 11:01 pm
19 posts
• Page 1 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 50 guests