Lightsaber Effect?

Forums: Lightsaber Effect?
Poser (Integrated Plugin developed by Paul Kinnane)

Moderator: face_off

Forum rules
Please keep character renders sensibly modest, please do not post sexually explicit scenes of characters.

Lightsaber Effect?

Postby Nephanor » Thu Aug 05, 2021 3:33 pm

Nephanor Thu Aug 05, 2021 3:33 pm
I was if people have come up with a decent way to do the glow effect of a lightsaber. Something that can be customized depending on the saber color. After all, there are Sabers that have a black interior color with a outer glow color. I was thinking about having it as an interior rod which glows the inner color, with a transparent outer rod with the glow color. This would allow you to have the split, but I worry about the outer glow 'tainting' the inner glow for a white inner. Thoughts?
User avatar
Nephanor
Licensed Customer
Licensed Customer
 
Posts: 39
Joined: Thu Jan 12, 2017 6:20 am

Re: Lightsaber Effect?

Postby wimvdb » Fri Aug 06, 2021 7:12 pm

wimvdb Fri Aug 06, 2021 7:12 pm
with separate inner and outer rod the color will only interfere when emission value is high, use 1-3 as power with surface brightness enabled.
To get a smoother transition, you can use a gradient or falloff node in the opacit in the outer rod and a gradient in the emission color.
Configuration: Windows 11 Pro, I9 12900K, 128GB, RTX 3090, P12 b1029
wimvdb
Licensed Customer
Licensed Customer
 
Posts: 353
Joined: Sat Sep 22, 2012 2:03 pm
Location: Netherlands

Re: Lightsaber Effect?

Postby elsksa » Sat Aug 07, 2021 1:30 am

elsksa Sat Aug 07, 2021 1:30 am
Nephanor wrote:I was if people have come up with a decent way to do the glow effect of a lightsaber.
It is a post-production matter, unless "atmospheric-volume" is used in the scene, even so, it will only scatter light.

Nephanor wrote:Something that can be customized depending on the saber color.
It can be customized in post with the necessary AOVs.

Nephanor wrote:After all, there are Sabers that have a black interior color with a outer glow color.
A Lightsaber weapon does not exist in reality. Are you referring to a fake physical object (toy) or a movie/series reference?


Nephanor wrote: I was thinking about having it as an interior rod which glows the inner color, with a transparent outer rod with the glow color. This would allow you to have the split, but I worry about the outer glow 'tainting' the inner glow for a white inner. Thoughts?
Two correct "recipes" (ways) I will breakdown below are much simpler - it requires some "color-science" knowledge to fully understand the process but to keep this post short, the details will be spared.

First way:
• The cylindrical lightsaber geometry (mesh) would have an emissive light material applied to it,
• For the "color", it is recommended to use the GaussianSpectrum node - the color should not be fully saturated but subtle enough,
• "Glow" can be achieved via the Octane's Camera Imager "Bloom" option or in post (using an exponential type of glow!).
first_way_octane_lightsaber_glow_elsksa.jpg


Second way:
• The cylindrical lightsaber geometry (mesh) would have an emissive light material applied to it, without any "color" this time,
• The color would come from applying it to a geometry (mesh) enclosing the lightsaber emissive mesh,
• "Glow" can be achieved via the Octane's Camera Imager "Bloom" option or in post.
second_way_octane_lightsaber_glow_elsksa.jpg


The rest comes down to having a proper display-rendering-transform (such as the simple and straight forward: https://sobotka.github.io/filmic-blender) and playing with exposure in the Camera Imager.


This is the closest to a physically plausible "colored glow" from an emissive light source and both valid techniques used in VFX/CGI productions. The scene can not be shared but the asset is available on mecabricks.com ("general grievous").
elsksa
Licensed Customer
Licensed Customer
 
Posts: 784
Joined: Sat Jul 24, 2021 1:06 am

Re: Lightsaber Effect?

Postby Nephanor » Mon Aug 09, 2021 12:43 am

Nephanor Mon Aug 09, 2021 12:43 am
wimvdb wrote:with separate inner and outer rod the color will only interfere when emission value is high, use 1-3 as power with surface brightness enabled.
To get a smoother transition, you can use a gradient or falloff node in the opacit in the outer rod and a gradient in the emission color.


Okay....this is good advice. Never uses a falloff node, so no idea how to make that work. The gradient seems to work, but not as well as I'd like. Any help would be greatly appreciated, this is something entirely new to me.
User avatar
Nephanor
Licensed Customer
Licensed Customer
 
Posts: 39
Joined: Thu Jan 12, 2017 6:20 am

Re: Lightsaber Effect?

Postby wimvdb » Mon Aug 09, 2021 9:00 pm

wimvdb Mon Aug 09, 2021 9:00 pm
The falloff map is a blend node between 2 textures/colors which depends on the viewing angle. The skew factor is where you define how strong the angle effect is. Set up a mix texture, put the falloff map in the Amount and the two colors in the textures.
You can also use the falloff map in the opacity (colors white and black) to fade out the material.

It is also the mode you would use in velvet type materials
Configuration: Windows 11 Pro, I9 12900K, 128GB, RTX 3090, P12 b1029
wimvdb
Licensed Customer
Licensed Customer
 
Posts: 353
Joined: Sat Sep 22, 2012 2:03 pm
Location: Netherlands

Re: Lightsaber Effect?

Postby Nephanor » Wed Aug 11, 2021 3:15 pm

Nephanor Wed Aug 11, 2021 3:15 pm
wimvdb wrote:The falloff map is a blend node between 2 textures/colors which depends on the viewing angle. The skew factor is where you define how strong the angle effect is. Set up a mix texture, put the falloff map in the Amount and the two colors in the textures.
You can also use the falloff map in the opacity (colors white and black) to fade out the material


Okay,I mostly have this look. I put the falloff in the opacity and got it where it looks good going between the 'inner' color and the 'outer' color. But now am having a hard time making the edge of the outer color less harsh. Give it a softer gradient on the edge. I tried doing it as a subtract where the top value was the solid Edge falloff and it was subtracting a gradient of another edge falloff that was tighter (basically a falloff that just gave the rim of the outer) but it doesn't seem to work. Is there a better way to give the edge a gradient, or maybe give a 'glow" around the edge that will soften the edge?
User avatar
Nephanor
Licensed Customer
Licensed Customer
 
Posts: 39
Joined: Thu Jan 12, 2017 6:20 am

Re: Lightsaber Effect?

Postby wimvdb » Fri Aug 13, 2021 7:46 am

wimvdb Fri Aug 13, 2021 7:46 am
Nephanor wrote:
wimvdb wrote:The falloff map is a blend node between 2 textures/colors which depends on the viewing angle. The skew factor is where you define how strong the angle effect is. Set up a mix texture, put the falloff map in the Amount and the two colors in the textures.
You can also use the falloff map in the opacity (colors white and black) to fade out the material


Okay,I mostly have this look. I put the falloff in the opacity and got it where it looks good going between the 'inner' color and the 'outer' color. But now am having a hard time making the edge of the outer color less harsh. Give it a softer gradient on the edge. I tried doing it as a subtract where the top value was the solid Edge falloff and it was subtracting a gradient of another edge falloff that was tighter (basically a falloff that just gave the rim of the outer) but it doesn't seem to work. Is there a better way to give the edge a gradient, or maybe give a 'glow" around the edge that will soften the edge?


You can have more control over the falloff by using multiple stop points in the gradient node. Unfortunately, the plugin does not support that directly, but indirectly you can by using the edit button in the material properties. When you do this, you can enter all octane material nodes and edit them within octane. The gradient with a single begin and end point is a smooth transition. By adding stop points you can make the transition behave differently: Add a node closer to begin or end point and it will be more like a exponential fall off. You can add as many stop points as you need.
Alternatively you use the octane standalone to create the material, save it as a orbx in localdb and apply it in the plugin.
Configuration: Windows 11 Pro, I9 12900K, 128GB, RTX 3090, P12 b1029
wimvdb
Licensed Customer
Licensed Customer
 
Posts: 353
Joined: Sat Sep 22, 2012 2:03 pm
Location: Netherlands

Return to Poser


Who is online

Users browsing this forum: No registered users and 13 guests

Fri Apr 19, 2024 9:24 pm [ UTC ]