I can't see material previews!

Please use this forum for general user support and related questions.

Moderator: coordinators

Forum rules
Please include your operating system type/version, LuxRender version and Exporter version used when submitting a support post.

Make sure you have read the Release forum thread for Release and RC (Release Candidates) builds as these threads contain information on known problems and workarounds: Test Builds Forum

I can't see material previews!

Hi guys.
I just installed luxrender (0.8) and luxblend (2.5) with blender (2.63) and inside the addons/luxrender folder, I put pylux file. But the problem is: I can't see previews. What I get is just the default material preview of blender internal, even if I select luxrender as my rendering engine.

I did everything I could do. Match architectures (windows 64 bits), download all together from graphicall.org, install luxrender with older versions of blender, and even download everything again and follow the install instructions from scratch. It's driving me crazy because it was working some weeks ago with blender 2.62. I just don't understand.

I already look at this forum and obviously, google, but, even with the answers I get, I could not fix this problem. Could someone please tell me what is going on?

Pylux Inside Luxrender folder

Script activated in blender 2.61.

Luxrender as rendering engine. Material preview of Blender internal does not change!

rodrigofernandes35

Posts: 25
Joined: Wed Aug 17, 2011 2:19 pm

Re: I can't see material previews!

Something is going wrong with loading the pylux file. Can you try launching blender with console open? There should be some kind of error message about why it can't use the pylux file you supplied.
-Jason

J the Ninja

Posts: 2210
Joined: Wed May 19, 2010 9:54 pm
Location: Portland, USA

Re: I can't see material previews!

J the Ninja wrote:Can you try launching blender with console open?

As this is on Windows, the error message should get visible just by going to Help -> Toggle System Console.

Abel

Posts: 1414
Joined: Sat Oct 20, 2007 8:13 am
Location: Helsinki, Finland

Re: I can't see material previews!

Ok. I did it.
Here's what I got:

rodrigofernandes35

Posts: 25
Joined: Wed Aug 17, 2011 2:19 pm

Re: I can't see material previews!

B.Y.O.B.

Posts: 1882
Joined: Wed Nov 10, 2010 4:10 pm
Location: Germany

Re: I can't see material previews!

Ok. I will do all over again.
rodrigofernandes35

Posts: 25
Joined: Wed Aug 17, 2011 2:19 pm

Re: I can't see material previews!

Lets try again:

Blender 2.63 Windows 64 bits installed

http://src.luxrender.net/luxblend25/archive/tip.zip

Luxrender 0.8 windows 64 bits NoOpenCL version installed

Folder LuxRender from luxblend archive inside Scripts/Addons
pylux that I got from LuxRender Installer inside the folder Scripts/Addons/Luxrender

Microsoft Visual C++ 2008 Redistributable Package (x64) installed.

And the result:

A new error. Every time that I do any changes on material editor, that error message show up.

Some observations:

-The material preview now isn't working at all.
-If I don't have objects in my scene (just lamps, for example) the export occurs normally (luxrender window pops up)..
-I looked for this error: "luxCleanup() called while inside world block" at "Common Error Messages", then I Enabled debug options, like it's saying in that section and the error was: 'Mesh' object has no attribute 'faces'. But it's a scene with default cube, a lamp and the camera. Here are my blend file and lxs file:

teste.blend

teste.Scene.00001.lxs
Last edited by rodrigofernandes35 on Tue May 01, 2012 5:01 pm, edited 1 time in total.
rodrigofernandes35

Posts: 25
Joined: Wed Aug 17, 2011 2:19 pm

Re: I can't see material previews!

http://src.luxrender.net/luxblend25/file/b35f442a49ba (click the little "zip" button on top).

I had this error before updating, too.

B.Y.O.B.

Posts: 1882
Joined: Wed Nov 10, 2010 4:10 pm
Location: Germany

Re: I can't see material previews!

Thanks for the tip, but I am using the latest version of exporter
rodrigofernandes35

Posts: 25
Joined: Wed Aug 17, 2011 2:19 pm

Re: I can't see material previews!

Weird, all these errors look like you are using a Blender with BMesh and the exporter is too old to handle that.
This is an indicator for it:
Code: Select all
'Mesh' object has no attribute 'faces'

because the Blender devs changed the attribute 'faces' to 'tessfaces' for BMesh.

B.Y.O.B.

Posts: 1882
Joined: Wed Nov 10, 2010 4:10 pm
Location: Germany

Next