Page 1 of 1

Problem with loading a .sky file in rhino

Posted: Sat Jul 03, 2010 7:25 pm
by joris.b
Hi,

When I open the the scene manager (environment settings) and Load a .sky file all settings (turbidity, wavelength,..) stay exactly the same, nothing changes.
Any idea to solve this?

Greets,

Joris

Re: Problem with loading a .sky file in rhino

Posted: Sat Jul 03, 2010 7:47 pm
by JDHill
Hmm, I'm not seeing this here. When you import the file, do any messages appear in the Rhino command line or in the plugin's log viewer?

Re: Problem with loading a .sky file in rhino

Posted: Sat Jul 03, 2010 7:51 pm
by joris.b
fast reply :)

no, nothing happens, every value just stays the same...

Re: Problem with loading a .sky file in rhino

Posted: Sat Jul 03, 2010 8:01 pm
by joris.b
by the way, when I export the scene to Studio and load the .sky file, it works fine

Re: Problem with loading a .sky file in rhino

Posted: Sat Jul 03, 2010 9:02 pm
by JDHill
What are the details of your setup -- machine, rhino version, plugin version, OS regional settings, etc.? If I can't duplicate the issue here, it's not going to be easy to figure out.

Re: Problem with loading a .sky file in rhino

Posted: Sat Jul 03, 2010 9:52 pm
by joris.b
Rhino version 4 SR8, 32 bit
Maxwell 2.0.3.0, 64 bit (problem occured with MW V2, I think not related to version updates)
Windows 7, 64 bit version

Machine: Intel i7 920@2.67Ghz, RAM 6GB
OS regional settings: don't know anything about...

Re: Problem with loading a .sky file in rhino

Posted: Sat Jul 03, 2010 10:31 pm
by JDHill
In regards to regional settings: if you look at one of the numeric inputs in the plugin UI, is the decimal separator a decimal point or a comma? Not that this should make a difference; the plugin uses generic platform methods, the purpose of which is to ensure that numbers are interpreted correctly.

Also, I am still missing one thing -- I would like to know the plugin version; just go to (in Rhino) to main menu > Maxwell > About.

Re: Problem with loading a .sky file in rhino

Posted: Sat Jul 03, 2010 11:06 pm
by joris.b
Plugin version is Maxwell for Rhino 2.0.5.0
In the plugin UI, the decimal seperators are commas.

Re: Problem with loading a .sky file in rhino

Posted: Sun Jul 04, 2010 12:45 am
by JDHill
Well, so far, I can't find any reason for it. Possibly some other people will chime in and we can see if this is working for them.

Re: Problem with loading a .sky file in rhino

Posted: Tue Aug 10, 2010 9:23 am
by joris.b
Hi, I just installed the new version update and plugin update.

In the Rhino command line it says:
Maxwell: error: An Exception occurred while loading the .sky file (caller=LoadSkyFile, type=UnauthorizedAccessException)

In the Maxwell log viewer:
* line 63: OnErrorMessage, _error, error: An Exception occurred while loading the .sky file (caller=LoadSkyFile, type=UnauthorizedAccessException)
* line 64: Exception report.
* line 65: Type: System.UnauthorizedAccessException
* line 66: Message: Toegang tot het pad C:\Program Files\Next Limit\Maxwell 2\skies\blueclear_darkerhorizon_mihai.sky is geweigerd.
* line 67: Source: mscorlib
* line 68: Has StackTrace: True
* line 69: BEGIN STACKTRACE: 'System.UnauthorizedAccessException'
* line 70: - bij System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
* line 71: - bij System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
* line 72: - bij System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
* line 73: - bij System.IO.FileStream..ctor(String path, FileMode mode)
* line 74: - bij Maxwell.Scenes.RenderEnvironment.LoadSkyFile()
* line 75: END STACKTRACE: 'System.UnauthorizedAccessException'
* line 76: Has InnerException: False


Any ideas to solve this?

Re: Problem with loading a .sky file in rhino

Posted: Tue Aug 10, 2010 3:02 pm
by JDHill
That error is saying that you don't have permission to read the file. Either the message could be wrong, or else it should be taken care of by running Rhino as administrator, or getting permission to read files from C:\Program Files\Next Limit\Maxwell 2\skies. So just try running Rhino as administrator and let me know if it helps.

Re: Problem with loading a .sky file in rhino

Posted: Tue Aug 10, 2010 3:17 pm
by joris.b
Yes it works (by running Rhino as administrator)! Thanks a lot!

- Joris