DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

Displaying images

Started by scottk, June 10, 2014, 07:49:14 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

scottk

Hi There,

I am at the point in my drawings where I am trying to load and work with images (ie. wall mounted air conditioners)  I can load this, resize it, and get it close to where I want.  I am finding when I rotate, the picture moves off the drawing area.  When I color the drawing, I cannot see the image.  Could you give me some direction on this.  I have attached the drawing.

Thank you

minstrel

#1
To be able to rotate imported images you'll need to insert them as 3D entities [Texture Mapping].  Normal 'import image' is best used for reference/tracing only; not 3D manipulation.

It's a bit of a procedure...so take it easy and try to follow along.

Begin in 3D mode by making a rectangular 'plane' [any size for now].
Next, double click on the rectangle[or select it and hit Ctrl + I].  The info box opens.
Select the 5th icon 'texture mapping' and under 'texture' click on the folder icon and search for your bitmap image.
When it's file name shows leave the 'mapping mode' settings as they are for now pic #3...then hit 'Apply'.
Now go to 'Shading' Options and duplicate the setting I show in pic #4.
You can now size/rotate/scale your bitmap image texture as desired in 3D Space.  Neat, ain't it.

Just remember, this is only the beginning...there is much to learn and experiment with here.  Read up on "Texture Mapping" in the manual.

Hope that helps get you started.





scottk

Thank you for the screen shots, that will help immensely

minstrel

Yea,  those picture help, don't they?

There are lots of ways to approach 'image textures'... box mapping will be your next challenge [ it allows separate bitmaps for top/bottom/front/back and sides....


scottk

Yep, I will definitely read up to, as I have chance.

scottk

Begin in 3D mode by making a rectangular 'plane' [any size for now].

Do I need to extrude the plane?

minstrel

#6
Nope...that will come after you get a feel for it!  That's when the 'box' mapping I mentioned could/would be applied.

edit - ...and be sure you are not trying to do this in your original file.  Start with an empty drawing and keep it simple to you know how it works!

scottk

I am finding after I hit apply the mapping screen stays. If I close it, the rectangle goes back to being a plane. When I do the shading(after hitting apply and letting the texture box remain), it turns purple, did I miss something?

minstrel

#8
Quote from: scottk on June 10, 2014, 11:04:30 AM
did I miss something?

Seems that way...but you are almost there!
Did you see the image inserted into the plane at all during the process?  If not what file type are you trying to use?

If you see the image but it's 'highlighted' just click anywhere on the screen to de-select it.
added - Carefully go over each of the 4 pics and make certain you duplicate the settings I show. 

scottk

I did see that. I will recheck that. As far as I can tell I did what you showed me, but I might have missed something there.
Thank you

Dr PR

Scott,

The purple color happens because the object is selected. Deselect the object and it's normal color or texture map will appear.

The "Tools/Texture Mapping" dialog is another way to assign textures and change their scale.

The attached image shows a few of the ways you can use texture mapping. The "picture on the wall" is a plane with a photo mapped onto it, with a surrounding plane with a material (Pearl?) assigned to it.

The cube has a single picture mapped to all six sides.

The sphere has a red circle surrounded by a white background mapped onto each facet.

When you map a picture to a plane or a facet of a solid the photo will be stretched to match the dimensions of the facet. So on the sphere the red circles are warped into red ovals.

For your air conditioner be sure the plane has the same aspect ratio width to height as the photo, or the mapped image will be stretched and distorted.

Phil
DesignCAD user since 1987

scottk

Now the image is not sticking after I hit apply.
Did I hit a wrong command somewhere?
I attached the last save

magic

Hi Scott,

1) The apply button only gives you a brief notion of, what it's going to look like. Texture mapping only shows in Phong shading. Click the Shading button and select Phong as your shading option.

2) The texture files that you use must always be present in the relative path that they were, when you added them to your drawing. That means that when you submit a DesignCAD drawing with texture mapping, you must also submit the texture files.
It's a kind of magic!




minstrel

#13
Quote from: scottk on June 11, 2014, 06:57:48 AM
Did I hit a wrong command somewhere?

It's difficult to trace your errors. 

It's really best to follow my recommendation to 'experiment' with this technique in an new/empty file.  Once you can consistently work with 'texture mapping' you can then revisit your original project. 

Edit - I re-attached image#4  Pay close attention to the settings.  Everything you need to get started has already be revealed in my posts and attachments.  Do yourself another favor...until you can master a single plane "image texture" do not move onto any of the other texturing options.

minstrel

Quote from: scottk on June 11, 2014, 07:28:08 AM
I am really starting to wonder about this program, if it is really that good.

Scott,  I just added to my previous post...just more advice and encouragement.

Just keep at it.  If you expected to 'master' DesignCAD in a short time frame...well, perhaps that expectation was a bit too unrealistic.  It should be quite oblivious that this forum is a great place to seek friendly help and guidance. 

Now get back to work ;)