News:

Please remember to do a search before you ask a question!

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

Insert Aerial Photo - Add New Layer On Top to Trace Features

Started by wdjudd, February 06, 2010, 02:13:32 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

wdjudd

What I am attempting to do:  Insert an aerial photo onto one layer and lock it as the bottom layer, also with capability of hiding/turning on/off the bottom layer.  Then, add a new layer on top of the aerial layer to trace buildings, property boundaries, etc.  The problem that I am having is that I cannot lock the aerial photo layer on the bottom.  Every time I trace a new structure and then click off of the new trace, the aerial photo comes to the top layer hiding all of the tracings, so I then have to select “Send to Back” for the photo.  I would like the aerial layer to always stay behind the tracings even if I select the photo with the pointer tool, so that I can always see all of the tracings on top of the photo.  The feel that I am trying to achieve is as if I took a hard copy photo, placed a clear sheet of plastic on top, traced all features I desired in the photo, and then remove the photo from the bottom leaving only the tracings.  Can someone please advise of the best way to accomplish this task? I apologize if I am asking a very basic question but I am new to this program.  Thanks for your patience with me.

Jeff_in_90620

I think you would be best off doing an image map that applies the aerial photo to the top of a box that will be "ground" level.  Place the box on the bottom layer and turn it on and off as desired.

As simple as that sounds, it isn't as easy as it should be.

The following sequence should work:
Create a box that has X & Y dimensions to match the real-world boundaries of your aerial photo.  This box should be thin in the Z direction.
Place the box so the top surface is on the "ground".
Double-click on the box to highlight it and open the Properties popup.
On the left side, click on "3D".
Click on "Edit Material".
Near the top center of the Material Editor popup, there is a folder icon that will identify itself as "New Category" when you position the mouse over it.  Click on it and enter "Images".
Directly underneath, click on the "New Material" icon.
In the popup, choose a name that will identify the image as being the aerial view of this project (I'll just use "aerial1") and click on OK.
Click on the Pattern tab (the top icon that looks like a painter's palette in the white box at the left of the Material Editor popup).
At the top of the central section of the popup, the selection gadget will probably say "Base" (the default until it's been changed).
Select "Wrapped filtered image", then click on the yellow folder gadget just to the right and find the aerial image you want to use.
On the left side, click on "Reflectance".
In the central section, select "Matte" from the selection gadget (it should say "Base" until it's been changed).  You may want to change the "Ambient factor" and "Diffuse factor" settings, but I really can't say what values you will prefer, so just remember to come back to this point and experiment after you have the image placed and visible.
At the left, click on "Wrapping".
In the selector gadget, choose "Arbitrary plane".
At this point, it will be a bit time consuming to position and scale the image as you want.  Henry is much better at this than I am, but he doesn't visit the forum as often on the weekends.  What I do is make the box very large and see how the image maps onto it, then adjust the scaling (both in the Pattern tab above and here in the Wrapping tab).

What I do is position the TC window at the left, select the box and invoke Quality Render so I can see the image on it.  If you are prompted to approve default lighting, cancel and make sure you are in the Top view so the lights are properly positioned, then choose Quality Render.

Now bring up the Properties Material popup and move it to the right so you can still see the box.  Click on 3D and go into the Material Editor; it will pop up over the Property Editor, so you can still see the box.

Play around with entries in the Pattern and Wrapping tabs (clicking "Apply" with each change) until you get the view you want.

Jeff
Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)

Henry Hubich

"Arbitrary Plane" wrapping of an image in v16...

To place a single copy of a given image onto the top face of a 3D Box (created as a Solid!) without distortion, the proportions of that face must be the same as the proportions of the image. Actual dimensions of the image and the box don't matter; only their proportions are important. Set the Wrapping parameters as follows:

Scale = the X dimension of the box;
Aspect ratio = Y dimension of the box divided by the X dimension;
Origin = negative 1/2 the X dimension, negative 1/2 the Y dimension, zero;
Normal vector = 0,0,1;
Up = 0,1,0

If you look at the rendered object in an isometric view, you'll notice that the image "bleeds" onto the sides. There are ways to avoid this, but they introduce a new level of complexity and probably aren't worth the trouble in your application.

Henry H

Jeff_in_90620

Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)

Henry Hubich

Quote from: Jeffin90620 on February 06, 2010, 06:25:09 PM
This approach sure doesn't work for V15.

Jeff


Sure doesn't. Prior to v16, Aspect ratio = Y dimension divided by X dimension, multiplied by 100. For example, if the X dimension is 20 and the Y dimension is 10, Aspect ratio = 50.

Henry H

John R

re: drawing on top of a photo

Draw the lines on a layer that has a higher "Order" than the photo.

Have the image on a layer whose "Order" is set to zero.
Have a second layer for the trace lines whose "Order" is set to 1.
The lines will always be above the picture.
If you select the image, that will hide the lines until deselected.
Turn the Image layer off-n-on, the lines are still on top.

[attachment deleted by admin]
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

Orion20036

Quote from: Henry Hubich on February 06, 2010, 04:21:53 PM
"Arbitrary Plane" wrapping of an image in v16...

To place a single copy of a given image onto the top face of a 3D Box (created as a Solid!) without distortion, the proportions of that face must be the same as the proportions of the image. Actual dimensions of the image and the box don't matter; only their proportions are important. Set the Wrapping parameters as follows:

Scale = the X dimension of the box;
Aspect ratio = Y dimension of the box divided by the X dimension;
Origin = negative 1/2 the X dimension, negative 1/2 the Y dimension, zero;
Normal vector = 0,0,1;
Up = 0,1,0

If you look at the rendered object in an isometric view, you'll notice that the image "bleeds" onto the sides. There are ways to avoid this, but they introduce a new level of complexity and probably aren't worth the trouble in your application.

Henry H


Interesting topic this in relation to image wrapping formulae, why do we repeatedly have to seek out formulae ?, when all that is needed is the x and y dimensions and then let the program derive the rest of the parameters from there . This should have been addressed a long time ago, and should also be changed in the form of a patch for older versions. Too many people wasting precious learning hours on something that should be simple. I know that some of the wrapping formulae do also require extra parameters, but nothing  so complex that cannot be done in a smaller number of steps with the program carrying out the extra calculations.


Henry Hubich

#7
Quote from: Michael Geraghty on February 07, 2010, 06:37:59 PM

Interesting topic this in relation to image wrapping formulae, why do we repeatedly have to seek out formulae ?, when all that is needed is the x and y dimensions and then let the program derive the rest of the parameters from there . This should have been addressed a long time ago, and should also be changed in the form of a patch for older versions. Too many people wasting precious learning hours on something that should be simple. I know that some of the wrapping formulae do also require extra parameters, but nothing  so complex that cannot be done in a smaller number of steps with the program carrying out the extra calculations.



Actually the wrapping task addressed here is a special case: One copy of an image wrapped squarely onto a rectangular face. "Arbitrary Plane" Wrapping is rather more versatile than this special case might indicate. One example of this versatility is shown in the attached screenshot, in which the same image was Arbitrary Plane wrapped onto five separate but identical objects to produce five variations of the same "Wood" material. (Those five objects were tiny spheres, which were embedded into the boxes and 3D-Added to them.)

Another approach to AP Wrapping is discussed in the attached .pdf.  (The technique outlined therein remains valid even though the statement about not being able to apply an image to only a part of an object is no longer true.)

Henry H

[attachment deleted by admin]

gboheman

I have used John R's method and it has worked very well.  I have a photo with floor plans on it of multiple buildings and underground utilities I even brought in a topographical map for elevation references.  Every element has its own layer with an estimated 53 layers.
Greg Boheman
version 17.2 Plat.
on Mac book Pro