SUNFLOW(1)

πŸ“¦
version 0.07.2.svn396 Β· 3 versions
, in ubuntu jammy, ubuntu noble

πŸ’– SUNFLOW β€” the sunflow manual, bestie edition πŸ’–

okay so. you're looking at the sunflow(1) page from the SUNFLOW DOCUMENTATION set. buckle up, we're rendering pretty pictures 🌸


✨ NAME ✨

sunflow β€” rendering system for photo-realistic image synthesis πŸ¦‹


✨ SYNOPSIS ✨

sunflow [option(s)] file(s)

✨ DESCRIPTION ✨

so sunflow is an open source rendering system for photo-realistic image synthesis. it's written in Java (yes bestie, Java, we love her) and it's built around a flexible ray tracing core plus an extensible object-oriented design. it was literally created as a framework for experimenting with global illumination algorithms and new surface shading models. main character energy fr fr πŸ‘‘


✨ GENERAL OPTIONS ✨

want the tea on what options exist? here's how you get a summary:

  • -h, -help β€” displays the list of available commands πŸ’…

✨ PERFORMANCES ✨

ngl this part matters. Sunflow will run considerably faster with the so called server VM (Virtual Machine). this server VM is part of Java, but it's not included in the standard (JRE) installation of Java. the server VM starts up more slowly and uses more memory than the standard VM, but it runs a lot faster in many cases. it's giving "slow to wake up, unstoppable once she's up" 😭

Sunflow's built-in realtime raytracing benchmark (-rtbench) for example runs more than twice as fast with the server VM (exact speedup depends on your hardware). yes, more than double. ate. πŸ”₯

the easiest way to get the server VM is by installing the Java Development Kit (JDK).

On Debian, it is possible to install different JVM at the same time, amongst which: gij-4.2 (main), openjdk-6-jre (main), sun-java5-jre (non-free), sun-java6-jre (non-free). to change the java link from one to another, use (with root privileges):

update-alternatives --config java

a pretty good choice should be openjdk-6-jre πŸ‘‘

See also the CONFIGURATION FILES section below, iykyk πŸ’œ


✨ SUGGESTED OPTIONS ✨

as explained above, the following options can be used to obtain a performance gain, but they depend on the JVM used:

  • -server β€” use the server virtual machine. the JDK matching the selected JVM has to be installed for this option to actually work, e.g. sun-java5-jdk (non-free). a warning will be displayed otherwise, and this option ignored. ⚠️
  • -XmxMEM β€” use a memory upper limit of MEM instead of the default (probably 64M). examples of valid values: 512M, 1G. 🫢

those options are best set through the SUNFLOW_JAVA_OPTIONS environment variable, or stored in the configuration files.


✨ CONFIGURATION FILES ✨

to allow flexible configuration, the sunflow wrapper sources two configuration files: /etc/sunflowrc and ~/.sunflowrc, in this order.

the syntax is simple "export KEY=VALUE". lines beginning with a sharp sign are ignored. πŸŽ€

the following options are supported:

  • SUNFLOW_JAVA β€” the java virtual machine to use. it's then possible to have e.g. a system-wide java alternative pointing to /usr/bin/gij-4.2, while sunflow uses a different JVM, e.g. /usr/lib/jvm/java-1.5.0-sun-1.5.0.12/bin/java.

if not set (the default), java will be called, meaning the system-wide alternative will be used.

  • SUNFLOW_JAVA_OPTIONS β€” those are the options to be passed to the java interpreter, see above for examples. ✨
  • SUNFLOW_OPTIONS β€” the list of options to pass to sunflow automatically to avoid repeating them on each invocation of sunflow. quotation marks are needed if more than one option is specified.

if not set (the default), no option is passed to sunflow.


✨ SEE ALSO ✨

/usr/share/doc/sunflow/README.Debian πŸ“–


✨ AUTHOR ✨

Sunflow was written by Christopher Kulla <ckulla@gmail.com>.

This manual page was written by Cyril Brulebois <kibi@debian.org>, for the Debian project (and may be used by others). it is licensed under the same terms as the package itself. πŸ’œ


okay that's the whole thing bestie, you're officially a sunflow expert now πŸŒˆπŸ’…

version 0.07.2.svn396, dated 2019-09-03 β€” and that's the tea, periodt βœ¨πŸ¦‹πŸŽ€

πŸ“¦ where this page comes from