[Plugin] UVTools v0.1
-
Dear Dale,
I have very little experience of rendering and I tend not to texture my models, so I am not too sure how to use a UV tool. By the way, what does UV stand for? If I understand your post correctly, the tool 'wraps' a texture around a curved object by projecting the texture from a plane positioned over and/or under the object. Further, the plane should be positioned so that its normal is along the centreline of the curved object which is itself aligned with the z-axis. Is this correct?
Can one project/wrap textures from a plane over and a plane under an object by dividing the surface area of the object into two along an x-y plane? I imagine a vase with different designs on the upper and lower halves.
Sorry for being so dense.
Kind regards,
Bob -
http://en.wikipedia.org/wiki/UV_mapping
Theres a good illustration of spherical UV mapping there.
And i tihnk UV is just he coordinaet system thats used when applying textures in this way, so thats where the name comes from.
-
...co-o-o-ol!thanks!
-
Thanks Remus!
-
The use is simple. Texture your object, right-click it's surface, and choose either "spherical" or "cylindrical". The size of the maps you set in SU's mat editor.
And you can in fact apply different textures on an object that's been divided in half.
-
what a wonderful plugin - works really good.
cylindrical mapping is even exportet in Indigo (spherical is screwed up a bit)
this is a start of a new world in SketchUp...thank you so much Whaat!
-
@unknownuser said:
on an untextured object causes the fastest splat you've ever seen. Zappp - and SU's gone.
I confirm
-
@plot-paris said:
what a wonderful plugin - works really good.
cylindrical mapping is even exportet in Indigo (spherical is screwed up a bit)
[attachment=0:2hx0fdop]<!-- ia0 -->spherical_zylindrical.jpg<!-- ia0 -->[/attachment:2hx0fdop]
this is a start of a new world in SketchUp...thank you so much Whaat!
Your sphere might have reversed faces. I have seen this type of behavior before in the case of reveresed faces.
-
doesn't work with right face orientation either - I just checked to be sure... still the same messy texture.
indigo would have ignored a reversed face anyway.
but this is the first beta release, and it works perfect in SU!
it is such a wonderful thing (just imagine how easy it is for fred to texture his sculptures now ) -
Stinkie is right.
Lightning BugSplat!!! on non-textured surfaces.
Otherwise works like a charm.
Thanks for such a fun tool too.
dtr
-
Whaat, here is a link that might be of interest to you.
http://ozviz.wasp.uwa.edu.au/~pbourke/texture_colour/spheremap/ -
I have to agree with plot-paris. It doesn't kep it's genuine texture in Kerkythea, either.
But other than that, it works like a charm! Thank you!!! -
@jon said:
I have to agree with plot-paris. It doesn't kep it's genuine texture in Kerkythea, either.
I find this very hard to believe! Please post your SKP file for me to test. Thanks!
-
Well, it fails with every model I've exported so far, but here's the most recent one.
With some models, there seems to be the change of the actual texture when exporting.
The other spheres surrounding the model are the atmosphere and cloud layer.
Thanks again, Whaat!
-
@jon said:
Well, it fails with every model I've exported so far, but here's the most recent one.
With some models, there seems to be the change of the actual texture when exporting.
The other spheres surrounding the model are the atmosphere and cloud layer.
Thanks again, Whaat!Thanks, Jon.
This seems to be an issue with non-triangular faces. If you can somehow triangulate the geometry prior to exporting, then the UVs should still be correct.
My 'Polyreducer' script triangulates all of the faces of a mesh. However, it will also reduce some polys. (The minimum is 10%). Once I triangulated your spheres, I reapplied the spherical mapping and then exported to Indigo. It worked perfect! I expect it to work with other rendering engines as well.
Another script that will triangulate faces is my 'SubD and Smooth' script (but it's not free)
Thanks for posting the scene!
-
Thank for the info, Whaat.
-
and here we go - with a perfect spherical mapping in Indigo!
triangulated faces. thanks whaat, that really did the trick
-
Thanks for the plugin. It works. You might encounter problem of reversed faces in SU and it will look kind of crazy. Reverse faces and it works. Tried quick render in Podium and it works no problem.
-
Excellent work, Dale. The key to decent spherical mapping lies in a combination of triangular faces (no real surprise there) plus enough of them to do the job. Attached is the standard SU sphere which has been given 2 iterations of Subdivide and Smooth to produce much smaller triangles, then a spherical map of the Earth applied. The result is about as good as it gets.
My sincere compliments.I haven't tried it yet, but it may be possible to raise the resolution of the mesh in just the polar regions and achieve pretty much the same result but with far fewer faces.
-
Nice results Alan!
I wil give the plugin a spin this weekend. Another cool Whaat piece of work.
Advertisement