|
|||||||
![]() |
|
|
Thread Tools |
|
||||
|
Here's how to setup sunflow so it's just one click away on your WindowsXP desktop. This assumes you have the jdk installed and working properly. You need the jdk (not just the jre) to make use of the '-server' option and to obtain much faster renders.
1. Set the classpath environmental variable. If you're using 4NT, this is the fastest way: set /u classpath=c:\sunflow\sunflow.jar;c:\sunflow\janino .jar Otherwise, press 'WinKey+Break,' click on 'Advanced,' click on 'Environment Variable' and set it there. Either way, the classpath remains permanently set even after rebooting. The benefit of doing this is that you don't have to type in the paths to the jar files from the command line. 2. Create a new shortcut on the desktop and enter this in the target field: javaw.exe -server SunflowGUI Note that you should use 'java[color=black]w[/color].exe' not 'java.exe' so that an annoying dos box doesn't open up. Optionally set the 'start in' field to 'c:\sunflow\data' and you're done. In addition to clicking on the icon, you can also very easily start sunflow from the command line to get access to HDR export, other features, and the help screen: java SunflowGUI -h I hope someone finds this info useful.
............................................
Blender/Wings: Renderings, Plugins, & Tutorials |
||||
|
#1
|
||||
|
|
|
|||
|
Quote:
............................................
I did not write this post. |
|||
|
#2
|
|
||||
|
When I set this up I get the following error when I try to run the command:
Code:
............................................
kirpre |
||||
|
#3
|
|
|||
|
Quote:
|
|||
|
#4
|
|
||||
|
What's the difference?
............................................
kirpre |
||||
|
#5
|
|
|||
|
Quote:
JRE: Java runtime kit The JDK happens to be the only way to get the optimized server VM. After the JDK is installed, you may still get complaints that it can't find the server VM. If thats the case, check that your system path is pointing to the right version. Installing the JDK installs one copy with all the tools and both client and sever vms, and one copy that is just a plain install of the JRE. Type path at the command line to see which folder is getting used by default. If its the jre, go to the command panel like scorpius described and change the path. Hope that makes sense. |
|||
|
#6
|
|
|||
|
I made this icon for my sunflow shortcut from sunflow page header.
Maybe useful for somebody. |
|||
|
#7
|
|
||||
|
Could someone post a link to download the JDK, I found a lot of different links, but wasn't sure which one was the way to go. I have the JRE and just want the simplest version of JDK that I need to get the -server option running for Sunflow. Thanks.
............................................
kirpre |
||||
|
#8
|
|
|||
|
Quote:
You'll have to pick the right one for your platform (Windows I'm guessing?) which should be the first download link on that page. Alternatively, if you are feeling a bit adventurous you can try the latest beta: http://download.java.net/jdk6/binaries/ Grab the executable for your platform, the .jar files are debug builds which won't be of any help. They post a new version of the beta every week or so but it seems to be rather stable. |
|||
|
#9
|
|
||||
|
I tried making my own icon from that same header, but it was very difficult to extract just the sun without including some of the background/shadow.
............................................
Blender/Wings: Renderings, Plugins, & Tutorials |
||||
|
#10
|
|
|||
|
Quote:
s_m, I've having trouble accessing the server you posted the image to =( |
|||
|
#11
|
|
|||
|
remade (more accurate on dark wallpapers) & reupload icon to different location: http://www.savefile.com/files/5381123
icon contains 16x16, 24x24, 32x32, 48x48, 64x64, 128x128 true color set =) |
|||
|
#12
|
|
|||
|
Quote:
|
|||
|
#13
|
|
||||
|
Quote:
edit, and without -server i get "Could not find the main class. Program will now exit." what did i do wrong this time :-?
............................................
Please visit my -Deviantart- gallery ![]() -Sunflow Shader Guide- (old) |
||||
|
#14
|
|
|||
|
Quote:
Look around your program files directory, you should be able to spot the right one because it will have a client and server directories inside its bin. You can also copy the server directory to the copy of the JRE that doesn't have it if you don't want to change your path. Let me know if that isn't clear. |
|||
|
#15
|
|
||||
|
I'm not to sure about -any- of this.
How exactly do i set the variable? I did the set /u classpath blahblah, but it didnt work, so im guessing this is totaly wrong. If i try to set it in the advanced panel with winlogo+break i get VARIABLE NAME: VARIABLE VALUE: im not sure what to put in there. And i have jdk and jre inside the java folder in program files. only one has any directories in bin, and its jre > client And when i do this without the -server i get another error "Could not find the main class. Program will now exit."
............................................
Please visit my -Deviantart- gallery ![]() -Sunflow Shader Guide- (old) |
||||
|
#16
|
|
|||
|
Quote:
Quote:
Quote:
Let me know if this works for you. |
|||
|
#17
|
|
||||
|
Thanks fpsunflower, that did the trick. I just copied the "server" directory from my JDK folder to the JRE folder and it fired right up.
Back to rendering.
............................................
kirpre |
||||
|
#18
|
|
||||
|
Quote:
PATH already has "%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\S ystem32\Wbem;C:\Program Files\Common Files\GTK\2.0\bin" in it. should i replace it or add on to it somehow?
............................................
Please visit my -Deviantart- gallery ![]() -Sunflow Shader Guide- (old) |
||||
|
#19
|
|
|||
|
Quote:
Code:
Quote:
|
|||
|
#20
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|