Using GPU with 0.8dev versions

Weekly builds for testing and use between releases.

Moderator: coordinators

Forum rules
Please read the information / sticky post for some basic information regarding these builds/support.

Re: Using GPU with 0.8dev versions

Postby Dade » Mon Feb 07, 2011 4:45 am

archimage wrote:I noticed that only objects with an non applied modifier appear (solidify), I tested with a lonesome building it works


Can you reproduce the problem in a simple scene (i.e. a cube over a plane) and post the scene luxrender files ?
User avatar
Dade
Developer
 
Posts: 4799
Joined: Sat Apr 19, 2008 6:04 pm
Location: Italy

Re: Using GPU with 0.8dev versions

Postby archimage » Mon Feb 07, 2011 8:57 am

When I launch a basic scene (cube + sun + camera) luxrender crashes with this message :

terminate called after throwing an instance of 'std::runtime_error'
what(): An empty DataSet can not be preprocessed
Attachments
untitled.Scene.00001-geom.lxo
(3.26 KiB) Downloaded 36 times
untitled.blend
A basic scene with a cube
(470.89 KiB) Downloaded 47 times
2011_02_06_3D.Scene.00000.lxs
The main scene I was talking about
(2.52 KiB) Downloaded 41 times
untitled.Scene.00001.lxs
A basic scene with a cube
(2.16 KiB) Downloaded 45 times
Last edited by archimage on Tue Feb 08, 2011 4:51 am, edited 1 time in total.
archimage
 
Posts: 15
Joined: Wed Sep 15, 2010 1:19 am

Re: Using GPU with 0.8dev versions

Postby Dade » Tue Feb 08, 2011 3:03 am

archimage wrote:When I launch a basic scene (cube + sun + camera) luxrender crashes with this message :

terminate called after throwing an instance of 'std::runtime_error'
what(): An empty DataSet can not be preprocessed


I need the "untitled.Scene.00001.lxo" file too, it is the one where the geometry is stored (i.e. where the problem should be).
User avatar
Dade
Developer
 
Posts: 4799
Joined: Sat Apr 19, 2008 6:04 pm
Location: Italy

Re: Using GPU with 0.8dev versions

Postby archimage » Fri Feb 11, 2011 3:47 am

Hello,

I've added the file here.
archimage
 
Posts: 15
Joined: Wed Sep 15, 2010 1:19 am

Re: Using GPU with 0.8dev versions

Postby Dade » Sun Feb 13, 2011 4:14 am

archimage wrote:I've added the file here.


Your cube is an instanced object (see the ObjectInstance "Cube_Material" in the .lxo file) and instances are not yet supported by hybrid render (i.e. the instanced objects are ignored at the moment leading to a totally empty scene in your case).
User avatar
Dade
Developer
 
Posts: 4799
Joined: Sat Apr 19, 2008 6:04 pm
Location: Italy

Re: Using GPU with 0.8dev versions

Postby archimage » Mon Feb 14, 2011 8:22 am

Maybe I don't really understand what instances are.

I thought an instance was a copy of another object with the same properties.

Actually this is the original cube of the default blender scene. How could it be a copy of another cube ? And how to define it another way and tell blender it's not an instance ?

I've built each object of my scene after importing a .dxf, and separating each object with the P shortcut. I thought there would be no instances. Now I understand that all my scene was built with instances. How can I really separate objects ?

Regards,

Archimage
archimage
 
Posts: 15
Joined: Wed Sep 15, 2010 1:19 am

Re: Using GPU with 0.8dev versions

Postby Dade » Mon Feb 14, 2011 12:33 pm

archimage wrote:Maybe I don't really understand what instances are.

I thought an instance was a copy of another object with the same properties.

Actually this is the original cube of the default blender scene. How could it be a copy of another cube ? And how to define it another way and tell blender it's not an instance ?

I've built each object of my scene after importing a .dxf, and separating each object with the P shortcut. I thought there would be no instances. Now I understand that all my scene was built with instances. How can I really separate objects ?


You can have any number of instances of an instanced object, including only one. Are you exporting for normal rendering and than editing the file to switch to hybrid rendering ? Because LuxBlend 2.5 would export everything as an instance in that case (some detail available here: viewtopic.php?f=11&t=4516&start=150#p56770).

I'm not saying you are creating intentionally an instanced object, it could be just an exporter issue/bug.
User avatar
Dade
Developer
 
Posts: 4799
Joined: Sat Apr 19, 2008 6:04 pm
Location: Italy

Re: Using GPU with 0.8dev versions

Postby archimage » Mon Feb 14, 2011 2:46 pm

Yes it's the case, I export then edit the file manually ! Now I understand...

Is there a way to export from blender directly ? I can't find hybrid mode in the exporter

Thank you for your answers !
archimage
 
Posts: 15
Joined: Wed Sep 15, 2010 1:19 am

Re: Using GPU with 0.8dev versions

Postby Lord Crc » Mon Feb 14, 2011 5:29 pm

archimage wrote:Is there a way to export from blender directly ? I can't find hybrid mode in the exporter


Yes, but you need PyLux enabled and up to date for it to show you the options. Otherwise it reverts to 0.7.1 compatibility mode and hides all the new goodies :)
May contain traces of nuts.
User avatar
Lord Crc
Developer
 
Posts: 4458
Joined: Sat Nov 17, 2007 2:10 pm

Re: Using GPU with 0.8dev versions

Postby archimage » Tue Feb 15, 2011 5:31 am

Thank you everyone it worked finally ! :D

I've noticed a new problem, when I activate the glass material everything in the scene goes transparent, am I missing something ?
archimage
 
Posts: 15
Joined: Wed Sep 15, 2010 1:19 am

PreviousNext

Return to Weekly Testing Builds

Who is online

Users browsing this forum: Google [Bot], Google Feedfetcher and 0 guests