Fractal Tree Maker for SketchUp - Free add-on
-
@anssi said:
I tried running it standalone too, and it was very much faster, the standard tree only took a couple of minutes. Could it be that the once hyped Hyperthreading in this case really makes a difference? What are the machine specs of others that complained of slowness in this thread?
Is there a way of saving the PNG from the standalone?
Anssi
First, let me make sure I have this right.
There are two separate programs as part of the RpTreeMaker process.
TreeEditor.exe defines the tree parameters.
RpTreeMaker.exe creates the image.When you run TreeEditor.exe in stand alone mode, does it run considerable faster then when you run it from SketchUp?
There is a Render button in TreeEditor.exe. Does it render faster when run stand-alone?
Also, further down in this posting I explain how to run RpTreeMaker.exe. Does it ruin faster in stand-alone mode?
If so, I may have to learn something about threading...
One difference, though may be the tree parameters. If you run TreeEditor.exe and pass it the name of a .ArPlant file, then it wil start with that .ArPlant file and save it when done. This may be slower than when you run it with no parameters, and use the default tree settings.
Try it with: RpTreeMaker %TEMP%\RpArPlant.ArPlant
It will load and then resave the RpArPlant.ArPlant plant definition file. One "problem" is that when it saves the file, it will automatically save a thumbnail into it which takes some time.
After defining your .ArPlant file, you can create the bitmap image by running:
RpTreeMaker.exe %TEMP%\RpTreeMakerArgs.txt
This will load the .ArPlant file and save the tree image. The "reverse engineer"s among us can figure out how to modify the args file to create different images, etc.
After the image is created, a third file, RpTreeMakerParams.txt is created which has the path of the image, and the size of the tree.
-
Ok, I must be doing something wrong with Podium. When I make a tree, explode it twice, and put a face below it to act as a surface, the shadow doesn't work. The tree is a tree with a black background. So, if anyone has any suggestions about how to fix this, it would be greatly appreciated. Thanks.
-
@unknownuser said:
When you run TreeEditor.exe in stand alone mode, does it run considerable faster then when you run it from SketchUp?
No, but it starts faster
@unknownuser said:
There is a Render button in TreeEditor.exe. Does it render faster when run stand-alone?
Yes, very much faster (like 10x)
@unknownuser said:
Also, further down in this posting I explain how to run RpTreeMaker.exe. Does it ruin faster in stand-alone mode?
No, it didn't ruin anything, and it rendered very fast, even faster than my other machine did within SU.
Anssi
-
@anssi said:
@unknownuser said:
Also, further down in this posting I explain how to run RpTreeMaker.exe. Does it ruin faster in stand-alone mode?
No, it didn't ruin anything, and it rendered very fast, even faster than my other machine did within SU.
Anssi
Actually that was supposed to say "run" faster, not "ruin" faster.
Can you look at your performance with Task Manager and make sure that you have not reached your memory limit when you start the TreeMaker process.
I'll take a look and make sure that SketchUp is idle while the tree maker is running.
Al
-
thanks, im downloading it now.
-
Let us know what you are able to do.
We will have a new version Monday, with the ability to rotate the trees, re-render them before saving the image, and with some higher image resolutions.
-
Fast work, Al. Much appreciated.
Now all you have to do is build a version for yourself with a batch render process that outputs an image every 1 degree or so of rotation, compile them into a RPC file and you'd have something to rival ArchVision. -
Thanks Al, looks like this is turning into a great app. And Im looking forward to the higher resolutions
Some more free leaves at TurboSquid http://www.turbosquid.com/FullPreview/Index.cfm/ID/287061
[You will need to rotate the leaves, otherwise they stick to the branches back to front ]
-
@al hart said:
Actually that was supposed to say "run" faster, not "ruin" faster.
Can you look at your performance with Task Manager and make sure that you have not reached your memory limit when you start the TreeMaker process.
I'll take a look and make sure that SketchUp is idle while the tree maker is running.
Al
I understood about "ruin"-I just didn't want to spoil my little joke with smilies.
Actually, I think you might have nailed it. Looking at Task Manager when SU and RPTreeMaker are running shows that they don't use very much memory, but together they use about 100% of the processor, with SU keeping more than 95%, and the RP TreeMaker process somewhere at 2-3%. Of course it might just be the Windows way of displaying things.
So it might be that this only occurs with a single-threaded processor, as it works much better on a slightly slower HT computer.
Cheers,
Anssi
-
@anssi said:
@al hart said:
Actually, I think you might have nailed it. Looking at Task Manager when SU and RPTreeMaker are running shows that they don't use very much memory, but together they use about 100% of the processor, with SU keeping more than 95%, and the RP TreeMaker process somewhere at 2-3%. Of course it might just be the Windows way of displaying things.
So it might be that this only occurs with a single-threaded processor, as it works much better on a slightly slower HT computer.
Cheers,
Anssi
Oof - you're right. The way we are calling RpTreeMaker from SketchUp causes SketchUp to keep using machine cycles. And since RpTreeMaker runs at a low priority when it is rendering, SketchUp steals all the cycles from a single processor machine.
In the display below, on a dual processor machine, SketchUp is using 1/2 and the TreeMaker the other 1/2.
Here is how we are calling it now:
system($path + "\\TreeEditor.exe")
We must have found this in the Ruby manual somewhere, but it obviously is not a good way to call a .exe from SketchUp.
If any other ruby programmers are out there, give me some hints on a better way to call a .exe from SketchUp. Meanwhile - I will look around.
-
We found a way to have SketchUp wait for the tree maker without using up 1/4, 1/2 or almost all of you processing power.
Look for a new version Monday.
-
Anyone else getting the error...
Error Loading File RpTreeMaker_loader.rb 126; The specified module could not be found. - C;/Program Files/Google/Google SketchUp 7/Plugins/Win32API.so
after installing the tree maker with the "Click here to install RpTreeMaker 2_HK24tm.exe" file and starting up SketchUp?
Any thoughts?
-
I can't figure out how to make it work with VRAY
Does it export a aplha channel ?
-
Ah. I found a solution.
-
@tobobo said:
Al,
Could you add in standard tree shapes as defaults?
One of the reasons we released RpTreeMaker as a free product is that we are hoping some SketchUp users will help us create some standard trees and save them on the 3D warehouse to share with other users.
The definition for each tree can be accessed as a .ArPlant file, and then used as the starting point for changes, or for other trees.
This doesn't work yet because:
-
If you use custom leaves or bark, we need to save them in the .SKP file as well. (We plan to do this, but haven;t done it yet). That way the .SKP file for a tree will have everything it needs to recreate the tree, or save similar trees.
-
We need to write a function to save the .ArPlant file, which defines a tree, from the .SKP file.
We will get to these things soon. Currently we are trying to get the new version released which allows rotation of the trees and higher resolutions. We should have a new version in the next day or so,
Also, we are working on a shadow mask for the tree which will make useful shadows in SketchUp, and work better with renderers like Podium and Vray. (The IRender rendering engine already re-processes the trees creating new fractal trees during the rendering process).
-
-
@matthew.robert said:
Anyone else getting the error...
Error Loading File RpTreeMaker_loader.rb > 126; The specified module could not be found. - C;/Program Files/Google/Google SketchUp 7/Plugins/Win32API.so
after installing the tree maker with the "Click here to install RpTreeMaker 2_HK24tm.exe" file and starting up SketchUp?
Any thoughts?
C:/Program Files/Google/Google SketchUp 7/Plugins/Win32API.so should have been installed as part of RpTreeMaker.
-
Is SketchUp installed on your machine in: C:\Program Files\Google\Google SketchUp 7
-
Did SketchUp put RpTreeMaker_loader.rb into C:\Program Files\Google\Google SketchUp 7\plugins or did you copy it there by hand?
-
Uninstall RpTreeMaker, and reinstall it being careful to select the proper location for SketchUp.
-
After reinstalling it verify that RpTreeMaker_loader.rb and Win32API.so are located in the SketchUp plugins folder.
-
-
@al hart said:
-
Is SketchUp installed on your machine in: C:\Program Files\Google\Google SketchUp 7
-
Did SketchUp put RpTreeMaker_loader.rb into C:\Program Files\Google\Google SketchUp 7\plugins or did you copy it there by hand?
-
Uninstall RpTreeMaker, and reinstall it being careful to select the proper location for SketchUp.
-
After reinstalling it verify that RpTreeMaker_loader.rb and Win32API.so are located in the SketchUp plugins folder.
Hi Al, tried all those with no luck. For 2, I did not do any manual copying. My SketchUp Pro install is about as clean as it can get BUT I am running it on XP SP3 with Parallels ver. 4 (as a non-bootcamp VM). I have Vista installed via Bootcamp, I will give that a shot.
I will attach the files that got installed in my plugins folder. They are either encrypted, corrupt, or both (maybe?). Should a separate treeeditor.exe file be installed somewhere, I am not seeing that.
Matt
-
-
I must be missing some important step... I had the exact same issue on my Bootcamp Vista partition, which for all practical purposes is a different os its own partitioned HD space.
If someone were to send me the necessary files, could I just move them into place manually?
Matt
-
@matthew.robert said:
I must be missing some important step... I had the exact same issue on my Bootcamp Vista partition, which for all practical purposes is a different os its own partitioned HD space.
If someone were to send me the necessary files, could I just move them into place manually?
Matt
- Try typing these two lines into the Ruby Console:
require 'Win32API'
RegCloseKey = Win32API.new('advapi32', 'RegCloseKey', 'L', 'L')
(copy and paste them into the ruby console)
- Are you running on a Mac?
-
Ok, tried that. I had to do each line separately, would've that made a difference? Attached is a screen shot of the results.
Yup on running a Mac. I have XP running as a VM and Vista that I occasionally boot into natively. Think that might be causing the issues? Its a unibody MBP.
Matt
Advertisement