Click here to Skip to main content
Sign Up to vote bad
good
See more: C#
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 6 Oct '12 - 4:15
Edited 6 Oct '12 - 4:17

Comments
Arun (Multithreaded) - 6 Oct '12 - 10:25
You have a big idea. But no idea?
BillWoodruff - 7 Oct '12 - 0:30
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 ?

2 solutions

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.
  Permalink  
Comments
BillWoodruff - 7 Oct '12 - 0:31
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:05
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.
  Permalink  
Comments
BillWoodruff - 7 Oct '12 - 0:35
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:21
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)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 398
1 Arun Vasu 381
2 OriginalGriff 345
3 Aarti Meswania 210
4 Maciej Los 196
0 Sergey Alexandrovich Kryukov 9,755
1 OriginalGriff 7,559
2 CPallini 4,018
3 Rohan Leuva 3,362
4 Maciej Los 2,951


Advertise | Privacy | Mobile
Web04 | 2.6.130523.1 | Last Updated 6 Oct 2012
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid