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.

spherical wrapping seems broken (v15, 16, 17)

Started by ltorg, September 04, 2010, 05:08:34 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ltorg

TC 15.2: I was trying to wrap a mercator projection image (aspect ratio 2) around a sphere in TC 15, and found that while draft rendering worked fairly well, raytrace full didn't work right (see attached examples)..

So OK, let's try TC 16 or 17... well, no luck..no example pictures because I couldn't get spherical wrapping to work at all, no matter what settings I tried and no matter how many times I read the TC17 manual or the Lightworks 7.9 documentation. Just random blurs with colors that matched the jpeg, but no details.

Any ideas?  thanks,
Leigh

(Side note to Henry H. - I've loved your book since TC V8, and refer to it when I'm in a jam... but in your copious free time :-) you'd be doing us all a great service by updating it some day! Between the new Lightworks engine, new TC features, and the unfortunate dislike companies have for documenting their products, we're in bad shape out here!)

Don Cheke

Quote from: ltorg on September 04, 2010, 05:08:34 PM
TC 15.2: I was trying to wrap a mercator projection image (aspect ratio 2) around a sphere in TC 15, and found that while draft rendering worked fairly well, raytrace full didn't work right (see attached examples)..

So OK, let's try TC 16 or 17... well, no luck..no example pictures because I couldn't get spherical wrapping to work at all, no matter what settings I tried and no matter how many times I read the TC17 manual or the Lightworks 7.9 documentation. Just random blurs with colors that matched the jpeg, but no details.

Any ideas?  thanks,
Leigh

(Side note to Henry H. - I've loved your book since TC V8, and refer to it when I'm in a jam... but in your copious free time :-) you'd be doing us all a great service by updating it some day! Between the new Lightworks engine, new TC features, and the unfortunate dislike companies have for documenting their products, we're in bad shape out here!)

I'd say your softness setting is way too high, try 1 to start. And set your aspect ratio to 1 as well.
Don Cheke
My Blog: One Man's Meanderings

Henry Hubich

This was done in v17.2. The TCW file and the image are attached also.

...Thanks for the kind remark about my book. It's highly unlikely that I'll be updating it.

Henry H

Don Cheke

I tried it in V17.2 to ensure spherical wrapping worked and found that it did.

I did a bit of enhancing with Photoshop with mine though.
Don Cheke
My Blog: One Man's Meanderings

ltorg

Henry, you are a Prince among men! Thanks for the example. In TC17.2, the Wrapped Image Aspect ratio setting is perhaps the aspect ratio of the object you are wrapping, not the image. That change fixed it (plus Don's hint about softness helped.) Sphere => aspect ratio of 1.

The LW 7.9 documentation for Wrapped Image says "Aspect Ratio - Allows the aspect ratio (the width divided by the height) of the texture to be altered this should normally be the aspect ratio of the original image to avoid it appearing squashed when rendered). " WIth my image and its aspect ratio of 2, this is obviously wrong, at least for spherical wrapping.

(The LW7.9 help for Wrapped Filtered Image provides more detail (and introduces a cryptic "texture-space"coordinate system), and is equally wrong, at least for the manner in which TC17.2 programmers integrated the LW engine.)

For TC 15.2, the odd wrapping behavior between draft and quality rendering was fixed by setting the aspect ratio to 10 - then both draft and quality rendering produced the same result. Go figure.

thanks, Leigh

ltorg

Thanks Don - enjoyed your example (and several of your tutorials by the way!) - will forward it to some friends who work at JPL...

keep the tutorials coming!

Leigh