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.

zebra crossing texture mapping

Started by samdavo, April 24, 2013, 07:39:50 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

samdavo

well, I enclose some jpegs for comment / discussion.
In the course of trying to add a fake thread on a bolt, I tried texture wrapping using a striped picture.

Now I find it is a viable "shading" option.
I enclose
a) the original wireframe
b) the gouraud shading ( plus wireframe because otherwise , imo, it is almost impossible to see the shape properly), and
c) the texture mapped version with the zebra-crossing
d) finally I enclose the texture jpeg I have used.

Next post I will include the dcd if anyone is interested in experimenting.
Cheers
sam

samdavo

#1
And here's the dcd to play with.
cheers sam

PS Maybe you could explain that it's what you would get if there were a lot of closely-spaced (and possibly bent/cranked) fluorescent tubes in the ceiling above the object?

i.e. Think of it as "multiple" light sources that don't take up heaps of memory ( 2 cents)

Anyway, hopefully you'll agree that the zebra-striped version is the clearest to visualise.

samdavo

(Just go to Tools / Texture Mapping / (and browse and select this jpeg file to map/wrap) / and apply).

PS  Here's a finer striped version  (and it's jpeg) - which I personally don't like as much -

Also striped only on top...

Anyway, food for thought for those who like things to be black and white.  :)

MarkX

I'm not sure what your point is. You can get some very different results depending on the mapping you use. Here's one I did with box mapping.

The big problem is that textures apparently do not travel with the drawing. They may even be stored in absolute paths, which would be really, really sloppy. In any event, since the texture didn't travel with the drawing, I don't know what your wrap settings were. This would be really tragic if you had spent lots of time texturizing different parts of the drawing, and then sent it on to a client.

For stretching, either Gouraud or Phong will work. But if you start tiling  the results are only sane with Phong (if memory serves).

Have fun, or else.
Mark

samdavo

aHHHH - again, you are miles ahead of me Mark - that's infinitely better.
But how the heck do you get into "box mapping"?  (sorry - F1 Help doesn't seem to make any sense)

MarkX

Its right there when you're applying texture mapping. Just to the right and below the file path.

The default is warp mapping, which probably works on regular (uncut) shapes.

Mark

samdavo

#6
Sorry I hadn't realised that you also used the jpeg (and hence most of those options were greyed out) - my bad.

But likewise, I find I can (at last) simulate that bolt thread (discussed elsewhere) just using texture mapping after all  !  (as I believe you suggested way way back).

Enclosed box mapping of that jpeg on a bolt refers :-
cheers sam

PS Heck, I had tried to wrap that flaming photo around that flaming bolt every which way - (including what I thought was obviously the best shot, "cylindrical wrap") -  and finally concluded that texture mapping was for the artists among us -  only to now find ( with your assist) that with box mapping it shows heaps of promise after all.  thanks.
(one for manyana for me - cheers m8).

PS You know what the Mexican put under his carpet don't you? 
underlay underlay!...

samdavo

dcd enclosed/attached if you're interested.
(which I've somehow managed to load twice lol.  sheesh, I'm off to bed! 4am.)