Mirror forum thread: http://www.sketchucation.com/forums/...?f=180&t=15491
Load V-Ray on Demand
Since version: 1.1.1
If you use V-Ray floating licenses on a network you face the problem that the first person that starts SketchUp will grab the V-Ray licence even though they might not be currently using it. In order to work around this I made this tool which prevents V-Ray from starting with SU and allowing the user to load it on demand.
It's also useful if you don't like the extra 3-5 seconds V-Ray adds to SketchUp's startup time.
To enable Load V-Ray on Demand, go to the Tools menu, choose: V-Ray Toys->Load V-Ray on Demand. When you restart SketchUp, V-Ray will not be loaded automatically. To start V-Ray go to the Tools menu V-Ray Toys->Start V-Ray.
What the script is doing is renaming the VRayForSketchup.rb file to VRayForSketchup.rb.disabled, thus preventing it from loading automatically.
Camera Sync
Since version: 1.0.0
Here's a utility that helps you sync the SketchUp viewport with the output of V-Ray for SketchUp.
I tried to make the tool fully automatic. But reading the V-Ray data was harder than I thought. Not impossible though, but I also found out that V-Ray only reads the model attribute dictionary as the file loads and never reads it afterwards. Just writes to it. So you have to enter the values your self.
This has only been tested against SU7 and VfSU 1.05.03 (SR 1.5), but I believe it should work fine with SU6 and VfSU 1.00.70 (SR1.0)
You have to use the Physical Camera in order to sync the outputs!
Note: When you change the size of the SketchUp viewport or the aspect ratio is change by another plugin you need to close end reopen the Camera tools in order to make it update to correct values.
When you export the SketchUp view via SketchUp's own export tool it will include the grey bars. To export without the grey bar, use the Export utility that comes with this plugin.
Known Issues:
SketchUp Output
V-Ray Output
Photoshop blended output. Perfect Match!
Changelog:
1.1.1 - 22.01.2009
Restored the Export Viewport.
[/list]
Load V-Ray on Demand
Since version: 1.1.1
If you use V-Ray floating licenses on a network you face the problem that the first person that starts SketchUp will grab the V-Ray licence even though they might not be currently using it. In order to work around this I made this tool which prevents V-Ray from starting with SU and allowing the user to load it on demand.
It's also useful if you don't like the extra 3-5 seconds V-Ray adds to SketchUp's startup time.
To enable Load V-Ray on Demand, go to the Tools menu, choose: V-Ray Toys->Load V-Ray on Demand. When you restart SketchUp, V-Ray will not be loaded automatically. To start V-Ray go to the Tools menu V-Ray Toys->Start V-Ray.
What the script is doing is renaming the VRayForSketchup.rb file to VRayForSketchup.rb.disabled, thus preventing it from loading automatically.
Camera Sync
Since version: 1.0.0
Here's a utility that helps you sync the SketchUp viewport with the output of V-Ray for SketchUp.
I tried to make the tool fully automatic. But reading the V-Ray data was harder than I thought. Not impossible though, but I also found out that V-Ray only reads the model attribute dictionary as the file loads and never reads it afterwards. Just writes to it. So you have to enter the values your self.
This has only been tested against SU7 and VfSU 1.05.03 (SR 1.5), but I believe it should work fine with SU6 and VfSU 1.00.70 (SR1.0)
You have to use the Physical Camera in order to sync the outputs!
Note: When you change the size of the SketchUp viewport or the aspect ratio is change by another plugin you need to close end reopen the Camera tools in order to make it update to correct values.
When you export the SketchUp view via SketchUp's own export tool it will include the grey bars. To export without the grey bar, use the Export utility that comes with this plugin.
Known Issues:
- No file dialog window to select the output for the exporter. I've yet to find a way to do this in Ruby.
- SketchUp viewport and V-Ray output will not be synced if something changes the size of the SketchUp viewport. (Change in resolution, SketchUp window size, extra toolbars etc...) Close and reopen the tool windows for the plugin to update with correct values.
SketchUp Output
V-Ray Output
Photoshop blended output. Perfect Match!
Changelog:
1.0.1 - 07.01.2009
Added File Dialogbox for exporting the camera view instead of having to type in the path manually.
1.1.0 - 21.01.2009
Added Load V-Ray on Demand functionality.
1.1.1 - 22.01.2009
Restored the Export Viewport.
[/list]
Comment