Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

I need to manipulate image files like in adobe phototshop.

Need to drag a 3D image of wig into a 3D photo of a person. I really dont have a clue of how this is done. Please help me.

The application is in Windows platform

Thnak you
Posted
Updated 6-Oct-12 4:17am
v3
Comments
Rock (Multithreaded) 6-Oct-12 10:25am    
You have a big idea. But no idea?
BillWoodruff 7-Oct-12 0:30am    
What exactly do you mean by a 3d image: a true wireframe based mesh or vector structure ? Or a 2d flattened bit-map of an originally 3d file ?

Basically, you need to have two images - the "background" one you are dragging onto, and a second one which is the wig.
I would suggest that you want to handle the Paint even of a panel or similar, and that you need to look at using the Graphics.DrawImage[^] method and also the Region[^] class for setting the area you want to draw the wig into.

This isn't a trivial job at all - you may want to look and see if you can find a basic graphics primer before you go too far.
 
Share this answer
 
Comments
BillWoodruff 7-Oct-12 0:31am    
OG, I think until we know what the OP means by "3d" image here, we cannot conclude much except that the OP is "in way over his head" :)

best, Bill
OriginalGriff 7-Oct-12 4:05am    
Hi Bill - it didn't have the "3D" bit in the question when I answered it! :laugh:

And I thought he was over his head when it was normal 2D images... :sigh:
Hello,
Try to download Paint.NET source code, probably in there you can find implementation of your effect.


On native Paint.NET site sources seems no longer available, I found link for downloading:

http://tanyoivanov.wordpress.com/2012/04/23/paint-net-3-5-source-code/[^]

Regards,
Maxim.
 
Share this answer
 
Comments
BillWoodruff 7-Oct-12 0:35am    
Paint.Net looks alive to me: http://blog.getpaint.net/ as of October 2, 2012.

Until we know what the OP means by "3d" image here, I don't think we can answer them, and, to my knowledge Paint.Net, while offering "simulated 3d effects" on 2d bitmaps, never had any ability to import, and render, true 3d models.

So, I have voted your answer as #1.
Maxim Kartavenkov 7-Oct-12 4:21am    
Paint.NET not offer source code any more - I didn't mention what it's not alive.
And if you are read proper his question - he mention "like in adobe photoshop".
Had you work with such things in photoshop before posting here you questions in comments?
So your comment seems not at right place. Plus making the vote of 1 my solution which can really helps, you just showing that you even not reading proper the question.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900