Learning Lightflow


(kirpre) #1

Does anyone know of a tutorial for exporting to lightflow. I checked the knowledge base and all that I could find was two links to scripts for exporting to Lightflow that I either couldn’t get to or couldn’t get to download.

I’ve seen people’s results with using this app and I was just curious to try it out. Thanks.


(Jamesk) #2

No tutorial, but some pointers:

  1. You need two Python installations. First the 2.0-version which Blender and the export script prefer, and second the 1.5-version which the LightFlow python interface prefers.

  2. Blender your stuff.

  3. Load the export script into a text window in Blender.

  4. Fix the variables in the beginning of the script (i.e. the output path etc)

  5. Run the script using ALT+P over the text window

  6. Check the console-window for any error messages.

  7. Check the output path for a file named ‘something_000X.py’

  8. Start the rendering using ‘python something_000X.py’ from a console window

  9. Wait for a while (a helluva while sometimes… :sunglasses:

That’s about it. After some successful renders, you should read the python docs that come with LightFlow to check out how to make your own shaders and stuff like that. Or do a Google search for “MATspiderLF” if you need a really neat material editor that outputs ready-to-copy-and-paste-code for LF-materials.


(hannibar) #3

http://www.jonlake.com/proj/LightflowTut/index.html
http://www.stormpages.com/eeshlo/VariousPython_files/LFPROBLEMS.txt

try this links :slight_smile:


(Guinness) #4

I have never seen one. I would seem that LightFlow is only good for making renders to look at, but not sell. I have read other threads on other newsgroups of people wondering the same.


(S68) #5

Yup, LigtFLow docs are not enougth? It comes
with its HTML and examples. Once You’ve understand LightFlow alone
you can go to

http://www.stormpages.com/eeshlo/VariousPython.html

to get the export script.

Stay Tuned! The Export script is being updated :wink:

Stefano


(kirpre) #6

I have successfully generate images from Lightflow after exporting from Blender, but the problem that I am have involves MatSpider. I wanted to use it for materials for my exported meshes, but it is looking for the extension *.msh and the ones from the Blender export are *.mesh. I tried just adjusting the extension of the exported meshes, but it still says: “Range check error”. Is there something else I have to do to the meshes before they have materials added using MatSpider?


(hannibar) #7

You have to copy-paste the material code generated by MatSpiderLF into the .py file. In the .py file you’ll see a standard material for each object, just replace the material for the object you want to give the new material to. :slight_smile:

hope that helps

-hans-


(kirpre) #8

That part seems to make sense to me, the problem I am having is loading the mesh in MatSpider in the first place to play around with the materials for it so that I can generate the python code for pasting.