Octane Sketchup Exporter Beta w [superseded]

Forums: Octane Sketchup Exporter Beta w [superseded]
SketchUp Integrated Plugin (Integrated Plugin maintained by OTOY)

Octane Sketchup Exporter Beta w [superseded]

Postby TIG » Fri Jul 16, 2010 11:55 am

TIG Fri Jul 16, 2010 11:55 am
Here's beta.w
Octane_1022w.zip
(273.28 KiB) Downloaded 309 times


It tries to address the cross-platform compatibility issues raised by'beta.v' - which had resolved the nagging [but non-fatal] js error issue that a few PC users were experiencing, but then it completely failed to populate the dialog's values on the Mac, where it had worked OK previously :roll:

This version has relocated the 'populate' script from the <head> to after the </body> tag and also removed the <body onLoad=""> code that had worked for the PC...

It works on my PC... hopefully this works for all PC users and Mac too...
We must get these minor glitches fixed soon ... we are running out of "alphabet"!

Feedback please...
Last edited by TIG on Fri Jul 16, 2010 3:43 pm, edited 1 time in total.
TIG
User avatar
TIG
Licensed Customer
Licensed Customer
 
Posts: 536
Joined: Wed May 12, 2010 1:25 pm

Re: Octane Sketchup Exporter Beta w

Postby radiance » Fri Jul 16, 2010 12:28 pm

radiance Fri Jul 16, 2010 12:28 pm
Hey,

I just did a test on one of our office Mac OS X dev machines, with the latest free version of google sketchup.
The plugin starts ok, no errors.

However, there are a few discrepancies:

There's something wrong with this zip file, it won't open correctly from the finder on Mac OS X
If i unzip it with the finder, i get one directory with the files all in it, with backslashes in the filenames instead of propper directories. (look in the screenshots attached in the highlighted blue directory, that's what got unzipped. this won't work if you copy it to your plugins directory.
So i used a bash prompt and unzipped your zip file in my home dir in the directory tmp (can see it below on the screenshot) using the unix / command line 'unzip' and then it works fine.
Very strange, and we should investigate why this happens...

skmac_zip_issue.jpg


the directory browser you made does'nt seem to work on Mac OS X
i got a testscene from my friend roen and i wanted to change the project path and whatever i do or enter manually in the project path textfield,
if i click on the browse button i get a blank directory chooser that can't be used, so i just enter the path manually in the plugin's textfield to do my test.

skmac_browser.jpg


after change manually to my tmp dir in my home, still blank:

skmac_browser2.jpg



all options are on by default

as you can see in the screenshots above, all the options (checkboxes) for the options are all on.
this creates the following launch command:

Code: Select all
#!/bin/bash
"/Applications/OctaneRender 1.022b beta2.2b.app/Contents/MacOS/octane" -n \"/Users/Terrence/tmp/heli3.ocs\" -l \"/Users/Terrence/tmp/heli3.obj\" -s 4096  -m \"heli3.obj\" -r \"/Users/Terrence/tmp/heli3.obj\" --film-width 1854 --film-height 936 --cam-pos-x 5.73792755832774 --cam-pos-y 2.52129259536283 --cam-pos-z 8.73601119083119 --cam-target-x -7.69389902964498 --cam-target-y 1.70412122793797 --cam-target-z -11.7846884176728 --cam-up-x -0.0182373700858412 --cam-up-y 0.999445387315894 --cam-up-z -0.0278624497367896 --cam-fov 63.9723701142299



The film width, height, maxsamples should all be exported optionally, not by default, so we have control over defaults. (4096 is too low for maxsamples)
it also loads the mesh twice, due to the -l and -r options used both.
it's best to only relink after the first 'render frame' as this saves time with heavy models.

other than that, congrats, looks good and works very nice.

Radiance
Win 7 x64 & ubuntu | 2x GTX480 | Quad 2.66GHz | 8GB
User avatar
radiance
 
Posts: 7633
Joined: Wed Oct 21, 2009 2:33 pm

Re: Octane Sketchup Exporter Beta w

Postby Burkhard » Fri Jul 16, 2010 1:12 pm

Burkhard Fri Jul 16, 2010 1:12 pm
It was noticed before and should be solved if you unzip with contextmenu and choose unarchiver or stuffit expander. ( readme.txt )
It is known; if you have zipped it on Pc and try opening by doubleclick on the zip file on Mac.

@TIG, no problems here on Mac. It works like a charm :D
Last edited by Burkhard on Fri Jul 16, 2010 1:24 pm, edited 2 times in total.
MacPro Quad * 8Gig RAM * GTX 285 Mac Edition ( delete two GT120 to make it run with octane! ) * Snow Leopard 10.6
Burkhard
Licensed Customer
Licensed Customer
 
Posts: 142
Joined: Mon Jan 25, 2010 7:53 pm

Re: Octane Sketchup Exporter Beta w

Postby TIG » Fri Jul 16, 2010 1:12 pm

TIG Fri Jul 16, 2010 1:12 pm
Your points in order...

The PC made zip file opening oddly on a Mac was reported by Burkhard the other day - I have changed my PC Zip application relatively recently [was Alzip now its IZarc] BUT this should not have affected it. I've attached two examples one made with Alzip the other with IZarc -
IZarc New Folder.zip
(508 Bytes) Downloaded 284 times
Alzip New Folder.zip
(458 Bytes) Downloaded 299 times
can you test them on a Mac for similarities/variations - perhaps I need to change my zip-app ?
This zip file problem is exactly why I added extra notes into the README / Help for Mac users to right-click > 'uncompress' rather than use the Finder/Drag+Drop versions... Not having Mac access means I can't test this stuff directly...

This is the first report of the folder-browser not working on Mac - I'll investigate...

All options should NOT be on by default - they should generally be off [except the camera-export] and be remembered in the model [as Octane attributes] for the next time you open it. I suspect that this is as a result of relocating the 'populate' code near to the end of the html. Beta.V didn't populate a Mac at all, but it did fix the 'js' error on a few PCs - beta.W seems to go half-way... There is one option left - I'll put it just before the </body> tag - I'll make beta.X and issue that soonest... :roll:

So on a new OCS you want to link and then only relink subsequently ?
I can remove 'maxsamples' [-s] all together and let it run 'forever' ? It wasn't in the original specs...

I'll do that for beta.X for you to try... Watch for up date...
TIG
User avatar
TIG
Licensed Customer
Licensed Customer
 
Posts: 536
Joined: Wed May 12, 2010 1:25 pm

Re: Octane Sketchup Exporter Beta w

Postby Burkhard » Fri Jul 16, 2010 1:28 pm

Burkhard Fri Jul 16, 2010 1:28 pm
IZarc does the same wrong folder structure.

....and the Project Path Browser Window is blank.
MacPro Quad * 8Gig RAM * GTX 285 Mac Edition ( delete two GT120 to make it run with octane! ) * Snow Leopard 10.6
Burkhard
Licensed Customer
Licensed Customer
 
Posts: 142
Joined: Mon Jan 25, 2010 7:53 pm

Re: Octane Sketchup Exporter Beta w

Postby TIG » Fri Jul 16, 2010 1:34 pm

TIG Fri Jul 16, 2010 1:34 pm
One step forward two steps back...

So do you get the same results from BOTH zips ?

Beta.x is under way...
TIG
User avatar
TIG
Licensed Customer
Licensed Customer
 
Posts: 536
Joined: Wed May 12, 2010 1:25 pm

Re: Octane Sketchup Exporter Beta w

Postby radiance » Fri Jul 16, 2010 1:44 pm

radiance Fri Jul 16, 2010 1:44 pm
also remove all those defaults,
it's stated in the guidelines what should be enabled and what not.

for example, if you enable 4096 maxsamples by default, and a user does'nt know this, and he let's his octane render a final, and after 30 minutes it stops due to maxsamples reached and it's not good enough yet, he needs to restart...
the maxsamples param only needs to be enabled by the user for rendering animations...

you should check and make sure all default settings correspond to the defaults i put in the guideline doc.

Thanks,
Radiance
Win 7 x64 & ubuntu | 2x GTX480 | Quad 2.66GHz | 8GB
User avatar
radiance
 
Posts: 7633
Joined: Wed Oct 21, 2009 2:33 pm

Re: Octane Sketchup Exporter Beta w

Postby Burkhard » Fri Jul 16, 2010 1:56 pm

Burkhard Fri Jul 16, 2010 1:56 pm
Alzip was okay ( Did you not mentioned you changed it to IZarc?)
Wondering if it is program related.
MacPro Quad * 8Gig RAM * GTX 285 Mac Edition ( delete two GT120 to make it run with octane! ) * Snow Leopard 10.6
Burkhard
Licensed Customer
Licensed Customer
 
Posts: 142
Joined: Mon Jan 25, 2010 7:53 pm

Re: Octane Sketchup Exporter Beta w

Postby TIG » Fri Jul 16, 2010 3:31 pm

TIG Fri Jul 16, 2010 3:31 pm
I have recently changed from Alzip to IZarc for making my Zip files - I'll change back as it seems much less prone to such problems when a Mac is used to uncompress a zipped file...

The 'defaults' are set correctly as the guidelines - it's because the latest code for 'populate' isn't working properly on the Mac and then they mess up - the forthcoming beta.X will hopefully fix that...

I inserted the extra -s 4096 code for a single frame animation during earlier testing, but the next update will be 'open-ended' as I'll remove it.

Beta.X should be posted very shortly - I hope if fixes this incompatibility between PC and Mac js etc... :roll:
TIG
User avatar
TIG
Licensed Customer
Licensed Customer
 
Posts: 536
Joined: Wed May 12, 2010 1:25 pm

Return to SketchUp


Who is online

Users browsing this forum: No registered users and 18 guests

Fri Apr 19, 2024 11:22 pm [ UTC ]