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.

My ongoing struggles with wrapped image material renders

Started by colinreid, May 02, 2013, 06:13:41 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

colinreid

The TCW file contains two wings from my current model.  The wing was lofted from cross sections and then split horizontally so that the upper surface could have a wrapped image for its differing camouflage.  Each surface was wrapped separately using ST Layout as I could not get the image to place properly using any other layout variant.  (I notice that the coverage needs a bit more work on positioning).

The first JPG is the lower wing viewed in Bottom view while the second one is the top wing in World view.

My query arises from the next step as I then mirrored the wing around the centreline.  I then rendered the parts of the wing to check the final view.  I had used the same procedure on the tailplane without coming across the problem evident in the right hand side for the lower part and the left for the top of major differences between the same material when rendered in the mirror copy.

The easy solution would be to form two different materials for the mirrored version but I am keen to profit from problems.  So, has anyone any ideas on what I did wrong?
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

Henry Hubich

My Version 20 installation contains a BUG that interferes with proper rendering of materials using ST Layout wrapping. Not sure your installation contains the same bug, since I'm using a beta build considerably newer than your version and no longer have ready access to yours. However, you should be able to use Arbitrary Plane wrapping successfully in this model.

Henry H

colinreid

I updated to Build 27.4 yesterday.

I will have another go with arbitrary plane but was initially unsuccessful.  I usually  start with that given earlier advice you gave some time ago.

Thanks for the advice.
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

Henry Hubich

Quote from: colinreid on May 03, 2013, 03:55:48 AM
I updated to Build 27.4 yesterday.

I will have another go with arbitrary plane but was initially unsuccessful.  I usually  start with that given earlier advice you gave some time ago.

Thanks for the advice.

You might find the attached article helpful...

Henry H

colinreid

Thanks, Henry but I already had found the article and used it earlier on this year.  Given the number of versions of TC since 2004 and the changes to functions IMSI occasionally slips into upgrades, is it still completely valid as I struggled with some of the parameters being the same today but fudged it at the time.

Clearly, given the numbers of downloads, others are interested.

Now here's radical, any chance of a similar article on UV mapping given Don Cheke's initial enthusiasm and expressed diffidence to non box shapes in an other post recently.

If it is a bug, has it been reported?
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

Henry Hubich

Quote from: colinreid on May 04, 2013, 06:08:05 AM
Thanks, Henry but I already had found the article and used it earlier on this year.  Given the number of versions of TC since 2004 and the changes to functions IMSI occasionally slips into upgrades, is it still completely valid as I struggled with some of the parameters being the same today but fudged it at the time.

Clearly, given the numbers of downloads, others are interested.

Now here's radical, any chance of a similar article on UV mapping given Don Cheke's initial enthusiasm and expressed diffidence to non box shapes in an other post recently.

If it is a bug, has it been reported?

Yup.

Henry H

colinreid

Henry  - would be grateful for a little guidance based on the paper you URL linked.

Five pictures< I am afraid, as the TCW file is too big to post.

116 is the wrapped image setting
117 is the arbitrary setting based on your paper
118 is the world plane view, with the image I am trying to wrap on the left and the result
119 is the arbitrary settings with a solution that has worked for me in the past
120 is the result

Something has obviously changed since and I am at a bit of a loss (well about 4 hours fiddling) on a way to proceed.

Pointers would be gratefully received.
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

Henry Hubich

#7
Quote from: colinreid on May 07, 2013, 05:55:18 AM
Henry  - would be grateful for a little guidance based on the paper you URL linked.

Five pictures< I am afraid, as the TCW file is too big to post.

116 is the wrapped image setting
117 is the arbitrary setting based on your paper
118 is the world plane view, with the image I am trying to wrap on the left and the result
119 is the arbitrary settings with a solution that has worked for me in the past
120 is the result

Something has obviously changed since and I am at a bit of a loss (well about 4 hours fiddling) on a way to proceed.

Pointers would be gratefully received.

Colin, diagnosing the problem without having access to the object and the image file is little more than guesswork. Here are my best guesses...

For starters, in the Pattern dialog, Scale, Aspect ratio, Width, and Height should all be 1.

Next, ensure that the object's own Workplane is the World WP. To do so, switch to the World WP and create a tiny Sphere. Move it to the object's Center of Extents and 3D-Add it to the object, being sure to click on the Sphere first. (While this step is not strictly necessary, since objects on other WPs can be wrapped successfully, I've found that it makes AP wrapping a LOT easier.)

Henry H

colinreid

Henry

I have tried the steps as suggested on May 07 but I dot think it worked.  I am not sure if moving the sphere to the Centre of Extents worked as it is not a Seke I have used before. 

Any ideas what I am doing wrong.

I tried posting yesterday but I had 4 failures and I have no idea why.  The same thing is happening today so I will split the attachments
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

colinreid

The second attachment seems to the problem but why a 1.5MB file does is beyond my paygrade.  It is embedded in the TCW file anyway - I hope
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

Henry Hubich

#10
Quote from: colinreid on May 09, 2013, 05:57:01 AM
The second attachment seems to the problem but why a 1.5MB file does is beyond my paygrade.  It is embedded in the TCW file anyway - I hope

Colin, I'm gonna need a copy of upperwing.bmp. It doesn't seem to be embedded in the TCW file. If the file size causes a posting problem, try resizing the image to 50% in a photo editor. Save under a new name if you don't want to change the original.

...Meanwhile, I see that Scale and Aspect ratio are both set to 1 in the Wrapping dialog. This is correct in the Pattern dialog but incorrect for Wrapping.

Henry H

colinreid

Henry

I have attached the JPG file @0.4 MB as the BMP is the original scan at 40MB.  I had thought the JPG version was chosen for the image (as the original file on my desktop still is) - so I added it again).  In my full model I use the BMP file at 40MB.

The four choices in the material edit dialogue does not contain anything called Pattern only wrapped image, none, none & arbitrary plane.

116.JPG in my earlier post contains what I think the wrapped tab should say.
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

Henry Hubich

Quote from: colinreid on May 10, 2013, 05:20:38 AM
Henry

I have attached the JPG file @0.4 MB as the BMP is the original scan at 40MB.  I had thought the JPG version was chosen for the image (as the original file on my desktop still is) - so I added it again).  In my full model I use the BMP file at 40MB.

The four choices in the material edit dialogue does not contain anything called Pattern only wrapped image, none, none & arbitrary plane.

116.JPG in my earlier post contains what I think the wrapped tab should say.

There are five choices: "Wrapped image" is a Pattern; "Matte" is the Reflectance; the first "none" is a Transparency; second "none" is a Texture; "Arbitrary plane" is a Wrapping mode.

Henry H

Henry Hubich

Quote from: colinreid on May 10, 2013, 05:20:38 AM
Henry

I have attached the JPG file @0.4 MB as the BMP is the original scan at 40MB.  I had thought the JPG version was chosen for the image (as the original file on my desktop still is) - so I added it again).  In my full model I use the BMP file at 40MB.

The four choices in the material edit dialogue does not contain anything called Pattern only wrapped image, none, none & arbitrary plane.

116.JPG in my earlier post contains what I think the wrapped tab should say.

Here ya go, Colin...

Henry H

colinreid

That is brilliant and now to learn it for myself (for instance getting an image on the lower wing.
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

Henry Hubich

Quote from: colinreid on May 13, 2013, 07:20:57 AM
That is brilliant and now to learn it for myself (for instance getting an image on the lower wing.

IMO, Colin, the process of wrapping a material to a nonstraightforward part like yours is a whole lot easier if Part Tree is disabled and any Part Tree info is destroyed by exploding the part. If losing this info makes you nervous, save a renamed copy of the drawing first or do a File>Save Copy As.

Henry H

colinreid

Henry

I had turned History Tree off as a default as it never seems to do anything for me.

So then I got weird.  The first thing I tried to do was copy your settings into my main model but when I rendered I got the same result as 120.JPG above. Confused I was so, I tried to copy your version of the wing and it would not.  Have you protected it some way?

regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

Henry Hubich

Quote from: colinreid on May 14, 2013, 05:42:37 AM
Henry

I had turned History Tree off as a default as it never seems to do anything for me.

So then I got weird.  The first thing I tried to do was copy your settings into my main model but when I rendered I got the same result as 120.JPG above. Confused I was so, I tried to copy your version of the wing and it would not.  Have you protected it some way?

Nope. Be sure you're in Wireframe mode with Perspective turned OFF.

Henry H

colinreid

Thanks Henry.  What is even stranger is that I was in Wireframe and World view with camera perspective off when I tried to copy your wing yesterday.  Today, of course, it copied fine.

Why is it I feel a descent to hell and reinstalling everything coming on and clearing out any "errors" or bugs.
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

colinreid

Henry

At last a successful follow up.  Attached is a screen shot of the underwing after a sphere added and only a small amount of playing with the dimensions in Arbitrary Plane - and bingo nearly a perfect result.

Thanks for the help.
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

Henry Hubich

Quote from: colinreid on May 15, 2013, 06:12:27 AM
Henry

At last a successful follow up.  Attached is a screen shot of the underwing after a sphere added and only a small amount of playing with the dimensions in Arbitrary Plane - and bingo nearly a perfect result.

Thanks for the help.

You're welcome.

...Adding the sphere, BTW, was simply to ensure that the part was on the World Workplane. Not an absolute requirement, but it makes things easier.

Henry H