YOUR ACCOUNT

Login or Register to post new topics or replies
Kraellin
Kraellin

Posts: 12749
Filters: 99
ok, there's probably something for this, but apparently i missed that class. how do you get a non-square image to not wrap-around and repeat, but to just expand to the size of the imported image? (see picture). if you look at the components you see two vertical bars of the same size, but if you look at the preview window on the upper left, you see what you really get with a non-square image being used.

also, because the image is repeating and repeating from the left to the right, if you have horizontal bars similar to the vertical ones shown, and there is a texture with a stretch, you get a proper look until you hit the repeating part and then it picks up from the left and you get a vertical stretch to complete the horizontal bar.

i can appreciate seamless, sort of, but i'm not in this program for that so much. why cant we have a component that simply reads the image size and then simply stretches things to match. maybe a script someone could write?

If wishes were horses... there'd be a whole lot of horse crap to clean up!

Craig
  Details E-Mail
CFandM
ForgeSmith

Posts: 4761
Filters: 266
Hey Craig..If you are using the Spectrum color component that is a square only..Just like the old gradient component....Does give me an ideal thou...A new catagorey for the Components list after the scripting or where-ever..Something to show only Non-square components...... smile:)
Stupid things happen to computers for stupid reasons at stupid times!
  Details E-Mail
Kraellin
Kraellin

Posts: 12749
Filters: 99
CF,

i put the spectrum in only to show the effect more readily. even without it it still does it. do perlins cause this also? or thresholds?
If wishes were horses... there'd be a whole lot of horse crap to clean up!

Craig
  Details E-Mail
CFandM
ForgeSmith

Posts: 4761
Filters: 266
ahhhh! I think I see what you are talking about.....maybe... smile:D smile:)
Are you talking about the perlin not stretching the width and height of the image size?
Maybe post a quick filter of this.. smile:)
Stupid things happen to computers for stupid reasons at stupid times!
  Details E-Mail
Kraellin
Kraellin

Posts: 12749
Filters: 99
ok, you see the pic i posted... in that, if you compare the preview window to what's showing in the component window, the two vertical bars, you'll see that, in the preview window, it works perfectly up to the point where a square image would end, but, because the imported image is NOT square, it repeats fr om where it ends at a square image and starts over, filling in the rest of the image that is more than just a square. what i want to do with that filter is to stretch the actual bars to fit the rectangular image when it's rendered, not stop at the square part and start over with the render. thus, the bars would stretch clear across a non-square image, whether the bars were vertical or horizontal.

now, i can fake this somewhat by including a frame component, but it has a flaw in it with non-square images in that the horizontal bars stop using the vertical texture from the perlins wh ere the square ends and when they repeat because of being non-square, they pick up the texture from the vertical bars and use that to fill in the rest of the horizontal bars. very frustrating, this.

now, is there a way to override this or get around it and especially without having to use a frame component or is there a way to read the image size of the imported image and using a script have the bars stetch or add to their own lengths?

basically, what i'm trying to do is make a frame without using a frame compnonent for a non-square image.
If wishes were horses... there'd be a whole lot of horse crap to clean up!

Craig
  Details E-Mail
ThreeDee
Lost in Space

Posts: 1672
Filters: 112
Quote
Kraellin wrote:
or is there a way to read the image size of the imported image and using a script have the bars stetch or add to their own lengths?


Yes, and a good script idea! It would be useful for just about any non-square image. If nobody else gets to it first, I'll make it.
  Details E-Mail
Kraellin
Kraellin

Posts: 12749
Filters: 99
ThreeDee, i can almost guarantee that now that you've posted... nobody else is going to get to it smile;) i'd love it if you could/would do it smile:)
If wishes were horses... there'd be a whole lot of horse crap to clean up!

Craig
  Details E-Mail
ThreeDee
Lost in Space

Posts: 1672
Filters: 112
Ok, so I did it. There are two Scrippets in the queue. First one fills any non-square image with the FF internal component square output. Second one does the same thing, but allows you to scale the proportional image down with the Size, pixels control.
  Details E-Mail
ThreeDee
Lost in Space

Posts: 1672
Filters: 112
Examples follow.

Here's what the Fill Proportionally filter does:

This is a non-square image with an internally-created circle, Size, pixels pulled down some. Without the Scrippet:

  Details E-Mail
ThreeDee
Lost in Space

Posts: 1672
Filters: 112
With Fill Proportionally Scrippet:

  Details E-Mail
ThreeDee
Lost in Space

Posts: 1672
Filters: 112
Oops, sorry, the first image was with Make Proportional Scrippet...

Here's the original output without any Scripts:

  Details E-Mail
CFandM
ForgeSmith

Posts: 4761
Filters: 266
Quote
ThreeDee wrote:
Ok, so I did it. There are two Scrippets in the queue. First one fills any non-square image with the FF internal component square output. Second one does the same thing, but allows you to scale the proportional image down with the Size, pixels control.


Thanks ThreeDee this will be really handy for future frame updates.. smile:)
Stupid things happen to computers for stupid reasons at stupid times!
  Details E-Mail

Join Our Community!

Filter Forge has a thriving, vibrant, knowledgeable user community. Feel free to join us and have fun!

33,712 Registered Users
+19 new in 30 days!

153,533 Posts
+31 new in 30 days!

15,348 Topics
+73 new in year!

Create an Account

Online Users Last minute:

31 unregistered users.