Messages 1 - 45 of 48
First | Prev. | 1 2 | Next | Last |
ronviers
![]() |
Hi,
I have been working on foreshortening a circle. All I am trying to do is take a circle and use a combination of curves, curve ops, gradients and blend modes to change it gradually to in increasingly flat ellipse. I have not been successful but I think I have worked the problem enough to understand someone else’s solution. Does anyone have an example of foreshortening? Thanks, Ron @ronviers |
|||||||||
Posted: May 18, 2007 12:48 pm | ||||||||||
uberzev
![]() |
Post a pic of what you're trying to achieve.
|
|||||||||
Posted: May 18, 2007 12:57 pm | ||||||||||
ronviers
![]() |
This is pretty close but notice that things start to get funky past 55 on when using the 'tilt forward' control.
![]() Thanks Tilt forward.ffxml @ronviers |
|||||||||
Posted: May 18, 2007 3:47 pm | ||||||||||
uberzev
![]() |
||||||||||
Posted: May 18, 2007 4:13 pm | ||||||||||
ronviers
![]() |
The effect is right but notice when I plug this small rod in it no longer works.
Shorten.ffxml @ronviers |
|||||||||
Posted: May 18, 2007 4:21 pm | ||||||||||
ronviers
![]() |
I think the 3D term for what I am trying to do is called the 'perspective plane'. Right now I am working on the x axis but I want to add y and z also. Z should be trivial and y should be much like x but mathed together some way.
@ronviers |
|||||||||
Posted: May 18, 2007 4:23 pm | ||||||||||
uberzev
![]() |
I'm not clear on what you want. Do you have a picture you could link to that shows the completed effect?
|
|||||||||
Posted: May 18, 2007 4:28 pm | ||||||||||
ronviers
![]() |
Just imagine placing a soup can at any location in a photo while matching the perspective of the photo.
@ronviers |
|||||||||
Posted: May 18, 2007 4:30 pm | ||||||||||
uberzev
![]() |
So you want to make a cylinder?
|
|||||||||
Posted: May 18, 2007 4:37 pm | ||||||||||
ronviers
![]() |
I want to move a want to allow the user to place a cylinder in a photo.
@ronviers |
|||||||||
Posted: May 18, 2007 4:41 pm | ||||||||||
ronviers
![]() |
sh/be
I want to allow the user to place a cylinder into a photo. @ronviers |
|||||||||
Posted: May 18, 2007 4:41 pm | ||||||||||
CFandM
![]() |
Well a cylinder would be interesting. You might want to take a look at some of these filters to figure out shapes...Some 2d and 3d methods...Maybe take some of these and rework them to something new or just for the study...Or they might just give you some direction or a new idea..
![]() http://www.filterforge.com/filters/2636.html http://www.filterforge.com/filters/1188.html http://www.filterforge.com/filters/1849.html http://www.filterforge.com/filters/587.html http://www.filterforge.com/forum/read...10&TID=747 Stupid things happen to computers for stupid reasons at stupid times! |
|||||||||
Posted: May 18, 2007 5:15 pm | ||||||||||
ronviers
![]() |
Those are some really beautiful and clever filters. FF is not letting me download filters right now so I will study them after while but this question is not about shapes it is about placing a shape into a scene.
Something along the lines of presenting the user with a checkbox labeled ‘Align’ which when checked would display a triangle. The user could then use three sliders to drag the vertices of the triangle to the plane of some surface, say a coffee table. The effect of this internally would be to create three new sets of gradients that could be used to place the shape onto the surface inside the photo. Of course currently the shape can be created then PS’s vanishing point could be used to place it in the photo, that is how I have been placing my blinds and hearts, but I would rather do that inside the FF filter. @ronviers |
|||||||||
Posted: May 18, 2007 5:32 pm | ||||||||||
Kraellin
![]() |
sounds like a skew/depth perspective, isometric view thing. i would think your background then, would be transparent. you import your soup can image and then 'tilt' it forward or back with your FF controls to give the proper perscective to the can. have i got that right?
If wishes were horses... there'd be a whole lot of horse crap to clean up!
Craig |
|||||||||
Posted: May 19, 2007 12:59 pm | ||||||||||
ronviers
![]() |
That is a good point, one that I had not thought through. I was hoping to use the filter to construct the object; say a soup can or a lava lamp or whatever, then use the placement controls to tilt, scale or skew the object so it could be rendered in place with the photo already loaded. But you make a good point; these placement controls would not necessarily need to be integrated into the same filter that creates the object. Although in most cases the user would need a loaded photo to aid in the placement. Unless it was a two pass or multi stage process. How does it work now for FF users? If a user selects a filter, like your Persian Rug 2, how would they place that into their photo? I would use vanishing point. Is that how you expect it to be used? @ronviers |
|||||||||
Posted: May 19, 2007 2:19 pm | ||||||||||
ssamm |
Another use is for 3D artists -- where they apply FF images to 3D objects and their 3D program creates the perspective for them. (I think this is where the feature of seamless tiling becomes really handy -- i.e. when the image is used as a texture.)
By the way, these 3D programs can also be used for adding in objects to 2D photos. In case you're interested: Blender is a free, versatile 3D program -- but it does seem to have a steep learning curve at first. It would be cool if FF could do perspective skews -- maybe it's somehow possible (but it seems easier to use other programs for now). |
|||||||||
Posted: May 19, 2007 6:40 pm | ||||||||||
ronviers
![]() |
Is that the way it works? Do most of the FF users also users of 3D authoring software? What would your estimation be of the demographic breakdown for FF users in terms of bitmap, 2D vector and 3D? Who are we making these filters for?
As for Blender; I just compiled a list of 3D authoring packages last night trying to make a choice, Blender is at the bottom because it is not mentioned much in the literature. I did not realize it was free. Free I like and learning curves I don’t mind. CaféFX Lightwave 3D Softimage 3DS Max Maya Bryce 3D Alias Studio XSI Electric Image Strata Studio Pro Cinema 4D Truespace Hash Animation Master Renderman (renderer) PowerAnimator Sumatra Blender 3D I read that CaféFX was used to do Sin City then found out that most of those scenes were done using Lightwave3D. (http://www.newtek.com/news/releases/04-13-05a.html) I later found out that it is parts of Lightwave3D that included in PS CS3 Extended. Otherwise I mostly read about 3DS Max, Maya and Softimage. But I admit that I find the whole area confusing and it seems like Adobe is trying to keep me from making a decision to go elsewhere with CS3 Extended. @ronviers |
|||||||||
Posted: May 19, 2007 7:06 pm | ||||||||||
ssamm |
ronviers,
Actually, I have no idea. The person who mentioned FF to me was a 3D artist -- and FF seems like it could be very helpful for those types. (So this is just one way it can be used). Meanwhile it does seem like a lot/most of the people here at the forum deal more with just 2D bitmap stuff -- where it could take some time before more 3D artists discover FF (…?). As far as 3D programs go, I don’t have much experience beyond experimenting with free trial downloads. One trial program not on your list that I liked was Zbrush. It’s not really a "full" 3D application, but it seems to have some tools that make modeling (or whatever) fun. By now, I think there are similar copy-cat programs that work similarly too (…which seems to suggest that their ideas are good). From my experience, most normal 3D programs work pretty similarly -- so if you learn one, it’s not too hard to learn another. I’m mentioning this because it may be easier to try out a free trial version of some non-free (expensive) software (that has a good help manual) before trying to understand Blender -- but maybe not. It’s been a while since I’ve explored 3D -- but I think at some point I may return, as it seems to have a lot of potential… |
|||||||||
Posted: May 19, 2007 8:56 pm | ||||||||||
ronviers
![]() |
I was speaking with StevieJ recently about how stylistic differences in filter creation were a mirror of our personalities but now I am beginning to think it may who we imagine our respective target audiences to be that mostly determine the outcome of our filter designs. Approaching FF from the POV of graphics design, photography or gaming/cinematography is bound to play a major role.
That sounds like excellent advice. Lightwave3D is the only one I checked on and it has a 30 day trial but I have not given up on earning a copy of FF so at this point I do not want to start a new trial. I either need to nail this placement issue or move on because I have spent too much time already trying to figure it out. I actually dug out a trig book and a linear algebra book last night. Something tells me I’m getting way off track if I am working problems in text books. Focus is a huge issue for me.
This seems like a good time to get started in 3D- and if you do I hope you will let me know which direction you take. @ronviers |
|||||||||
Posted: May 19, 2007 9:27 pm | ||||||||||
ssamm |
ronviers,
Interesting. Filter creation is an art form IMO. I just create filters for myself -- and then submit the ones that I think there’s a (slight) possibility that others might also find it useful. However a “great artist†probably is more integrated, where they can create filters from their heart, while also creating something that others would most likely also like. I guess it’s a balanced mixture -- personality, where you’re coming from/your POV, and what you think others want… I admire the filter creators that seem to easily create "great" filters.
Yeah, since there are time limits on most of the trials, it’s probably best to just focus on one program at a time. (I was lucky where I played with FF in the beta phase -- where they were very generous in giving out free programs.)
That’s cool about looking up math books. It sounds like something I would do (and have done for other things in the past). I was thinking about how to create a nice, perspective skew in FF -- but then decided it was too complex. If you pull it off, it would be uber-cool (innuendo intended), but as far as trying to earn a free program, there might be more efficient ways to go about it. (?) (But I still say, follow your heart.)
Yep, 3D programs are really powerful, and these days computers are getting tons of ram and speed… Right now, I’m moving more in a 2D -> animation/film direction, but it’s possible that 3D will become more appealing. If I ever come up with any thing cool, I’ll probably post it in the user gallery -- but to be honest, I’m not that great of an artist -- where I like to mostly just fiddle as an hobbyist and admire what others make. |
|||||||||
Posted: May 20, 2007 7:14 am | ||||||||||
ssamm |
Here's a rough filter that skews a square. It's only for perspectives below the horizon line -- where the top gets narrower and bottom wider. (I made it very quickly, so don't expect anything too grand.)
perspectiveskew.ffxml |
|||||||||
Posted: May 20, 2007 4:52 pm | ||||||||||
ronviers
![]() |
Interesting – very very interesting. A few details remain but progress at last!
![]() Excellent work! ![]() @ronviers |
|||||||||
Posted: May 20, 2007 7:00 pm | ||||||||||
ssamm |
Here's another experiment I came up with, that also has it's problems; but may be somehow interesting...
(If you click "JustUseBias" it nullifies the Band sliders and just uses a bias curve. I just added it, thinking it might help show what is going on.) perspectivecheckers2.ffxml |
|||||||||
Posted: May 22, 2007 10:52 am | ||||||||||
ssamm |
P.S. I just thought that the filter might be a little harder than I first thought to understand, so I'll add a brief explanation.
I used two zoomer snippets (developed by Lucato and modified by uberzev) -- where one is supposed to shrink an image and the other enlarge the image. Then I used a gradient mask so (as I originally pictured it) the top of the image shrinks, while the bottom expands (giving a perspective skew of sorts). One problem is that when the image shrinks, it causes multiple images to appear (so maybe a mask of the non-center parts is needed). Another problem is that the shrinking doesn't go very extreme in this filter. |
|||||||||
Posted: May 22, 2007 11:18 am | ||||||||||
ronviers
![]() |
Here is my working copy of scale. It does not work the way I planned.
![]() I put it aside because I thought scale would be the easiest. Tilt and shift seem the most difficult (to my) because they involve revealing new surfaces. I agree; it is a difficult problem to understand, for example, I did not predict the horizon line being in issue in skew. I knew it would be in tilt and shift but spaced it out in skew. It has been a tough to get my head completely around. @ronviers |
|||||||||
Posted: May 22, 2007 1:42 pm | ||||||||||
ronviers
![]() |
||||||||||
Posted: May 22, 2007 5:28 pm | ||||||||||
ronviers
![]() |
||||||||||
Posted: May 22, 2007 10:48 pm | ||||||||||
ronviers
![]() |
Now with scale up!
I still have down issues with masking and rotation but I do not think they are serious. Scale temp ii.ffxml @ronviers |
|||||||||
Posted: May 23, 2007 1:44 am | ||||||||||
ronviers
![]() |
I got the rotation thing solved.
![]() BTW, when I name something working it does not imply that it works only that it is my working copy. Scale working m1e.ffxml @ronviers |
|||||||||
Posted: May 23, 2007 5:41 am | ||||||||||
ssamm |
I like how small you can scale down with your technique.
Here's my lastest perspective attempt where you can rotate (thanks to uberzev's Rotate Any Angle snippet) and skew the plane. (I'm mainly focused on the center image, where I manually mask the borders to remove the distractions.) It's still not perfect, but kind of interesting (to me at least). perspectiveskew5.ffxml |
|||||||||
Posted: May 23, 2007 11:15 am | ||||||||||
ronviers
![]() |
Wow! Nice job.
![]() I think you’re entering an area of more than just interesting. There are a lot of filters that could benefit from the features you have implemented. Rounded corners? Now you’re just showing off. ![]() I think it would it may be useful to add a kind of wireframe mode, something like your checkers, that would allow the user to select a checkbox to enable a simple pattern for purposes of getting all the placement parameters set before actually rendering the external image – or even the internally generated object. I had some preconceptions about how I wanted skew to work but they turned out to be wrong. So it’s one step back for me - I can be so thick headed. @ronviers |
|||||||||
Posted: May 23, 2007 8:11 pm | ||||||||||
ssamm |
Thanks, Ron.
![]() I like the wire frame mode idea -- but I'm not sure what can be processed faster than the image itself. (Actually maybe the checkers are faster? But I don't know...) The two main improvements I think my filter needs is that: 1. it can scale down smaller and 2. it doesn't warp when the small and large proportions are extreme. I think the trick will be to come up with a better scaling method -- where I may have to analyze your way more. (But I may end up getting too side-tracked from this project to finish it...)
Ha. I can identify a lot with that. But I think experience slowly starts to help in this area. Most of my ideas for that last filter occurred to me while daydreaming at work -- where I was surprised how well they turned out when I finally got to try them in FF. Normally for this kind of stuff I have to do a lot of trial and error (especially when predicting how gradients effect offsets). |
|||||||||
Posted: May 23, 2007 11:35 pm | ||||||||||
ronviers
![]() |
I am going to have to shelve a general purpose skew for a while – too many details. I need to work on filters that have potential for popularity. I will come back to it later. The scale and shift will effects will work for two of the filters I have in the queue. @ronviers |
|||||||||
Posted: May 25, 2007 7:13 am | ||||||||||
ronviers
![]() |
I finally got the scale to work perfectly across the entire range from all the way small to all the way large.
![]() Thanks Scale_Shift.ffxml @ronviers |
|||||||||
Posted: May 26, 2007 9:34 am | ||||||||||
Kraellin
![]() |
very nice. one little nit-pick here; 'scale up' would be better named as 'magnify', since that's what it's doing. 'scale down' is fine.
If wishes were horses... there'd be a whole lot of horse crap to clean up!
Craig |
|||||||||
Posted: May 26, 2007 1:12 pm | ||||||||||
ronviers
![]() |
Magnification, for me personally, has connotations of spherical aberration so how about this one:
Resize_Move.ffxml @ronviers |
|||||||||
Posted: May 26, 2007 1:56 pm | ||||||||||
ronviers
![]() |
After a little more thought I realize this new terminology suffers from the same inconsistency as the last. When the filter is used on an object or image smaller than the artboard, like a small heart or a soup can, then everything is fine. It’s when the ‘Scale Up/Increase Size’ slider is used with an external image that is normal size that it becomes inconsistent. So for now I decided to go with Resize/Crop/Move for the name and I changed the controls internally to ‘Reduce’ and ‘Enlarge/Crop’ for a more photographic theme.
Thanks for pointing this out and I am still open to any other suggestions. Resize_Crop_Move.ffxml @ronviers |
|||||||||
Posted: May 26, 2007 7:45 pm | ||||||||||
ssamm |
Cool. Nice job getting an auto-mask to go with the shrink effect, Ron.
![]() |
|||||||||
Posted: May 26, 2007 9:57 pm | ||||||||||
Kraellin
![]() |
well, like i said, it's a nit-pick. the filter works fine
![]() If wishes were horses... there'd be a whole lot of horse crap to clean up!
Craig |
|||||||||
Posted: May 27, 2007 8:35 am | ||||||||||
ronviers
![]() |
Look at how screwed up my rotate is.
![]() ![]() Before I started this I searched the FF filter library and found a ton of rotate filters so I assumed it must be easy to do – I mean, if everyone is doing it. But now I don’t think it is all that easy. I’m not giving up, just frustrated it is taking me so long. w_Rotate.ffxml @ronviers |
|||||||||
Posted: May 31, 2007 4:40 pm | ||||||||||
ssamm |
Ron,
Sorry to hear about your difficulties. (Hopefully it's been educational and maybe even fun, though. ![]()
As far as rotating an image at any angle, I doubt the others would have been able to do this without byRo's original help -- he made a filter doing it that involved sine and cosine math with profile gradients (that blew me away when I saw it). Then uberzev tidied it up with his Any Angle Rotate snippet -- where I think most people have probably just been copying and pasting that into their own filters. But, yeah, it does seem to be a difficult task to figure it out from scratch. |
|||||||||
Posted: June 1, 2007 10:26 am | ||||||||||
ronviers
![]() |
It has been one of the most enjoyable problems I have ever worked on.
![]()
Yeah, it has come to that. I was just reading in my trig book about converting from rectangular to polar coordinates. It looks like square root may be a problem. I wrote a square root program for my calculator years ago but it was iterative so I don’t think it will apply to FF. I hope to get a large chunk of time this weekend to work on it but real life is always butting in. @ronviers |
|||||||||
Posted: June 1, 2007 10:37 am | ||||||||||
ronviers
![]() |
I expected the square of the linear and impulse components to give me the square of the r’s for one quadrant but it appears to return the entire plot of the circle formula! What’s up with that? That would necessitate square roots...right? - definitely back to the books for me.
![]() BTW, ignore the bottom group – it’s just more goofing around. Polar.ffxml @ronviers |
|||||||||
Posted: June 1, 2007 6:48 pm | ||||||||||
ronviers
![]() |
This top group (y squared) shows what I *expected* to get from the previously mentioned configuration. I’m not sure what’s going on here but I was noticing the graph of the square root of x appears to be identical to the graph of x squared but at a right angle. So it may be that square roots can be derived simply by placing curves and gradients at right angles to one another.
This weekend turned out to be a bust so I will get to look at it again some time next week. Polar.ffxml @ronviers |
|||||||||
Posted: June 1, 2007 8:36 pm | ||||||||||
ssamm |
I dug up what I think is the original byRo filter ("Rotate All Angles") -- where he even put comments (via controller boxes) inside the filter explaining his math formulas. I'll attach it here, in case you get curious.
I also noticed that CFandM had his own version of rotation in one of the Snippets sections. I think it even pre-dated byRo's version -- which impressed me. Rotate All Angles.ffxml |
|||||||||
Posted: June 2, 2007 1:17 am |
Filter Forge has a thriving, vibrant, knowledgeable user community. Feel free to join us and have fun!
33,711 Registered Users
+18 new in 30 days!
153,531 Posts
+39 new in 30 days!
15,347 Topics
+72 new in year!
16 unregistered users.