free hit counters
Although I seem to suck at photomanipulations.... - The Process Forum
The Process Forum  

Go Back   The Process Forum > Content Forums > Transformation

Inflation and Process ClipsProcess Productions Store Inflation and Process Clips

Reply
Thread Tools Display Modes
Unread 09-22-2007   #1
OldDog
Guest
 
Posts: n/a
Although I seem to suck at photomanipulations....

I can program a bit. Witness the output of the first version of my program! And marvel! Maybe!

test1.jpg is the main window with a test image loaded. The left side options are sparse because I deleted some things on there and haven't moved things around. This is a completely beta/alpha project at the moment so it's kind of empty.

test2.jpg shows a selection. Those little red dots are from me clicking on the image. Each click makes a red dot and connects itself to the previous dot. Clicking on the first dot again will enclose the selection. You can adjust dots after you've set them down but I haven't (yet?) added the ability to add/delete dots after you've enclosed the whole thing. Also notice I've changed some of the options on the left side. The "P" button lets me use an existing color from the image.

test3.jpg is the output from the Grow button. Right now the "algorithm" (a word I use extremely loosely here) is pretty simplistic. Not really hair-ish or fur-ish. It's all generated from within the selection although some may extend past the border. I did that to make it a little more realistic.

test4.jpg is what shows when you save the selection. This is a placeholder until I came make it look a bit prettier. I'll make it nearly transparent in future versions. This was just to have *something* in the meantime. You can have as many different selections as you like and change the settings for each selection to vary the hair/fur.

test5.jpg is the final output image from clicking "Save Image"

test6.jpg is just me showing how multiple selections would look. I've overlapped them.

So, yeah, that's it for now. You can adjust the density of the hair/fur, the angle, length, color and transparency. The (cough) "algorithm" does a bit of randomness for every single hair/fur so that they look a tad more natural.

I plan on adding more features shortly. The first one will be to allow you to add multiple colors to a selection and set the percent that they would be used so you can have a dominate brown color and a far less dominate grey/whatever color so the hair/fur is really random.

I don't know yet what I'll do with the final product. I'm varying between freeware/donation-ware/pay(probably $1-$5 if so).

So although I suck at drawing fur, I can make a program to do it for me
Attached Images
File Type: jpg test1.jpg (67.7 KB, 227 views)
File Type: jpg test2.jpg (69.7 KB, 118 views)
File Type: jpg test3.jpg (74.7 KB, 111 views)
File Type: jpg test4.jpg (66.9 KB, 85 views)
File Type: jpg test5.jpg (35.2 KB, 176 views)
File Type: jpg test6.jpg (34.8 KB, 303 views)
  Reply With Quote
Unread 09-22-2007   #2
Dontino
Bored of being an asshole
 
Join Date: Jun 2005
Location: Canada
Posts: 693
Quote:
Originally Posted by OldDog View Post
So although I suck at drawing fur, I can make a program to do it for me
Impressive.
Dontino is offline   Reply With Quote
Unread 09-22-2007   #3
ivan11422
Process Disciple
 
ivan11422's Avatar
 
Join Date: May 2006
Posts: 1,144
cool
ivan11422 is offline   Reply With Quote
Unread 09-23-2007   #4
CNash
What would you rather be?
 
CNash's Avatar
 
Join Date: Aug 2005
Posts: 714
Anything that makes photomorphing easier is, by default, a wonderful creation. Let us know when the full version's ready to distribute!
__________________
"And the Lord said, 'Come forth and receive eternal life.' But John came fifth and won a toaster."

Avatar by Geckz
CNash is offline   Reply With Quote
Unread 09-23-2007   #5
Spacix
Process Fan
 
Spacix's Avatar
 
Join Date: Jun 2005
Posts: 72
kinda looks like it's written in VB... but looking good still
Spacix is offline   Reply With Quote
Unread 09-24-2007   #6
OldDog
Guest
 
Posts: n/a
Amazing. In all my years of programming, I had no idea that VB uses completely different controls than other programming languages. So much so that someone can just glance at a screenshot and say, "Oh - it's VB." :sigh:

No, it's not. Good guess, though. And even if it were, I'd say "So?" As long as a program does what it's supposed to do, and does it well enough to please the user, I've always figured that it doesn't matter *what* it's written in.

Sorry for the small rant. The word choice was bad and I've always felt VB programmers got a bad rap.

[Edit] Sorry for the post >_< I was up at 4 am and cranky.

Last edited by OldDog; 09-24-2007 at 04:07 PM.
  Reply With Quote
Unread 09-24-2007   #7
Spacix
Process Fan
 
Spacix's Avatar
 
Join Date: Jun 2005
Posts: 72
Oh nothing wrong with VB at all...

Yea you can get a feel of how controls and layouts get "setup" due to defaults per different platforms; but no you can't just "tell" but you can do some guesstimating to get close...

Soon as you look at the app running or its hex it is easy to tell though

try 2: maybe C#? but the default icon for the from still tells me VB, most all others replace it with something else...

Last edited by Spacix; 09-24-2007 at 10:32 PM.
Spacix is offline   Reply With Quote
Unread 09-25-2007   #8
OldDog
Guest
 
Posts: n/a
I've updated the program a lot and ran through a quick full body.

If you load up back01.jpg and look at the left side you'll see the new options and such. I've removed the useless preview box and added fields. Mostly in the color area. The first Pcnt field is used if doing multiple colors in one area. The code tries the colors in order until a color is selected. So if the first color is 30 percent, a random check of 100 will pick the color if the result is 0-30. If not, it checks the next color the same way. Shade allows you to add in a random amount of shading change. If the selected color is brown and you change shade to 10/10 and a percent of 30 then when determining the color, a random check of 100 will pick a shade on 0-30. It then basically flips a coin to see whether to lighten (the first shade field) or darken (the second shade field) the color. This is done for every single "hair" in the area.

The other new thing is the "Save Seq" button. This will do a sequence of images that "grow" the hair out. There's a little bit of randomness so that the hair does not all grow uniform. I have to tweak that part a bit. I want to add in a little code later that will lighten the ends of the hair automatically to add a touch more realism. That'd also make it better looking when the sequence comes out.

back01.jpg shows me selecting the back area.
back02.jpg shows the results of the grow button. Notice the different fields on the left and their values.
back03.jpg shows me selecting and growing the area around the nape of the neck. Also, notice the back is now shown in a transparent blue color. This is so you can see the previous areas without the program having to redraw the hair every time.
back04.jpg shows me selecting and growing the area around the butt. I only did a little bit here since she's wearing panties. You'll also see that the neck is highlighted a red rather than blue. I use a simple rotating color scheme so that it's a little easier to see the different areas.
back05.jpg shows the left leg
back06.jpg shows the right leg

back07.jpg shows the results after clicking "Save Image".

back-seq.rar is an archive of images after clicking the "Save Seq" button. Nothing spectacular but it's the first trial run of that.

What do y'all think? It took less than 5 minutes to get the final result. I'd like to profit a little bit by this to keep me working on it so I'd like to hear the opinions of the photomanipulators here. Would y'all be willing to pay $5 for something like this? With free updates for the product life?

Oh, and not C# either
Attached Images
File Type: jpg back01.jpg (409.5 KB, 49 views)
File Type: jpg back02.jpg (510.2 KB, 51 views)
File Type: jpg back03.jpg (397.0 KB, 41 views)
File Type: jpg back04.jpg (395.4 KB, 29 views)
File Type: jpg back05.jpg (391.9 KB, 23 views)
File Type: jpg back06.jpg (395.5 KB, 42 views)
File Type: jpg back07.jpg (314.6 KB, 145 views)
Attached Files
File Type: rar back-seq.rar (1.81 MB, 17 views)
  Reply With Quote
Unread 09-27-2007   #9
odysseusut
Frequent Poster
 
odysseusut's Avatar
 
Join Date: Jan 2007
Posts: 187
Is there any chance you could implement something more like a brush, where the angle of the hairs and fur follow the direction that the brush follows (as opposed to selecting a large area and having all the fur grow at approximately the same angle across that entire area). I would consider getting this tool if it did produce slightly more realistic fur.
odysseusut is offline   Reply With Quote
Unread 09-27-2007   #10
OldDog
Guest
 
Posts: n/a
What constitutes "slightly more realistic fur" ? The ability to do the brush as you mention or something else? As for the brush ability, that's more or less the idea of the areas that can be defined. I could think about how a brush might work but mostly it's that you can create as many areas you want with whatever angles/colors/etc... per area. I just did the whole back as one because I'm lazy and was in a hurry.

As a side note, I'm all ears as to how I could make the hair look more like fur. I'm not exactly sure how to represent it graphically. The straight lines are a semi-decent placeholder until then.

Did the latest set of picture just not look right at all?
  Reply With Quote
Unread 09-27-2007   #11
odysseusut
Frequent Poster
 
odysseusut's Avatar
 
Join Date: Jan 2007
Posts: 187
Quote:
Originally Posted by OldDog View Post
What constitutes "slightly more realistic fur" ? The ability to do the brush as you mention or something else? As for the brush ability, that's more or less the idea of the areas that can be defined.
Yep

Quote:
Originally Posted by OldDog View Post
I could think about how a brush might work but mostly it's that you can create as many areas you want with whatever angles/colors/etc... per area. I just did the whole back as one because I'm lazy and was in a hurry.
One way you could perhaps implement it is to take and average of positions every 3-5 pixels perhaps and then calculate an angle and apply fur to the area that the brush has gone over? I'd have to do a bit of thinking about this. I'm a programmer too so I'll let you know if I come up with any ideas as to how to go about such a thing. Instead of selecting areas bit by bit, the brush radius/shape/size would act as a selection and it would draw every x amount of pixels moved?
odysseusut is offline   Reply With Quote
Unread 09-29-2007   #12
OldDog
Guest
 
Posts: n/a
I'll also give it some thought.

In the meantime, I've decided to release the program as donation ware.

http://olddog0277.googlepages.com/home
  Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:19 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.