Render is blank?

Discussion related to the 'LuxBlend' Blender 2.4+ python exporter script.

Moderators: Ratow, SATtva, coordinators

Render is blank?

Postby darkforest » Sun Feb 13, 2011 9:10 am

I have problem both with LuxRender and LuxBlend

1)
Using Blender 2.56 with LuxRender on windows (blender34784-win64) from Graphicall.org, enabling the LuxRender renderer, I can render some simple cube scenes myself. But when I download other test scenes, such as the

LuxBall4.blend
viewtopic.php?f=11&t=5097

or the
luxbox_test_suite_v01.blend

Pressing F12 gives blank screen and there is no rendering progress. It seems either Blender erronesouly rendered really fast and was done or the rendering doesn't start.

Do they work out of the box or require some tweaking? Or are they incompatible with the blender34784-win64 I have?


2)
I was at Graphicall.org.

The bundled Blender 2.56 build with LuxBlend (not LuxRender) is only for Linux. Is there no Windows build?

Conversely Blender 2.56 with LuxRender (not LuxBlend) for Windows, and there is no Linux equivalent.

It seems there is no build with Blender and LuxRender and LuxBlend all together.


Thanks
darkforest
 
Posts: 15
Joined: Tue Aug 31, 2010 3:26 pm

Re: Render is blank?

Postby neo2068 » Mon Feb 14, 2011 2:42 am

darkforest wrote:I have problem both with LuxRender and LuxBlend

1)
Using Blender 2.56 with LuxRender on windows (blender34784-win64) from Graphicall.org, enabling the LuxRender renderer, I can render some simple cube scenes myself. But when I download other test scenes, such as the

LuxBall4.blend
viewtopic.php?f=11&t=5097

or the
luxbox_test_suite_v01.blend

Pressing F12 gives blank screen and there is no rendering progress. It seems either Blender erronesouly rendered really fast and was done or the rendering doesn't start.

Do they work out of the box or require some tweaking? Or are they incompatible with the blender34784-win64 I have?

You have to check the console log if there are any errors. Which render mode do you use (e.g. internal or external, luxconsole or gui)?

darkforest wrote:
2)
I was at Graphicall.org.

The bundled Blender 2.56 build with LuxBlend (not LuxRender) is only for Linux. Is there no Windows build?

Conversely Blender 2.56 with LuxRender (not LuxBlend) for Windows, and there is no Linux equivalent.

It seems there is no build with Blender and LuxRender and LuxBlend all together.

LuxBlend25 is platform independent. It only is a python script. If you use the internal render mode you additionally need the pylux.pyd library which is platform dependent. You can download the latest version bundled with luxrender in the weekly testing build thread: viewforum.php?f=30
You can find the latest luxblend25 version here: http://src.luxrender.net/luxblend25/
You have to copy the script files and the pylux.pyd to %BLENDERDIR%\2.5x\scripts\addons\luxrender
i7 860, 16 GB RAM, NVIDIA Geforce GTX 560 + GTX 460, Windows 7 64bit, Blender 2.66
neo2068
Developer
 
Posts: 485
Joined: Sun May 03, 2009 2:11 am
Location: Germany

Re: Render is blank?

Postby darkforest » Mon Feb 14, 2011 9:49 am

On Windows 7 64bit, I drag luxball4.blend into Blender 2.56 64bit bundled with LuxRender. I see the GPU shaded silverish ball.

I am not sure where are the 'internal or external, luxconsole or gui' you mentioned.
I can select LuxRender as renderer (from among Blender Render, Blender Game, LuxRender, Engine).
I press F12 and a screenful of text is printed on the console:

[Lux 2011-Feb-14 09:34:44] INFO: Creating LuxRender context
[Lux 2011-Feb-14 09:34:44] INFO: Exporting render settings
[Lux 2011-Feb-14 09:34:44] INFO: Exporting volume data
[Lux 2011-Feb-14 09:34:44] INFO: Exporting geometry
...
...
[Lux 2011-Feb-14 09:34:46] Wrote scene files
[Lux 2011-Feb-14 09:34:46] C://luxball4.Scene.00001.lxs
[Lux 2011-Feb-14 09:34:46] C://luxball4.Scene.00001-mat.lxm
[Lux 2011-Feb-14 09:34:46] C://luxball4.Scene.00001-geom.lxo

In Blender GUI I see:
Fra:1 Ve:0 Fa:0 La:0 Mem32.56M( 3.46M, peak 46.03M) Time:00:01:98
All static, non-changing text with no progress bar.
The rendering in Blender is still blank.
The lxs, lxm, lxo and a bunch of .ply meshes indeed were written to my C:\ drive though.
darkforest
 
Posts: 15
Joined: Tue Aug 31, 2010 3:26 pm

Re: Render is blank?

Postby J the Ninja » Mon Feb 14, 2011 9:59 am

Sounds like you forgot to enable "run renderer" under the render settings panel, or your path to Lux is incorrect.
-Jason

Material DB Admin
User avatar
J the Ninja
Developer
 
Posts: 2210
Joined: Wed May 19, 2010 9:54 pm
Location: Portland, USA

Re: Render is blank?

Postby darkforest » Mon Feb 14, 2011 10:11 am

Thank you I had to manually change the rendering mode to 'internal' for LuxBlend4.blend and it worked. But unlike the scenes I created, why can I not see the material panel? In this scene I can only render a diffuse beige Luxball.



As for installing LuxBlend into the same Blender 2.56/LuxRender bundle:

I copy the 'luxrender' (that has the __init__.py) into
C:\Users\bhuang\AppData\Roaming\Blender Foundation\Blender\.blender\scripts

I go to user preferences in Blender and choose Install Add-on.
I point to
C:\Users\bhuang\AppData\Roaming\Blender Foundation\Blender\.blender\scripts\luxrender

Console prints:

Traceback (most recent call last):

File "C:\Users\bhuang\Desktop\BLENDE~`\2.56\scripts\ui\space_userpref.py", line 1221, in execute
shtil.copyfile(pyfile, path-dest)

File "C:\Users\bhuang\Desktop\BLENDE~1\2.56\python\lib\shutil.py", line 66, in copyfile
fsrc = open(src, 'rb')

IOError: [Errno 2] No such file or directory: 'C:\\Users\\bhuang\\AppData\\Roaming\\Blender Foundation\\Blender\\.blender\\scripts\\luxrender\\'

But above directory definitely exists.
darkforest
 
Posts: 15
Joined: Tue Aug 31, 2010 3:26 pm


Return to LuxBlend (Blender Exporter)

Who is online

Users browsing this forum: Google Feedfetcher and 2 guests