[Plugin] UVTools v0.1

[Plugin] UVTools v0.1

Postby Whaat » Wed Jun 11, 2008 7:07 pm

This plugin is a work in progress. There is much functionality yet to be added but it is still quite useful in it's current state so I am releasing it.

Installation:
1) Copy to SketchUp/Plugins folder

Usage:
1) The plugin will create a context menu called 'UVTools'
2) Select the faces that you want to project. The faces should all have the same texture applied to them.
3) Select 'Spherical' or 'Cylindrical' from the context menu. The axis of the sphere or cylinder will be parallel to the SketchUp Z-axis and will be located at the center of the all the selected faces. There is currently no option to change this.
4) After performing the projection, you can change the amount of tiling by changing the texture size in the SU Paint Bucket.

Known Issues:
1) Texture position is messed up at the 'poles' of the spherical projection.
2) The plugin may fail due to certain types of faces. No error message will be displayed to the user. (I'll try to fix this, soon.)

Enjoy!

Whaat
3

Whaat 
PluginStore Author
PluginStore Author
 

Re: [Plugin] UVTools v0.1

Postby Dan » Wed Jun 11, 2008 7:19 pm

Very nice - very useful - very promising !
Thanks for sharing those gems, Whaat!
0

Dan 
 

Re: [Plugin] UVTools v0.1

Postby CadFather » Wed Jun 11, 2008 7:27 pm

Whaat Thank You!

lately i'm not even sure what program i'm working on! :D
0
User avatar
CadFather 
PluginStore Author
PluginStore Author
 

Re: [Plugin] UVTools v0.1

Postby juju » Wed Jun 11, 2008 7:32 pm

:enlight: fanks man! :enlight:
0
Save the Earth, it's the only planet with chocolate.
User avatar
juju 
Premium Member
Premium Member
 

Re: [Plugin] UVTools v0.1

Postby Stinkie » Wed Jun 11, 2008 7:34 pm

Much obliged. :thumb:
0
User avatar
Stinkie 
 

Re: [Plugin] UVTools v0.1

Postby remus » Wed Jun 11, 2008 7:37 pm

Cheers, i look forward to trying this plugin out.
0

remus 
 

Re: [Plugin] UVTools v0.1

Postby jenujacob » Wed Jun 11, 2008 7:37 pm

all hail the whaat machine! :D :ecstatic:
0
User avatar
jenujacob 
Premium Member
Premium Member
 

Re: [Plugin] UVTools v0.1

Postby dylan » Wed Jun 11, 2008 7:37 pm

Cool, I shall go and play with this now - Thanks :thumb:
0

dylan 
 

Re: [Plugin] UVTools v0.1

Postby ibon » Wed Jun 11, 2008 7:50 pm

Thanks, Whaat. It's perfect! :thumb:
0
User avatar
ibon 
 

Re: [Plugin] UVTools v0.1

Postby kwistenbiebel » Wed Jun 11, 2008 8:33 pm

Yeah :)....Thank god you didn't leave for Basecamp and stuck with us to deliver some goodies. :fecstatic:
Better news over here than @Boulder ?..... :D
Thank you very much Whaat! :thumb:
0

kwistenbiebel 
 

Re: [Plugin] UVTools v0.1

Postby Frederik » Wed Jun 11, 2008 8:43 pm

Thank you so much..!! :ecstatic:
I read somewhere that people are calling you WhaatUp... :D No wonder why..!! ;)
0
Cheers
Kim Frederik
User avatar
Frederik 
Thea Render Support
Thea Render Support
 

Re: [Plugin] UVTools v0.1

Postby Jon » Wed Jun 11, 2008 8:46 pm

Whaat, you ROCK! :ecstatic: :ecstatic: :ecstatic:
0
Jon
KT Team member

Jon 
 

Re: [Plugin] UVTools v0.1

Postby kwistenbiebel » Wed Jun 11, 2008 8:47 pm

I thought it was Whaat'sUp :D
0

kwistenbiebel 
 

Re: [Plugin] UVTools v0.1

Postby Frederik » Wed Jun 11, 2008 9:19 pm

You're right, Chris... :oops:
Of course it's Whaat'sUp... :D
(I actually wrote that to begin with, but got unsure... :lol: )
0
Cheers
Kim Frederik
User avatar
Frederik 
Thea Render Support
Thea Render Support
 

Re: [Plugin] UVTools v0.1

Postby boofredlay » Wed Jun 11, 2008 10:23 pm

No you are both wrong... it's:

WhaatzzzUp!
With your tongue sticking out...


Thanks again for another nice plugin!
0
User avatar
boofredlay 
Global Moderator
 

Re: [Plugin] UVTools v0.1

Postby Stinkie » Wed Jun 11, 2008 10:58 pm

Tip: trying this plugin on an untextured object causes the fastest splat you've ever seen. Zappp - and SU's gone. :mrgreen:
0
User avatar
Stinkie 
 

Re: [Plugin] UVTools v0.1

Postby Whaat » Wed Jun 11, 2008 11:11 pm

stinkie wrote:Tip: trying this plugin on an untextured object causes the fastest splat you've ever seen. Zappp - and SU's gone. :mrgreen:

Thanks for the comment. This is an easy fix.
0

Whaat 
PluginStore Author
PluginStore Author
 

Re: [Plugin] UVTools v0.1

Postby Stinkie » Thu Jun 12, 2008 6:53 am

Cool. Been fiddling with this baby - works pretty well! Well-integrated too. :thumb:
0
User avatar
Stinkie 
 

Re: [Plugin] UVTools v0.1

Postby watkins » Thu Jun 12, 2008 7:01 am

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
0

watkins 
 

Re: [Plugin] UVTools v0.1

Postby remus » Thu Jun 12, 2008 7:16 am

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.
0

remus 
 

Re: [Plugin] UVTools v0.1

Postby urgen » Thu Jun 12, 2008 7:49 am

...co-o-o-ol!thanks! :ecstatic:
0
--pupil forever...------
User avatar
urgen 
 

Re: [Plugin] UVTools v0.1

Postby watkins » Thu Jun 12, 2008 7:51 am

Thanks Remus!
0

watkins 
 

Re: [Plugin] UVTools v0.1

Postby Stinkie » Thu Jun 12, 2008 8:03 am

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.
0
User avatar
Stinkie 
 

Re: [Plugin] UVTools v0.1

Postby plot-paris » Thu Jun 12, 2008 8:36 am

what a wonderful plugin - works really good.

cylindrical mapping is even exportet in Indigo (spherical is screwed up a bit) ;)

spherical_zylindrical.jpg

this is a start of a new world in SketchUp...

thank you so much Whaat!
0
User avatar
plot-paris 
 

Re: [Plugin] UVTools v0.1

Postby pilou » Thu Jun 12, 2008 8:37 am

on an untextured object causes the fastest splat you've ever seen. Zappp - and SU's gone.

I confirm :lol:
0
Is beautiful that please without concept!
My Little site :)
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] UVTools v0.1

Postby Whaat » Thu Jun 12, 2008 2:50 pm

plot-paris wrote:what a wonderful plugin - works really good.

cylindrical mapping is even exportet in Indigo (spherical is screwed up a bit) ;)

spherical_zylindrical.jpg

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.
0

Whaat 
PluginStore Author
PluginStore Author
 

Re: [Plugin] UVTools v0.1

Postby plot-paris » Thu Jun 12, 2008 3:08 pm

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! :ecstatic:
it is such a wonderful thing (just imagine how easy it is for fred to texture his sculptures now :) )
0
User avatar
plot-paris 
 

Re: [Plugin] UVTools v0.1

Postby dtrarch » Thu Jun 12, 2008 3:53 pm

Stinkie is right.

Lightning BugSplat!!! on non-textured surfaces.

Otherwise works like a charm.

Thanks for such a fun tool too.

dtr
0

dtrarch 
Premium Member
Premium Member
 

Re: [Plugin] UVTools v0.1

Postby Pixero » Thu Jun 12, 2008 6:41 pm

Whaat, here is a link that might be of interest to you.
http://ozviz.wasp.uwa.edu.au/~pbourke/t ... spheremap/
0
User avatar
Pixero 
 

Re: [Plugin] UVTools v0.1

Postby Jon » Thu Jun 12, 2008 9:58 pm

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!!! :ecstatic:
0
Jon
KT Team member

Jon 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

Next


 

Return to Plugins

Who is online

Users browsing this forum: Bing [Bot], KISSSAAD and 7 guests