Sphere and MapSphere light sources

Discussion related to the LuxCore functionality, implementations and API.
Post Reply
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Sphere and MapSphere light sources

Post by Dade »

I have added the support for Sphere and MapSphere light sources. They work exactly like Point and MapPoint light sources but they have the additional ".radius" parameter to define the radius of the emitting sphere. This is a rendering with a sphere light source:
sphere.png
and this of MapSphere with a IES profile:
mapsphere.png
Note: it is up to the exporter if to expose the additional light source type or just expose a Point/MapPoint light source with an optional radius parameter (and internaly switch among different light source types if radius > 0.0 and/or there is a IES/image profile).
Support LuxCoreRender project with salts and bounties
User avatar
Sharlybg
Donor
Donor
Posts: 3101
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: Sphere and MapSphere light sources

Post by Sharlybg »

good add thanks you ! i think only one light type is enough just add the radius parameter ;)
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Sphere and MapSphere light sources

Post by Dade »

Sharlybg wrote: Fri Feb 23, 2018 3:58 pm good add thanks you ! i think only one light type is enough just add the radius parameter ;)
It depends a bit how/if Blender supports (and shows) spherical light sources or no :?:
Support LuxCoreRender project with salts and bounties
Asticles
Donor
Donor
Posts: 171
Joined: Thu Jan 11, 2018 8:52 am
Location: Barcelona, Spain
Contact:

Re: Sphere and MapSphere light sources

Post by Asticles »

Great!
marcatore
Donor
Donor
Posts: 463
Joined: Wed Jan 10, 2018 8:04 am

Re: Sphere and MapSphere light sources

Post by marcatore »

So, Dade, this feature will be useful to have IES lights with "soft shadows" ?
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Sphere and MapSphere light sources

Post by Dade »

marcatore wrote: Mon Feb 26, 2018 3:29 pm So, Dade, this feature will be useful to have IES lights with "soft shadows" ?
Yes, "MapSphere" light sources are the type used for IES lights and the radius can be used to have soft shadows.
Support LuxCoreRender project with salts and bounties
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Sphere and MapSphere light sources

Post by B.Y.O.B. »

There is even an example image with IES and soft shadows in the first post of this thread ;)

I added support for this light in BlendLuxCore.
It seems this light is always camerainvisible - I think it could be useful to have it visible in some scenes. Would this be a problem to implement?

edit: I guess it would require it to be intersectible. If that's a lot of work it does not have high priority, just an idea.
edit2: Or is this blasphemy against the one god (the triangle)? :P
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Sphere and MapSphere light sources

Post by Dade »

B.Y.O.B. wrote: Mon Feb 26, 2018 4:43 pm edit2: Or is this blasphemy against the one god (the triangle)? :P
Exactly ... be aware of the sacred purifying fire :!: :lol: :!:
Support LuxCoreRender project with salts and bounties
kintuX
Posts: 809
Joined: Wed Jan 10, 2018 2:37 am

Re: Sphere and MapSphere light sources

Post by kintuX »

what joyfully news :D
Post Reply