by thomthom » Wed Dec 03, 2008 8:19 pm
ObsoleteThe 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 ... 15#p110957I 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.EU32-1.jpg Full SizeEU32-2.jpg Full Size--- ObsoleteThe functionality of this plugin has been merged with UV Toolkit
Last edited by thomthom on Thu Oct 15, 2009 2:23 pm, edited 5 times in total.
-

thomthom
- PluginStore Author

-
- Posts: 19500
- Joined: Tue Nov 13, 2007 12:47 pm
- Location: Trondheim, Norway
- Name: Thomas Thomassen
- Operating system: Windows
- SketchUp version: 2019
- License type: Pro
- SketchUp use: other
- Level of SketchUp: Advanced
-
by tomasz » Wed Dec 03, 2008 11:08 pm
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
-
tomasz
- SU2TH & SU2KT Developer
-
- Posts: 920
- Joined: Fri Nov 16, 2007 8:46 pm
- Location: Poland
- Name: Tomasz Marek
- Operating system: Windows
- SketchUp version: 2022
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
-
by thomthom » Wed Dec 03, 2008 11:36 pm
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..
-

thomthom
- PluginStore Author

-
- Posts: 19500
- Joined: Tue Nov 13, 2007 12:47 pm
- Location: Trondheim, Norway
- Name: Thomas Thomassen
- Operating system: Windows
- SketchUp version: 2019
- License type: Pro
- SketchUp use: other
- Level of SketchUp: Advanced
-
by bianhai » Thu Dec 04, 2008 1:17 am
Thanks Thomas ! 
-
bianhai
- Banned
-
- Posts: 191
- Joined: Fri Nov 30, 2007 3:05 pm
- Location: Shanghai China
- Name: Brian
by silver_shadow » Thu Dec 04, 2008 6:24 am
free agent would be sooooooooo happy. 
-
silver_shadow
-
- Posts: 277
- Joined: Fri Jun 06, 2008 8:11 am
- Location: Cape Town, South Africa
- Name: Jacques
by free agent » Thu Dec 04, 2008 8:36 am
...and he is 
-

free agent
-
- Posts: 282
- Joined: Thu Jun 05, 2008 10:00 am
- Location: Cape Town, South Africa
- Name: Free Agent
by free agent » Thu Dec 04, 2008 1:25 pm
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
-

free agent
-
- Posts: 282
- Joined: Thu Jun 05, 2008 10:00 am
- Location: Cape Town, South Africa
- Name: Free Agent
by thomthom » Thu Dec 04, 2008 1:51 pm
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.
-

thomthom
- PluginStore Author

-
- Posts: 19500
- Joined: Tue Nov 13, 2007 12:47 pm
- Location: Trondheim, Norway
- Name: Thomas Thomassen
- Operating system: Windows
- SketchUp version: 2019
- License type: Pro
- SketchUp use: other
- Level of SketchUp: Advanced
-
by free agent » Thu Dec 04, 2008 9:28 pm
 no worries thom just keeping you on ur toes
-

free agent
-
- Posts: 282
- Joined: Thu Jun 05, 2008 10:00 am
- Location: Cape Town, South Africa
- Name: Free Agent
by thomthom » Mon Mar 16, 2009 4:28 pm
Updated so it transfers plain colour materials as well.
-

thomthom
- PluginStore Author

-
- Posts: 19500
- Joined: Tue Nov 13, 2007 12:47 pm
- Location: Trondheim, Norway
- Name: Thomas Thomassen
- Operating system: Windows
- SketchUp version: 2019
- License type: Pro
- SketchUp use: other
- Level of SketchUp: Advanced
-
by MALAISE » Mon Mar 16, 2009 4:42 pm
Thanks Thomthom MALAISE 
La Connaissance n'a de valeur que partagée
-

MALAISE
-
- Posts: 653
- Joined: Sun Apr 20, 2008 1:23 pm
- Location: Carrières/Seine FRANCE
- Name: MALAISE
- Operating system: Windows
- SketchUp version: 2015
- License type: Pro
- SketchUp use: engineering and mechanical design
- Level of SketchUp: Advanced
by Chris Fullmer » Mon Mar 16, 2009 4:54 pm
Great Thom, very cool!
Chris
-

Chris Fullmer
- SketchUp Team

-
- Posts: 6929
- Joined: Wed Nov 21, 2007 3:21 am
- Location: Boulder, CO
- Name: Chris Fullmer
- Operating system: Windows
- SketchUp version: 2013
- License type: Pro
- SketchUp use: landscape architecture
- Level of SketchUp: Advanced
-
by ideas_arte » Wed Apr 15, 2009 5:38 pm
davide.skp wrote: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,
-
ideas_arte
-
- Posts: 61
- Joined: Tue Sep 09, 2008 7:20 pm
- Location: Guatemala
- Name: Ivan Alvarado
by solo » Wed Apr 15, 2009 5:57 pm
Someone mention ex frog? 
-

solo
- Global Moderator
-
- Posts: 12429
- Joined: Mon Nov 12, 2007 1:46 pm
- Location: The Colony, Texas
- Name: solo
- Operating system: Windows
- SketchUp version: 2017
- License type: Pro
- SketchUp use: other
- Level of SketchUp: Intermediate
-
by thomthom » Wed Apr 15, 2009 6:08 pm
Errrhh... 
-

thomthom
- PluginStore Author

-
- Posts: 19500
- Joined: Tue Nov 13, 2007 12:47 pm
- Location: Trondheim, Norway
- Name: Thomas Thomassen
- Operating system: Windows
- SketchUp version: 2019
- License type: Pro
- SketchUp use: other
- Level of SketchUp: Advanced
-
by davide.skp » Fri Apr 24, 2009 10:22 am
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
-
- Posts: 28
- Joined: Fri Sep 19, 2008 8:04 am
- Location: veleso, como, italy
- Name: davide
by ideas_arte » Fri Apr 24, 2009 7:08 pm
davide.skp wrote: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 
-
ideas_arte
-
- Posts: 61
- Joined: Tue Sep 09, 2008 7:20 pm
- Location: Guatemala
- Name: Ivan Alvarado
by free agent » Tue May 26, 2009 11:55 am
thomthom have u looked into the texture mirroring to the backfaces of triangles? is it possible?
-

free agent
-
- Posts: 282
- Joined: Thu Jun 05, 2008 10:00 am
- Location: Cape Town, South Africa
- Name: Free Agent
by thomthom » Tue May 26, 2009 2:35 pm
It doesn't mirror triangles?
-

thomthom
- PluginStore Author

-
- Posts: 19500
- Joined: Tue Nov 13, 2007 12:47 pm
- Location: Trondheim, Norway
- Name: Thomas Thomassen
- Operating system: Windows
- SketchUp version: 2019
- License type: Pro
- SketchUp use: other
- Level of SketchUp: Advanced
-
by free agent » Tue May 26, 2009 8:56 pm
woah thats wierd, it refuses to mirror on a mesh ive imported, but works fine on a quick separate test... can i send you the problem mesh?
-

free agent
-
- Posts: 282
- Joined: Thu Jun 05, 2008 10:00 am
- Location: Cape Town, South Africa
- Name: Free Agent
by thomthom » Tue May 26, 2009 9:01 pm
Yea, do so. I'll have a look at it.
-

thomthom
- PluginStore Author

-
- Posts: 19500
- Joined: Tue Nov 13, 2007 12:47 pm
- Location: Trondheim, Norway
- Name: Thomas Thomassen
- Operating system: Windows
- SketchUp version: 2019
- License type: Pro
- SketchUp use: other
- Level of SketchUp: Advanced
-
by utiler » Wed May 27, 2009 1:29 am
solo wrote:Someone mention ex frog? 
I liked it Pete..... 
purpose/expression/purpose/....
-

utiler
- Top SketchUcator
-
- Posts: 2473
- Joined: Wed Nov 14, 2007 11:35 am
- Location: Queensland, Australia
- Name: Andrew
- Operating system: Windows
- SketchUp version: 2013
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by thomthom » Wed May 27, 2009 12:46 pm
Free Agent wrote:woah thats wierd, it refuses to mirror on a mesh ive imported, but works fine on a quick separate test... can i send you the problem mesh?
If you tried to email me anything then it might very well be lost. My host messed about with some files and I lost my email aliases. ...*grumble*...
-

thomthom
- PluginStore Author

-
- Posts: 19500
- Joined: Tue Nov 13, 2007 12:47 pm
- Location: Trondheim, Norway
- Name: Thomas Thomassen
- Operating system: Windows
- SketchUp version: 2019
- License type: Pro
- SketchUp use: other
- Level of SketchUp: Advanced
-
by araki009 » Thu Jul 16, 2009 12:47 pm
Thank you very much thomthom for plugin 
-
araki009
-
- Posts: 1
- Joined: Thu Jul 16, 2009 12:44 pm
- Name: teerapong
by chango70 » Thu Jul 16, 2009 6:48 pm
Tom sorry for my stupid question. What exactly does this plug in do? Apply texture to both sides?
-
chango70
-
- Posts: 586
- Joined: Tue Mar 25, 2008 3:06 pm
- Location: London
-
by thomthom » Thu Jul 16, 2009 7:05 pm
chango70 wrote:Tom sorry for my stupid question. What exactly does this plug in do? Apply texture to both sides?
It copies the texture and it's UV coordinates from one side and to the opposite side.
-

thomthom
- PluginStore Author

-
- Posts: 19500
- Joined: Tue Nov 13, 2007 12:47 pm
- Location: Trondheim, Norway
- Name: Thomas Thomassen
- Operating system: Windows
- SketchUp version: 2019
- License type: Pro
- SketchUp use: other
- Level of SketchUp: Advanced
-
by chango70 » Fri Jul 17, 2009 4:30 pm
Ok thanks very useful in certain situations.
-
chango70
-
- Posts: 586
- Joined: Tue Mar 25, 2008 3:06 pm
- Location: London
-
by Yanman » Tue Oct 13, 2009 5:27 am
Hi thomthom .Thank you very much for Good plugin. 
-
Yanman
-
- Posts: 10
- Joined: Tue Dec 16, 2008 4:05 pm
- Name: Suriyan
by Ruturaj » Fri Oct 16, 2009 9:03 am
Thanks, RuturaJ
-
Ruturaj
-
- Posts: 49
- Joined: Mon Feb 16, 2009 1:32 pm
- Location: Kolhapur, India
- Name: Ruturaj Patil
-
by Ad Machine » 5 minutes ago
-
Ad Machine
- Robot
-
- Posts: 2012
-
Return to Plugins
|