You are not logged in.

#1 2010-07-28 04:02:05

lifeafter2am
Member
From: 127.0.0.1
Registered: 2009-06-10
Posts: 1,332

Arch + Blender + SmallLuxGPU

Just something I have been messing with in Blender 2.5 Beta.  Rendered on SmallLuxGPU using stochastic progressive photon mapping entirely on the GPU (OpenCL). 

crystal-wall-linear-800.png


#binarii @ irc.binarii.net
Matrix Server: https://matrix.binarii.net
-------------
Allan -> ArchBang is not supported because it is stupid.

Offline

#2 2010-07-28 12:42:26

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Arch + Blender + SmallLuxGPU

> using stochastic progressive photon mapping
English please ...
And can I have one in blue? Would that mean you have to re-render everything? big_smile

Offline

#3 2010-07-28 13:32:01

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: Arch + Blender + SmallLuxGPU

Looks good! I can't wait to play with that stuff myself!


Matt

"It is very difficult to educate the educated."

Offline

#4 2010-07-28 14:43:37

Labello
Member
From: Germany
Registered: 2010-01-21
Posts: 317
Website

Re: Arch + Blender + SmallLuxGPU

wtf!?

how did u get this working? :-(

i was not able to compile SmallLuxGPU on my installation... could you please point out which packages are needed? i got nvidia here :-)

btw: it is not computed on GPU entirely since i think it just uses the GPU for interesection-calculus :-)


"They say just hold onto your hope but you know if you swallow your pride you will choke"
Alexisonfire - Midnight Regulations

Offline

#5 2010-07-28 15:22:18

lifeafter2am
Member
From: 127.0.0.1
Registered: 2009-06-10
Posts: 1,332

Re: Arch + Blender + SmallLuxGPU

karol wrote:

> using stochastic progressive photon mapping
English please ...
And can I have one in blue? Would that mean you have to re-render everything? big_smile

It's a new algorithm for tracing light moving through and around a scene.  Works extremely well with caustics (glass) and is much faster than using something like Path Tracing.  I am really just learning about all the different algorithms myself.  smile

And yes, it would mean I would have to re-render it, which is about 10 hours to get to wallpaper size.  Maybe another day, but I don't really feel like eating up my cycles with another version now. wink


#binarii @ irc.binarii.net
Matrix Server: https://matrix.binarii.net
-------------
Allan -> ArchBang is not supported because it is stupid.

Offline

#6 2010-07-28 15:29:47

lifeafter2am
Member
From: 127.0.0.1
Registered: 2009-06-10
Posts: 1,332

Re: Arch + Blender + SmallLuxGPU

Labello wrote:

wtf!?

how did u get this working? :-(

i was not able to compile SmallLuxGPU on my installation... could you please point out which packages are needed? i got nvidia here :-)

btw: it is not computed on GPU entirely since i think it just uses the GPU for interesection-calculus :-)

The only package that I needed above what Blender needed (I compile that from the SVN every night) was opencl.  It looks for the OpenCL library (libOpenCL.so), which I am pretty sure I got from the AUR.  The package is called opencl-headers.

I don't know about the intersection-calculus, Dade is the person to ask that over on the Luxrender forums.  big_smile


#binarii @ irc.binarii.net
Matrix Server: https://matrix.binarii.net
-------------
Allan -> ArchBang is not supported because it is stupid.

Offline

#7 2010-07-28 15:34:23

Labello
Member
From: Germany
Registered: 2010-01-21
Posts: 317
Website

Re: Arch + Blender + SmallLuxGPU

lifeafter2am wrote:
Labello wrote:

wtf!?

how did u get this working? :-(

i was not able to compile SmallLuxGPU on my installation... could you please point out which packages are needed? i got nvidia here :-)

btw: it is not computed on GPU entirely since i think it just uses the GPU for interesection-calculus :-)

The only package that I needed above what Blender needed (I compile that from the SVN every night) was opencl.  It looks for the OpenCL library (libOpenCL.so), which I am pretty sure I got from the AUR.  The package is called opencl-headers.

I don't know about the intersection-calculus, Dade is the person to ask that over on the Luxrender forums.  big_smile

ok thanks^^

yeah i know about dade since i am also active in this forum :-)


"They say just hold onto your hope but you know if you swallow your pride you will choke"
Alexisonfire - Midnight Regulations

Offline

#8 2010-07-28 15:37:04

lifeafter2am
Member
From: 127.0.0.1
Registered: 2009-06-10
Posts: 1,332

Re: Arch + Blender + SmallLuxGPU

Labello wrote:
lifeafter2am wrote:
Labello wrote:

wtf!?

how did u get this working? :-(

i was not able to compile SmallLuxGPU on my installation... could you please point out which packages are needed? i got nvidia here :-)

btw: it is not computed on GPU entirely since i think it just uses the GPU for interesection-calculus :-)

The only package that I needed above what Blender needed (I compile that from the SVN every night) was opencl.  It looks for the OpenCL library (libOpenCL.so), which I am pretty sure I got from the AUR.  The package is called opencl-headers.

I don't know about the intersection-calculus, Dade is the person to ask that over on the Luxrender forums.  big_smile

ok thanks^^

yeah i know about dade since i am also active in this forum :-)

Awesome, whats your nick over there? smile


#binarii @ irc.binarii.net
Matrix Server: https://matrix.binarii.net
-------------
Allan -> ArchBang is not supported because it is stupid.

Offline

#9 2010-07-28 15:48:13

Labello
Member
From: Germany
Registered: 2010-01-21
Posts: 317
Website

Re: Arch + Blender + SmallLuxGPU

lifeafter2am wrote:

Awesome, whats your nick over there? smile

make a quick guess xD


"They say just hold onto your hope but you know if you swallow your pride you will choke"
Alexisonfire - Midnight Regulations

Offline

#10 2010-07-28 15:49:35

lifeafter2am
Member
From: 127.0.0.1
Registered: 2009-06-10
Posts: 1,332

Re: Arch + Blender + SmallLuxGPU

Labello wrote:
lifeafter2am wrote:

Awesome, whats your nick over there? smile

make a quick guess xD

Yeah, I JUST saw your post in the topic over there.  lol.  lol


#binarii @ irc.binarii.net
Matrix Server: https://matrix.binarii.net
-------------
Allan -> ArchBang is not supported because it is stupid.

Offline

#11 2010-07-28 18:18:51

Labello
Member
From: Germany
Registered: 2010-01-21
Posts: 317
Website

Re: Arch + Blender + SmallLuxGPU

I tried to make my first PKGBUILD!

could anyone please verify that this works? i do not know what to enter in source=() since the source is fetched from the server. this is somehow confusing to me :-(

this PKGBUILD is based upon the luxrender-hg PGKBUILD

pkgname=luxrays-hg
pkgver=2356
pkgrel=1
pkgdesc="Rendering system for physically correct, unbiased image synthesis using your graphics card"
arch=('i686' 'x86_64')
url="http://www.luxrender.net/"
license=('GPL')
depends=('libgl' 'boost-libs' 'freeimage' 'freeglut' 'opencl-headers')
makedepends=('mercurial' 'cmake' 'boost')
source=(??)


_hgroot="http://src.luxrender.net"
_hgrepo="luxrays"

build() {
  cd "$srcdir"
  msg "Connecting to $_hgrepo Mercurial server......."
  if [ -d $_hgrepo ]; then
    cd "$srcdir"/$_hgrepo
    hg pull -u
    cd "$srcdir"
  else
    hg clone -b default $_hgroot/$_hgrepo $_hgrepo || return 1
  fi  

  msg "Mercurial checkout done or server timeout"
  msg "Starting make..."

  if [ -e "$srcdir"/$_hgrepo-build ]; then
    rm -rf "$srcdir"/$_hgrepo-build
  fi
  cp -r "$srcdir"/lux "$srcdir"/$_hgrepo-build
  cd "$srcdir"/$_hgrepo-build  

  cmake -DCMAKE_INSTALL_PREFIX=/usr .
  make || return 1
}

package() {
  cd "$srcdir"/$_hgrepo-build
  make DESTDIR="$pkgdir" install

  # fix library path on x86_64
  [ "$CARCH" = "x86_64" ] && mv "$pkgdir"/usr/lib64 "$pkgdir"/usr/lib 
}

"They say just hold onto your hope but you know if you swallow your pride you will choke"
Alexisonfire - Midnight Regulations

Offline

#12 2010-08-25 11:50:19

foxbunny
Member
From: Serbia
Registered: 2006-10-31
Posts: 759
Website

Re: Arch + Blender + SmallLuxGPU

lifeafter2am wrote:

Just something I have been messing with in Blender 2.5 Beta.  Rendered on SmallLuxGPU using stochastic progressive photon mapping entirely on the GPU (OpenCL).

How did you get SLG to work on Arch? I tried the binary distribution, but it fails because the boost libs are new.

Offline

#13 2010-08-25 14:11:27

lifeafter2am
Member
From: 127.0.0.1
Registered: 2009-06-10
Posts: 1,332

Re: Arch + Blender + SmallLuxGPU

foxbunny wrote:
lifeafter2am wrote:

Just something I have been messing with in Blender 2.5 Beta.  Rendered on SmallLuxGPU using stochastic progressive photon mapping entirely on the GPU (OpenCL).

How did you get SLG to work on Arch? I tried the binary distribution, but it fails because the boost libs are new.

Dade uses Ubuntu, so yeah, you can't use the binary distribution that he releases.  I download the source from the server and compile it myself with cmake.  Really easy to do.


#binarii @ irc.binarii.net
Matrix Server: https://matrix.binarii.net
-------------
Allan -> ArchBang is not supported because it is stupid.

Offline

#14 2010-08-25 16:01:26

Labello
Member
From: Germany
Registered: 2010-01-21
Posts: 317
Website

Re: Arch + Blender + SmallLuxGPU

a PKGBUILD would be cool. :-) i tried but did anyone test it? :3


"They say just hold onto your hope but you know if you swallow your pride you will choke"
Alexisonfire - Midnight Regulations

Offline

#15 2010-08-25 18:30:38

foxbunny
Member
From: Serbia
Registered: 2006-10-31
Posts: 759
Website

Re: Arch + Blender + SmallLuxGPU

lifeafter2am wrote:

Dade uses Ubuntu, so yeah, you can't use the binary distribution that he releases.  I download the source from the server and compile it myself with cmake.  Really easy to do.

May you be persuaded to give us a walk-through on building SLG? Pretty please. smile

Offline

#16 2010-08-25 19:37:56

Labello
Member
From: Germany
Registered: 2010-01-21
Posts: 317
Website

Re: Arch + Blender + SmallLuxGPU

well it is quite straightforward. there is a wikipage on the luxrender site that outlines the dependencies and build process:
http://www.luxrender.net/wiki/index.php … g_on_Linux


"They say just hold onto your hope but you know if you swallow your pride you will choke"
Alexisonfire - Midnight Regulations

Offline

#17 2010-08-25 20:15:43

foxbunny
Member
From: Serbia
Registered: 2006-10-31
Posts: 759
Website

Re: Arch + Blender + SmallLuxGPU

Thanks for that. I missed that page.

Offline

#18 2010-08-25 21:49:40

livibetter
Member
From: Taipei
Registered: 2008-05-14
Posts: 95
Website

Re: Arch + Blender + SmallLuxGPU

lifeafter2am wrote:

Just something I have been messing with in Blender 2.5 Beta.  Rendered on SmallLuxGPU using stochastic progressive photon mapping entirely on the GPU (OpenCL). 

http://lh3.ggpht.com/_bJyjZAFr93U/TE-n3 … ar-800.png

I have subscribed to this post when it got posted, it's not because I use Blender but because I was waiting for someone to ask this question "What's that object in the image?" (I would feel shamed if I ask that question)

But no one has asked that question, I guess I am the only one who couldn't figure out what that object is. So, please kindly tell me what's that object in the image?

Offline

#19 2010-08-25 23:21:08

foxbunny
Member
From: Serbia
Registered: 2006-10-31
Posts: 759
Website

Re: Arch + Blender + SmallLuxGPU

Hehe, I was actually wondering the same, but the fact that SLG works on Arch was priority. smile

Offline

#20 2010-08-25 23:39:18

lifeafter2am
Member
From: 127.0.0.1
Registered: 2009-06-10
Posts: 1,332

Re: Arch + Blender + SmallLuxGPU

It's just a glass abstract sculpture.  I mainly made it to test out using the new SPPM rendering since it handles caustics so well.  big_smile


#binarii @ irc.binarii.net
Matrix Server: https://matrix.binarii.net
-------------
Allan -> ArchBang is not supported because it is stupid.

Offline

#21 2010-08-25 23:51:14

livibetter
Member
From: Taipei
Registered: 2008-05-14
Posts: 95
Website

Re: Arch + Blender + SmallLuxGPU

lifeafter2am wrote:

It's just a glass abstract sculpture.  I mainly made it to test out using the new SPPM rendering since it handles caustics so well.  big_smile

Ah.. now I see, a sculpture. It's art! smile

Offline

#22 2010-08-26 00:36:10

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: Arch + Blender + SmallLuxGPU

Nice work! smile

Note: This is why I program. I'm not much of an artist. tongue

Offline

#23 2010-09-04 09:10:47

goplexian
Member
From: Vancouver, Canada
Registered: 2010-01-27
Posts: 17
Website

Re: Arch + Blender + SmallLuxGPU

I just thought I'd mention that there is now a package build for SmallLuxGPU for Blender-2.5

Actually SmallLuxGPU was just a demo project, the real name is Luxrays. So the package is called Luxrays, not SmallLuxGPU.

The package can be found on Aur of course.

And I just explained how to get started over on my blog if you are interested.

Last edited by goplexian (2010-09-04 09:14:19)


Intel Core2Quad Q9550 @ 3.4 GHz, 4GB DDR2 800MHz
GeForce GTS 250 1024MB + Raid5 Storage
blog

Offline

#24 2010-09-04 11:13:14

Labello
Member
From: Germany
Registered: 2010-01-21
Posts: 317
Website

Re: Arch + Blender + SmallLuxGPU

goplexian wrote:

I just thought I'd mention that there is now a package build for SmallLuxGPU for Blender-2.5

Actually SmallLuxGPU was just a demo project, the real name is Luxrays. So the package is called Luxrays, not SmallLuxGPU.

The package can be found on Aur of course.

And I just explained how to get started over on my blog if you are interested.

this rocks so hard! thanks man!

i am wondering whether you added nvidia-utils as dependency? ati afaik does also support luxray. i know that most devs of luxrender use ati. so this should work too.

did anyone test this package with ati? :-) /me hat nvidia too.


"They say just hold onto your hope but you know if you swallow your pride you will choke"
Alexisonfire - Midnight Regulations

Offline

Board footer

Powered by FluxBB