Blender 2.5 v0.72dev plugin for SLG v1.7beta2

Discussions related to GPU Acceleration in LuxRender

Moderators: jromang, tomb, Dade, coordinators

Blender 2.5 v0.72dev plugin for SLG v1.7beta2

Postby Chiaroscuro » Wed Jul 28, 2010 8:18 am

Please refer to the v0.62 SLG Blender plugin thread for information on how to use the new operators and SLG Live! Mode (and new alloy material).
Refer to the SLG Blender Exporter wiki page to get started with the plugin.
Look at Blender's console output for progress information and errors (from plugin and SLG)

I’ve implemented initial support for transforming objects in SLG Live! mode which is an upcoming feature of SLG v1.6beta3 (now SLGv1.7beta1).

Notes about transforming objects in SLG Live! mode:
  • Only works with instances and the MQBVH accelerator.
  • New option for objects: SLG Force Instance ; will treat a single object as an instance to allow you to move it in SLG Live! mode.
  • You can transform instance objects any way (location / rotation / scale), but you cannot modify their mesh (simply re-export in that case)
  • You can move Dupligroup instances, update: and the source objects as well (which you would normally hide in another layer).
  • Instances cannot have modifiers attached, apply modifiers before creating instances. (Dupligroup source objects can have modifiers)

Updated 2010-07-29: add SPPM Direct Light Sampling option on SmallLuxGPU Options panel
Updated 2010-08-02: update for latest Blender 2.53 revisions (see this post)
Updated 2010-08-13: limited support for particles as instances (see this post)
Updated 2010-08-14: add option to toggle SLG's Telnet echo / informational messages on/off for SLG Live! mode
Updated 2010-08-22: several Particle Instances enhancements + DupliGroup change (see this post)
Updated 2010-08-23: latest Blender revision compatability.

EDIT: This version of the plugin is compatible with the SLG v1.7beta1 release.
You can get SLG v1.7beta1 executables from this thread: SLG v1.7beta1 (The 100% OpenCL release !)

Update: Get the latest SLG Blender Plugin from the Luxrays repository...
Download latest version ==> render_smallluxgpu.py
Last edited by Chiaroscuro on Thu Sep 16, 2010 9:35 am, edited 31 times in total.
Chiaroscuro
Developer
 
Posts: 856
Joined: Thu Jan 21, 2010 10:46 am

Re: Blender 2.5 v0.63dev plugin for SLG v1.6beta3dev

Postby jensverwiebe » Wed Jul 28, 2010 9:29 am

Holy shit, thats working nicely, even on my older 8800GT !!! Wow :) :) :) dance....

Jens
User avatar
jensverwiebe
Developer
 
Posts: 2285
Joined: Wed Apr 02, 2008 4:34 pm

Re: Blender 2.5 v0.63dev plugin for SLG v1.6beta3dev

Postby pxl666 » Wed Jul 28, 2010 12:47 pm

whoah! cant try now but will give it a try tomorrow - sounds amazing!
thanks gyus!!!
User avatar
pxl666
 
Posts: 396
Joined: Sat Jun 28, 2008 7:09 am

Re: Blender 2.5 v0.63dev plugin for SLG v1.6beta3dev

Postby Dade » Thu Jul 29, 2010 7:07 am

Chiaroscuro wrote:[*]Mesh emitters (lights) cannot yet be used as instances (and therefore cannot yet be moved in SLG Live!). I do not prevent this as Dade hinted that it might be implemented later.


I should have fixed this problem, instanced area light sources should work fine.

It is amazing, awesome, moving objects and light sources around takes modelling to a totally new level.

If ATI doesn't release a new version of the OpenCL SDK with the bug fix, I'm going to buy a GTX480 in 3 ... 2 ...
User avatar
Dade
Developer
 
Posts: 5636
Joined: Sat Apr 19, 2008 6:04 pm
Location: Italy

Re: Blender 2.5 v0.63dev plugin for SLG v1.6beta3dev

Postby Chiaroscuro » Thu Jul 29, 2010 7:26 am

Dade wrote:I should have fixed this problem, instanced area light sources should work fine.
Brillant! Works now, Thanks! Moving lights in real-time is very awesome... one thing I noticed, not a big deal, but scaling does not affect brightness, it remains constant (so larger gets more diluted, smaller gets more concentrated) ; it's interesting, but different from "new" lights.
Chiaroscuro
Developer
 
Posts: 856
Joined: Thu Jan 21, 2010 10:46 am

Re: Blender 2.5 v0.63dev plugin for SLG v1.6beta3dev

Postby Chiaroscuro » Thu Jul 29, 2010 8:02 am

Minor update on first post: "SPPM Direct Light Sampling" in SmallLuxGPU Options Panel.
(also uploaded latest SLG dev build for Win64)
Chiaroscuro
Developer
 
Posts: 856
Joined: Thu Jan 21, 2010 10:46 am

Re: Blender 2.5 v0.63dev plugin for SLG v1.6beta3dev

Postby Dade » Thu Jul 29, 2010 8:33 am

Chiaroscuro wrote:
Dade wrote:I should have fixed this problem, instanced area light sources should work fine.
Brillant! Works now, Thanks! Moving lights in real-time is very awesome... one thing I noticed, not a big deal, but scaling does not affect brightness, it remains constant (so larger gets more diluted, smaller gets more concentrated) ; it's interesting, but different from "new" lights.


This was a bug, the area of the triangle used as light source was pre-calculated and not updated by the telnet interface. It should be now fixed :mrgreen:
User avatar
Dade
Developer
 
Posts: 5636
Joined: Sat Apr 19, 2008 6:04 pm
Location: Italy

Re: Blender 2.5 v0.63dev plugin for SLG v1.6beta3dev

Postby Chiaroscuro » Thu Jul 29, 2010 8:42 am

Dade wrote:It should be now fixed :mrgreen:
:D Thanks. (updated WIn64 build)
Chiaroscuro
Developer
 
Posts: 856
Joined: Thu Jan 21, 2010 10:46 am

Re: Blender 2.5 v0.63dev plugin for SLG v1.6beta3dev

Postby Eros » Thu Jul 29, 2010 3:43 pm

Sorry to be a bother, iv tried to build the latest version on my mac, however im finding that, whenever i restart a render SLG freezes. Sometimes it will just hang there and not do anything. Other times it will just stop and report a Segfault.

As all jensverwiebe's OSX builds have worked perfectly, and all of mine from version 1.5 have done this I wonder if i have something weird going on. The only obvious thing i can see is that when i do make, i get a ld warning for each linking process.

Linking CXX executable ../../bin/slg
ld: warning: directory 'lib' following -L not found

Everything looks fine when i do the cmake, just a little confusing, is there output where i might find any more info of what could be going wrong?
User avatar
Eros
 
Posts: 417
Joined: Wed Jul 22, 2009 8:37 am

Re: Blender 2.5 v0.63dev plugin for SLG v1.6beta3dev

Postby jensverwiebe » Thu Jul 29, 2010 4:30 pm

Eros wrote:Sorry to be a bother, iv tried to build the latest version on my mac, however im finding that, whenever i restart a render SLG freezes. Sometimes it will just hang there and not do anything. Other times it will just stop and report a Segfault.

As all jensverwiebe's OSX builds have worked perfectly, and all of mine from version 1.5 have done this I wonder if i have something weird going on. The only obvious thing i can see is that when i do make, i get a ld warning for each linking process.

Linking CXX executable ../../bin/slg
ld: warning: directory 'lib' following -L not found

Everything looks fine when i do the cmake, just a little confusing, is there output where i might find any more info of what could be going wrong?


Eros, sounds like a dylib not properly found. BTW: i always build with xcode, project made from cmake. These are much more reliable when it comes to sdk-use and linking.
I guess you made a clean build after 1.5 ? cmake changed a lot , so this was needed ( cachecleaning ).
Post the linkerwarnings here, i will take a look.

Jens
User avatar
jensverwiebe
Developer
 
Posts: 2285
Joined: Wed Apr 02, 2008 4:34 pm

Next

Return to GPU Acceleration

Who is online

Users browsing this forum: Exabot [Bot] and 7 guests