[Plugin] Mirror UV Mapping (1.0.3)
-
Obsolete
The functionality of this plugin has been merged with UV Toolkit
The background for this plugin is that I got a large collection of X-Frog trees. When imported into SketchUp the backface texture is messed up.
BillW was nice enough to provide a code snippet that copied the texture and UV mapping from one side to the other. http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=13083&st=0&sk=t&sd=a&start=15#p110957
I just wrapped it up into two function to allow frontface to backface and backface to front face and made it crawl into nested groups/components.
It's also much faster that I expected. With a test tree of 82K faces and 132K edges it took about 2 minutes with SU6 and about 30 seconds with SU7.
Update:
Version 1.0.1- Moved functions into module
- Rearranged the menus
- Accounted for faces with tree vertices
Version 1.0.2
- Fixed some typo in the code
Version 1.0.3
- Now transfer plain colour material
For some reason the script throws an exception on some occasions with faces with tree vertices. I don't understand why. Nor do I see any effect of it in the model. But I've worked around it by adding an exception handler. If anyone can shed some light to why it throws an exception some times I'd be grateful.
Obsolete
The functionality of this plugin has been merged with UV Toolkit -
Thanks Thomas How SU handle several X-frog trees in a model? Does it slow down the whole thing a lot (probably no edges displayed).
Tomasz
-
You want to disable edges and transparency. And maybe even turn off textures. Basically the very last thing you add to the scene before you render.
Use 3D trees for the foreground and use the billboards for the background..
-
Thanks Thomas ๏ผ
-
free agent would be sooooooooo happy.
-
...and he is
-
tom, I test billW code and your too but still some problem...
http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=13083&st=0&sk=t&sd=a&start=30
I whant to create a library of very light 3d trees made with tree [d] and gile [s]
can you help me ....
-
Quote: I've discovered that it doesn't handle faces with less than three points. When importing X-Frog trees the leaf tends to be split in half forming two triangles. So until I've corrected this, make sure you enable Merge Coplanar Faces in the Import Options
do you mean four points? u cant get a face with 2 points
-
Ah, you discovered my cunning test to see if anyone actually read this stuff! ...erh.. yea.. that's what I meant. less than four points.
-
no worries thom just keeping you on ur toes
-
Updated so it transfers plain colour materials as well.
-
Thanks Thomthom
MALAISE
-
Great Thom, very cool!
Chris
-
@davide.skp said:
I whant to create a library of very light 3d trees made with tree [d] and gile [s]
can you help me ....
YES..! I WANT TO PARTICIPATE, INCLUDES TO ME I have many Xfrog
Thank you very much thomthom for plugin,
-
Someone mention ex frog?
-
Errrhh...
-
Ivรกn, for now i'm playng with tree[d] and Hothouse 3d... this one, hothouse, seems very very good!!! ... I try xfrog but ... too expensive ((and complexxx) for me ...
so, TRY HotHouse ...
A) create your plant with hothouse
B) for a light model create some billboard ... from a photo or directly from HotHouse
C) import directly in sk
d) With the WONNDERRFULLL ThoMThom'plugin Mirror the uv map...
very very funny!!! -
@davide.skp said:
Ivรกn, for now i'm playng with tree[d] and Hothouse 3d... this one, hothouse, seems very very good!!! ... I try xfrog but ... too expensive ((and complexxx) for me ...
so, TRY HotHouse ...
A) create your plant with hothouse
B) for a light model create some billboard ... from a photo or directly from HotHouse
C) import directly in sk
d) With the WONNDERRFULLL ThoMThom'plugin Mirror the uv map...
very very funny!!!Thank you very much..! to share this info, I will try to make some little pines
Take care
-
thomthom have u looked into the texture mirroring to the backfaces of triangles? is it possible?
-
It doesn't mirror triangles?
Advertisement