Fractal Tree Maker for SketchUp - Free add-on
-
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
-
@matthew.robert said:
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.
MattHmm.
After "require Win32API",
if you type in just:
Win32API on a Windows machine, it responds with something.
Win32API Win32API Win32API.class Class Win32API.id 95261808
We'll have to see if there is a version of Win32API.so which works on the Mac partition.
Try running the two executables (.exe) in C:\Program Files\Render Plus Systems\RpTreeMaker (or it s equivalent). TreeEditor.exe and RpTreeMaker.exe. (If they don't run then we have a long way to go to get this to work.
If Win32API is the only problem, we may be able to work around it.
-
@unknownuser said:
One of the perks I saw was RP Trees, however I found out it creates 2.5D trees, not true 3D trees so it doesn't really fit my needs (Im a landscape designer).
For now I am sticking with Kerkythea, I am quite happy with it, however in the future I may check out your pdf tool-I can see that being useful to me.
When you make trees with RpTreeMaker, they create 2D trees in SketchUp, but when you render the model with IRender, the 2D tree is re-rendered as a 3D fractal tree. (They aren't "true" 3d because we use a 2D leaf and rotate it around) However, we do get very good results.
This is a RpTreeMaker tree rendered with IRender. Note the subtle shadows from the sky on the ground.
-
@al hart said:
Try running the two executables (.exe) in C:\Program Files\Render Plus Systems\RpTreeMaker (or it s equivalent). TreeEditor.exe and RpTreeMaker.exe. (If they don't run then we have a long way to go to get this to work.
If Win32API is the only problem, we may be able to work around it.
That worked for both my XP VM and Vista BC install. The RpTreeMaker app seemed to run as expected. Must have something to do with running on the Mac hardware?
Matt
-
This solved my problem with Vista32, SU7, Win32API.so, and certain plugins.
Re: Some plugins don't work SU 7. Organizer.rb at fault?
by L. Banasky on Thu Dec 11, 2008 6:06 amCadalogBeamTool.rb is now working. I did a side by side comparison of the files in the main program folder of SU6 and SU7, and moved the missing files from SU6 to SU7 one by one. The file that is required by SU7 that is missing is msvcr71.dll. I tried to enclose the file, but .dll's are not allowed.
Thanks again for all your help,
Larry -
There is a new version 0 see New Version.
I started a new thread for it. I'm not sure why???
-
Hi, this could be a really stupid question, but where are the tree images saved?. I originally found them here
: C:\Users\chris\appdata\Local\Temp\RPS_TreeMaker_Images
but now it doesnt seem to be saving any new tree images their.
thanks for your help and thanks for a great program.
Advertisement