Previous in Forum: Installing SIMATIC s7 v5.3   Next in Forum: Profiles for Vivaro / Trafic / Primastar Vans
Close
Close
Close
13 comments
Rate Comments: Nested
Power-User

Join Date: Jul 2008
Location: Adelaide, Australia
Posts: 403
Good Answers: 14

Pasting a 3D Model on an Image

02/01/2010 5:21 AM

I've started a business making awnings for windows and would like to offer a service where the potential customer emails me a photo of the house, with the window dimensions and I add the awnings and email the image back.

I have a solid model of the awning that I can scale, rotate and change perspective.

I wonder if there is a dedicated software for this. As it is a startup business the coffers are low.

Thanks Tony

__________________
The nice thing about Standards is there are so many to choose from.
Register to Reply
Pathfinder Tags: image manipulation solid model
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Guru

Join Date: May 2006
Location: Placerville, CA (38° 45N, 120° 47'W)
Posts: 6215
Good Answers: 248
#1

Re: Pasting a 3D Model on an Image

02/01/2010 11:50 PM

Any software that allows you to paste one image on top of another should do. It sounds like you have some form of CAD for the model. That program should do it...

Paste the image of the house, and measure where the awning will go (in pixels). If necessary, once you have the awning rotated and scaled correctly, you can do a partial screen capture (on a Mac, Shift-control-command-4 captures the selected part of the screen to the clipboard; I presume there is something similar on PCs). Then paste the awning over the house.

__________________
Teaching is a great experience, but there is no better teacher than experience.
Register to Reply Score 1 for Good Answer
Guru
Engineering Fields - Electromechanical Engineering - Technical Services Manager Canada - Member - Army brat Popular Science - Cosmology - What is Time and what is Energy? Technical Fields - Architecture - Draftsperson Hobbies - RC Aircraft - New Member

Join Date: Sep 2006
Location: Clive, Alberta, Canada
Posts: 5916
Good Answers: 204
#6
In reply to #1

Re: Pasting a 3D Model on an Image

02/02/2010 12:35 PM

GA

Register to Reply
Guru
Engineering Fields - Electromechanical Engineering - Technical Services Manager Canada - Member - Army brat Popular Science - Cosmology - What is Time and what is Energy? Technical Fields - Architecture - Draftsperson Hobbies - RC Aircraft - New Member

Join Date: Sep 2006
Location: Clive, Alberta, Canada
Posts: 5916
Good Answers: 204
#2

Re: Pasting a 3D Model on an Image

02/02/2010 1:20 AM

If you have reasonable computer skills, this software is easy to learn and use... you can get going in an hour, and I would suggest if you are integrating your product in a detailed way, you can actually develop framing plans..etc.

other software that is very expensive and top of the heap is called Chief Architect, but the do sell a version through better homes and gardens that is similar to Punch. I have purchased both but not Chief as it is 3K$

If you have 3D viewing software for your models, you can rotate and use PrintScreen to capture a view, and then paste into Adobe Photoshop or Corel Photopaint, et al, and use transparency to allow the white background to disappear, leaving your image of your product overlaying the background of the house, so that was a good post by your other contributor. Both PS and PP have the ability to distort the overlaid image, so you can alter it slightly to account for issues in perspective that your 3d viewer may not have gotten perfect.

If you are doing this commercially, then I think Corel is more affordable than Photoshop, but I don't know all the capabilities of Adobe Elements, which might also be capable.

If you send me some samples, I can create an estimate of the difficulty involved. Whatever you wish, I am willing to help..

chrisg288@hotmail.com

Register to Reply
Anonymous Poster
#3

Re: Pasting a 3D Model on an Image

02/02/2010 2:36 AM

use google sketchup 7

Register to Reply
Power-User
Australia - Member - New Member

Join Date: Jul 2006
Posts: 267
Good Answers: 22
#4

Re: Pasting a 3D Model on an Image

02/02/2010 3:14 AM

Google Sketchup - it's free so it can't break the bank.

Takes a couple of evenings to learn (if you're good on image software you'll have it working in 3 minutes) - it's by far the most user-friendly 3D image manipulator I've used.

There is a pro version you have to pay for - I actually don't think it costs much (not sure of current price), but watch that you are downloading the freebie as a trial, because they make it easy to download the pro version accidentally, which will stop working after the trial period.

Good luck.

Register to Reply
Power-User

Join Date: Jul 2008
Location: Adelaide, Australia
Posts: 403
Good Answers: 14
#7
In reply to #4

Re: Pasting a 3D Model on an Image

02/03/2010 4:06 AM

Thank you all for your help, I'm working my way through SketchUp. As an engineer I tend to work on small components and I need to get a better understanding of prespective, especally the camera point of the photo. I'm not quite sure how to place the photo, sample attached.

Tony

__________________
The nice thing about Standards is there are so many to choose from.
Register to Reply
Guru
Engineering Fields - Electromechanical Engineering - Technical Services Manager Canada - Member - Army brat Popular Science - Cosmology - What is Time and what is Energy? Technical Fields - Architecture - Draftsperson Hobbies - RC Aircraft - New Member

Join Date: Sep 2006
Location: Clive, Alberta, Canada
Posts: 5916
Good Answers: 204
#8
In reply to #7

Re: Pasting a 3D Model on an Image

02/03/2010 1:53 PM

Hi Tony,

Sorry I can't help you with Sketchup, but the principles shoud be the same.

First you orient your model in your 3d viewer, so it has something of the proper angle, like this.

What I usually do then is capture (print screen) then paste in paintbrush, and crop. like this

then I open both images in photoshop.

and with the awning image, I use the 'magic wand' and the shift key to multi-select the white areas.

and then select Selection|Inverse

now you have just the awning selected without the background white. So now select Edit|Copy, then switch over to the image of the house and paste.

the awning is now on a separate layer in photoshop. You will notice you can drag it around. Now select Edit|Transform|Scale, and use the handles to adjust the size and shape to fit around the window. If you drag in the center of the awning, you can relocate it.

Then select Edit|Transform|Perspective, and you can give the final tweaks to fit. I pasted the right window first.

When it is in place, right click on the Layer1 in the layers swatch, and select Duplicate Layer. Then drag the new layer image over to the left window, and repeat the scale and perspective adjustments for that image.

When done, save (psd) and save as. (jpg)

I would not flatten the image as your customer may want improvements or changes.

final product.

good luck,

Chris

Register to Reply Score 1 for Good Answer
Guru

Join Date: May 2006
Location: Placerville, CA (38° 45N, 120° 47'W)
Posts: 6215
Good Answers: 248
#9
In reply to #8

Re: Pasting a 3D Model on an Image

02/03/2010 5:11 PM

Well Done! And on a PC even...

__________________
Teaching is a great experience, but there is no better teacher than experience.
Register to Reply Off Topic (Score 5)
Power-User

Join Date: Jul 2008
Location: Adelaide, Australia
Posts: 403
Good Answers: 14
#10
In reply to #8

Re: Pasting a 3D Model on an Image

02/05/2010 8:41 AM

Thanks for your time Chris. The result looks good.

Assuming the sides of your awning are at 90°, then the bottom needs to follow a line projected along the side wall. So perhaps I need to draw a box first and use that as a guide.

__________________
The nice thing about Standards is there are so many to choose from.
Register to Reply
Guru
Engineering Fields - Electromechanical Engineering - Technical Services Manager Canada - Member - Army brat Popular Science - Cosmology - What is Time and what is Energy? Technical Fields - Architecture - Draftsperson Hobbies - RC Aircraft - New Member

Join Date: Sep 2006
Location: Clive, Alberta, Canada
Posts: 5916
Good Answers: 204
#11
In reply to #10

Re: Pasting a 3D Model on an Image

02/05/2010 12:01 PM

FYI, its also kind of expected/hoped for around here that if someone gives you a pleasing response and that response is useful for everyone, that you will give it a rating by pressing the 'Rate' button.

Chris

Register to Reply Score 1 for Good Answer
Guru
Engineering Fields - Electromechanical Engineering - Technical Services Manager Canada - Member - Army brat Popular Science - Cosmology - What is Time and what is Energy? Technical Fields - Architecture - Draftsperson Hobbies - RC Aircraft - New Member

Join Date: Sep 2006
Location: Clive, Alberta, Canada
Posts: 5916
Good Answers: 204
#12
In reply to #10

Re: Pasting a 3D Model on an Image

02/05/2010 12:06 PM

I don't really undesrtand the purpose... I guess you are saying my 'perspective' is off slightly. (it was just a demo ) good eye though. I'll think about that one. In photoshop, you can create lines overlaying the image, and they are a separate layer, so then when you paste the awning, you would have that as a guide. I'm not a PS wiz or anything.. there may be something built in to PS called 'guides'.. not sure.

I make extensive use of books, help files, and the internet when I work.. nobody can remember it all.

Chris

Register to Reply
Power-User

Join Date: Jul 2008
Location: Adelaide, Australia
Posts: 403
Good Answers: 14
#13
In reply to #12

Re: Pasting a 3D Model on an Image

02/05/2010 6:27 PM

Hi Chris

As I said, the result looks good and I am very grateful for your time. The comment about the prospective was me, trying to understand what I should be doing to get more realism not a criticism of your excellent work.

On my first attempt, the awning prospective was way out and looked very unrealistic. I need to establish the "camera" position on the photo first, in order to get that correct and may have to use a different software. I think ShetchUp may be the answer and am learning it currently.

I'll post my attempts, thanks again.

Tony

__________________
The nice thing about Standards is there are so many to choose from.
Register to Reply
Guru

Join Date: Feb 2006
Posts: 1758
Good Answers: 6
#5

Re: Pasting a 3D Model on an Image

02/02/2010 8:17 AM

Regards

There was an IPhone program in 1996s' IPhone 4.0 Ver [Ithink] later was upgraded.

In this program was a "Whiteboard" real name [Conference or Inconference] as a stand Alone, by VocalTec Ltd, USA.

It had all the fcillities of pasting as many images as you can save file format was .cfr

I have not seen any such capable appeltte after this.

Try to vontact them if they exist now.

No pasting but draging on or dragging off

Register to Reply
Register to Reply 13 comments

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Copy to Clipboard

Users who posted comments:

Anonymous Poster (1); chrisg288 (5); dkwarner (2); Haajee (1); RobertOz (1); Tonymech (3)

Previous in Forum: Installing SIMATIC s7 v5.3   Next in Forum: Profiles for Vivaro / Trafic / Primastar Vans

Advertisement