News:

When posting a problem be sure to include which version you are using.  Give as much information as possible.  If the problem is with a specific file be sure to attache it to your post.

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.

image wrapping

Started by extra230, March 13, 2010, 06:10:22 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

extra230

I'm trying to wrap an image onto a thin box as in Henry Hubich's photorealism pdf.
I created the material from a jpeg image. When I render the box in draft mode I just get a black box. When I render in quality or advanced mode the box appers to white out completely. Any ideas on where I am going wrong?

Henry Hubich

Quote from: extra230 on March 13, 2010, 06:10:22 PM
I'm trying to wrap an image onto a thin box as in Henry Hubich's photorealism pdf.
I created the material from a jpeg image. When I render the box in draft mode I just get a black box. When I render in quality or advanced mode the box appers to white out completely. Any ideas on where I am going wrong?

If you're using v16 and applying the various Reflectance "Factors" (e.g., Ambient, Diffuse) as described in my book, they are too high by a factor of 100! For example, a material with Ambient Factor = 100 may look fine in every TCad version through v15, but it will be totally whited-out when rendered in v16. You'd have to set Ambient Factor = 1 to get the same effect in v16.

Fortunately, the program automatically corrects materials created in earlier versions when older files are opened in v16. But when creating new ones in v16, you must be aware of the 100-to-one factor.

Henry H

Henry H

extra230

Thank you Henry, I'll give that a try. I am using V.16.

extra230

#3
No joy. Changing those settings did make a difference though, I now get the black box in all render modes. It seems less black in advanced render. Could the problem be that the material is from a jpeg image and not a bitmap? Also wondering about the width and height settings below the aspect ratio setting. Tried leaving them at the default of 1 and also changing to the size of the box but it seemed to have no effect.


Just tried a bitmap image and I now get a light gray box upon render, so something seems to be happening, just not getting my image.

Henry Hubich

Quote from: extra230 on March 14, 2010, 09:43:18 AM
No joy. Changing those settings did make a difference though, I now get the black box in all render modes. It seems less black in advanced render. Could the problem be that the material is from a jpeg image and not a bitmap? Also wondering about the width and height settings below the aspect ratio setting. Tried leaving them at the default of 1 and also changing to the size of the box but it seemed to have no effect.


Just tried a bitmap image and I now get a light gray box upon render, so something seems to be happening, just not getting my image.

Jpeg works as well as bmp.

Forget about "Advanced" rendering until you get the thing working in Quality|Full and Quality|Raytrace Full.

Default width & height settings are usually best, but that wouldn't affect the brightness of the result anyway.

Post the drawing plus the image you're trying to wrap and someone will probably be able to fix it for you.

Henry H

extra230

This is the file and the image.

Jeff_in_90620

Even with directions, image wrapping isn't as easy to work with as one would like (especially if that "one" is me).

Try creating a large (in X & Y), thin (in Z) Box and wrapping the image to it.  See where it ends up, then adjust the offset, scale, etc. to get close to what you want, then go from there.

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

Quote from: extra230 on March 14, 2010, 10:39:44 AM
This is the file and the image.

There are a couple of other gotchas in v16 that I failed to mention. Fix the following (leaving all other settings as you have them) and all's well:

1. In the "Pattern" dialog, set Scale, Aspect ratio, Width, and Height ALL to 1.0;

2. In the "Wrapping" dialog, set Aspect ratio to 0.76.

Fortunately, v16 does include Help for the dialogs in the Material Editor. Click the "question mark" icon beside the box that displays the kind of Pattern, Reflectance, Transparency, Texture, or Wrapping you have selected.

Henry H

extra230

Thank you Henry, works great now. The differences between v16 and the version of your book seem to be in the pattern dialog settings, reflectance factors, and aspect ratio now being a decimal number instead of a whole number. Thanks again for your help.