Sketchup + Vray Next support


#1

Hi All,

Is it possible to include V-Ray Next (4) in the sketchup submitter?

just looking at modding the following file atm but would be great to have it built in (and export feature etc)

Deadline_Repo\plugins\SketchUp\SketchUpDeadline.rb

I can’t find the entry for the submitter file

I’m getting this error from manual submission
Error: V-Ray submission version "3" does not match the V-Ray for Sketchup version "4" installed on this slave

PS.
I love this entry…
self.AddPopupHandler( "Welcome to SketchUp", "Start using SketchUp" ) # Doesn't seem to work. Geez...


#2

I hashed out the version check and now onto the next problem

  		## Fail early if there's a major version mismatch, could cause loads of miscommuncation
  		#if $vray_submission_version != vray_version.to_i
  		#	puts "Error: V-Ray submission version \"#{$vray_submission_version}\" does not match the V-Ray for Sketchup version \"#{vray_version.to_i}\" installed on this slave"
  		#	close_sketchup
  		#end

I see this issue

Dialog popup detected: Title “SketchUp”, Message “One or more of your preferred File Location Paths are invalid. Please correct this by going to SketchUp’s Preferences > Files and specify a valid path for any items shown in red.”

I’ll try and add it to the other ignore entries by copying the format

    self.AddPopupHandler( "SketchUp", "One or more of your preferred File Location Paths are invalid. Please correct this by going to SketchUp's Preferences > Files and specify a valid path for any items shown in red.", "OK" )

#3

The pop up entry didn’t fix it, seemed to be closing the pop-up but still failing

I’ve sorted that issue by fixing the (actual problem) file path issue (packaging software writing on original user paths to all other users)

The nodes don’t render a V-Ray CPU job as Sketchup errors as it requires a GPU to launch. I’ll search for a workaround to this now

Would be great to have an Export to vrscene option (for EVERY application)

Thanks
Ant


#4

The GPU render goes through (after I logged into the GPU render and dismissed the update Sketchup notification!)

I’m RDP’d onto the machine and I see it’s completed the render but isn’t closing VFB V-Ray Frame Buffer down ( I see others reporting the same issue in other software too)

I’m running 10.0.24.4, there was a fix in 10.0.23.4 for this
https://docs.thinkboxsoftware.com/products/deadline/10.0/1_User%20Manual/manual/release-notes.html#id26
so not sure why I’m still having the problem

2019-06-21 12:18:29: 0: INFO: Full Command: "C:\Program Files\SketchUp\SketchUp 2019\SketchUp.exe" -RubyStartup "C:\Users\USER\AppData\Local\Thinkbox\Deadline10\slave\HOST\plugins\5d0cb6c3b0345b1038cbacd7\SketchUpDeadline.rb" "\\HOST\Deadline_Repo\tests\sketchup\vray_course\Test_GPU.skp"
2019-06-21 12:18:29: 0: INFO: Startup Directory: "C:\Program Files\SketchUp\SketchUp 2019"
2019-06-21 12:18:29: 0: INFO: Process Priority: BelowNormal
2019-06-21 12:18:29: 0: INFO: Process Affinity: default
2019-06-21 12:18:29: 0: INFO: Process is now running
2019-06-21 12:18:56: 0: STDOUT: [V-Ray for SkecthUp LOG_INFO]:Initializing V-Ray
2019-06-21 12:18:56: 0: STDOUT: [V-Ray for SkecthUp LOG_INFO]:Initializing ChaosGroupCache
2019-06-21 12:18:56: 0: STDOUT: [V-Ray for SkecthUp LOG_INFO]:Initializing AppSDK
2019-06-21 12:18:56: 0: STDOUT: [V-Ray for SkecthUp LOG_INFO]:Initializing VRayCefAPI
2019-06-21 12:18:56: 0: STDOUT: [V-Ray for SkecthUp LOG_INFO]:Initializing window parenting
2019-06-21 12:18:56: 0: STDOUT: [V-Ray for SkecthUp LOG_INFO]:Initializing NeUI
2019-06-21 12:18:56: 0: STDOUT: [V-Ray for SkecthUp LOG_INFO]:Initializing SceneEventPoller
2019-06-21 12:18:56: 0: STDOUT: [V-Ray for SkecthUp LOG_INFO]:Initialization finalized
2019-06-21 12:18:59: 0: STDOUT: Reading input from environment variable...
2019-06-21 12:18:59: 0: STDOUT: Path: \\HOST\Deadline_Repo\tests\sketchup\vray_course\Rendering\GPU_TEST_.jpg
2019-06-21 12:19:03: 0: STDOUT: [V-Ray for SkecthUp LOG_INFO]:Creating VRayRenderer
2019-06-21 12:19:04: 0: INFO: Ignoring popup "Render history settings"
2019-06-21 12:19:05: 0: STDOUT: [V-Ray for SkecthUp LOG_INFO]:Created VRayRenderer successfully
2019-06-21 12:19:05: 0: STDOUT: [OpenColorIO Info]: Color management disabled. (Specify the $OCIO environment variable to enable.)
2019-06-21 12:19:10: 0: STDOUT: [OpenColorIO Info]: Color management disabled. (Specify the $OCIO environment variable to enable.)
2019-06-21 12:22:45: Connecting to Slave log: HOST
Success

#5

Tested again in a very simple environment, same issue. File renders and saves but doesn’t close the VFB or Sketchup

2019-06-27 12:19:53:  0: STDOUT: SU_PROGRESS 100%
2019-06-27 12:19:53:  0: STDOUT: Finished exporting 2d image to Z:\test\out.jpg

manually closing the app completes the job

2019-06-27 12:32:01: 0: WARNING: Pressed the "No" button on popup "SketchUp"
2019-06-27 12:32:02: 0: STDOUT: [V-Ray for SkecthUp LOG_INFO]:Shutting down licensing
2019-06-27 12:32:02: 0: STDOUT: [V-Ray for SkecthUp LOG_INFO]:Quitting App
2019-06-27 12:32:02: 0: STDOUT: [V-Ray for SkecthUp LOG_INFO]:Saving VFB state
2019-06-27 12:32:02: 0: STDOUT: [V-Ray for SkecthUp LOG_INFO]:Shutting down renderer
2019-06-27 12:32:02: 0: STDOUT: [V-Ray for SkecthUp LOG_INFO]:Shutting down NeUI
2019-06-27 12:32:02: 0: STDOUT: [V-Ray for SkecthUp LOG_INFO]:Shutting down overlay
2019-06-27 12:32:02: 0: STDOUT: [V-Ray for SkecthUp LOG_INFO]:Shutting down AppSDK
2019-06-27 12:32:02: 0: STDOUT: [V-Ray for SkecthUp LOG_INFO]:Finished Quitting App
2019-06-27 12:32:05: 0: INFO: Process exit code: 0
2019-06-27 12:32:05: 0: INFO: Finished SketchUp Job
2019-06-27 12:32:05: 0: Done executing plugin command of type 'Render Task'