GPU and emissive materials

Come here for help & support.
Post Reply
11 posts • Page 1 of 1
Pipperox
Posts: 6
Joined: Fri Nov 02, 2012 11:49 pm

GPU and emissive materials

Post by Pipperox » Fri Nov 02, 2012 11:52 pm

Hi,
I've noticed that if i enable GPU rendering (OpenCL), emissive materials (which i use as light sources) are not rendered.
They still light up the scene though, just the emissive objects themselves are invisible.

If i use the same Path algorithm, but running on the CPU, then the scene is identical, except for the emissive objects which are now visible (and glowing).

Is this a limitation of OpenCL rendering, or am I missing something?

Thanks,

User avatar
Zom-B
1st Place 100
Posts: 4701
Joined: Tue Jul 04, 2006 4:18 pm
Location: ´'`\_(ò_Ó)_/´'`
Contact:

Re: GPU and emissive materials

Post by Zom-B » Sat Nov 03, 2012 12:07 am

Do you use sphere primitives as light sources??!
The GPU tracer doesn't support Primitives, so no mesh is exported with no light material on it if you do so.
Als better try to create loooow poly spheres convert to mesh for faster rendering.
Less polys for emitters = better!
polygonmanufaktur.de

Pipperox
Posts: 6
Joined: Fri Nov 02, 2012 11:49 pm

Re: GPU and emissive materials

Post by Pipperox » Sat Nov 03, 2012 1:56 am

Yes, that was exactly the problem, thank you! :wink:

User avatar
Zom-B
1st Place 100
Posts: 4701
Joined: Tue Jul 04, 2006 4:18 pm
Location: ´'`\_(ò_Ó)_/´'`
Contact:

Re: GPU and emissive materials

Post by Zom-B » Sat Nov 03, 2012 6:34 am

Pipperox wrote:Yes, that was exactly the problem, thank you! :wink:
You are welcome :)
Maybe you could post that issue for the relevant Exporter Subforum in the latest release thread so it gets fixed.
(fixing = convert spheres with emitter mats to mesh if GPU export is activated)
polygonmanufaktur.de

Pipperox
Posts: 6
Joined: Fri Nov 02, 2012 11:49 pm

Re: GPU and emissive materials

Post by Pipperox » Sat Nov 03, 2012 6:37 am

Haha, no there isn't any relevant exporter, I scripted the scene by hand in XML. :P

User avatar
Zom-B
1st Place 100
Posts: 4701
Joined: Tue Jul 04, 2006 4:18 pm
Location: ´'`\_(ò_Ó)_/´'`
Contact:

Re: GPU and emissive materials

Post by Zom-B » Sat Nov 03, 2012 7:30 am

Pipperox wrote:Haha, no there isn't any relevant exporter, I scripted the scene by hand in XML. :P
crazy you ^^
remembers me like for Indigo 0.5 there was a low end exporter from C4D, and I had to hack a lot inside the XML to change camera view etc.
I even don't dare to ask why you don't use at least Blender or Sketchup ;)
polygonmanufaktur.de

User avatar
CTZn
Posts: 7240
Joined: Thu Nov 16, 2006 4:34 pm
Location: Paris, France

Re: GPU and emissive materials

Post by CTZn » Sat Nov 03, 2012 10:20 am

Why don't you use blender or SketchUp ?
/*angel mode off*/
obsolete asset

Pipperox
Posts: 6
Joined: Fri Nov 02, 2012 11:49 pm

Re: GPU and emissive materials

Post by Pipperox » Sun Nov 04, 2012 4:01 am

Short answer: because i'm an engineer, not an artist. :wink:

Longer answer: my scene is simple, but it's procedurally generated and i need full control on the dimension and positions of my objects.

While sort on topic: are there any plans to support CSG in future releases?
CSG is great to generate procedurally complex scenes, for example for scientific visualizations.
So far i was using POVRay exactly for this purpose, but i'm moving to Indigo due to the physical light simulation and greatly increased realism.

User avatar
Zom-B
1st Place 100
Posts: 4701
Joined: Tue Jul 04, 2006 4:18 pm
Location: ´'`\_(ò_Ó)_/´'`
Contact:

Re: GPU and emissive materials

Post by Zom-B » Sun Nov 04, 2012 4:10 am

There was some work doe for implicit surfaces and parametric surface.
polygonmanufaktur.de

User avatar
CTZn
Posts: 7240
Joined: Thu Nov 16, 2006 4:34 pm
Location: Paris, France

Re: GPU and emissive materials

Post by CTZn » Sun Nov 04, 2012 8:57 am

There is also the possibility to substract from participating media using an 'air' medium.

I don't remind that CSG was requested ever. I'm not the developer you want to talk to but I naively tend to believe that implementing it for primitives and other implicit surfaces would be a good start.

I wouldn't mind having a peak at an engineer's work someday :)
obsolete asset

User avatar
Headroom
Indigo 100
Posts: 1060
Joined: Wed Aug 08, 2007 1:07 pm
Location: Spartanburg, SC, USA
Contact:

GPU and emissive materials

Post by Headroom » Sun Nov 04, 2012 12:54 pm

Bad excuse! I've been an engineer for over 20 years and have used Blender for about 10 years.

To be honest, however, the transition from a feature to an edge loop took a while to sink in. Maybe I need to make a tutorial. Blender for Engineers :-)
iMac 2.93 GHz Quad Core i7. 12 GB memory
ATI Radeon HD 5750M 1024 MB
OS X 10.10.3 Yosemite
Blender 2.72, Blendigo 3.8.25, Indigo 3.8.26

Trippy Lighting LLC - Colorful LED lighting systems
High Power RGB LED driver - Blog

Post Reply
11 posts • Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest