Pages

Monday, July 19, 2010

Sunflow rendering on Fedora 13

How to install Sunflow ?
It's pretty simple. Download the zip archive from here.
Unzip and edit the sh script sunflow.sh
from the sunflow folder.
By default the script is :

#/bin/sh

mem=1G

java -Xmx$mem -server -jar sunflow.jar $*
If we run this script will have this error :

$ sh sunflow.sh 
Invalid maximum heap size: -Xmx1G
Could not create the Java virtual machine.
The solution is:

$ whereis java
java: /usr/bin/java ...
Now change the script :

#!/bin/bash
/usr/bin/java -Xmx1024M -server -jar sunflow.jar $*
And run it ...

$ sh sunflow.sh 
The result is :

Makehuman 3D on Fedora

Makehuman software installation is simple. You must be superuser, and then use yum:
$su
#yum search mhgui
#yum install mhgui.i686
#yum search makehuman
#yum install makehuman.i686  
It will automatically install animorph-0.3-6.fc12.i686.
A negative aspect of Fedora 13 is the lack of 3D software: Moonlight, Sunflow, Blender 2.5 or Loki Render
It looks like 3D graphics programs are not a priority.