Author Topic: Light beam doesn't show  (Read 2175 times)

0 Members and 1 Guest are viewing this topic.

Offline Josip_ZG

Light beam doesn't show
« on: March 28, 2019, 07:38:14 am »
I've been trying to make volumetric lighting with a combination of scattering medium and spotlight.
Any combination I've tried - changing density, transparency distance, albedo, transmission, or angle, fallof and power of spotlight - it doesn't help.
All I get is light showing on the car. I tried placing light source inside the cube of scattering medium or just slightly outside of it. Video examples on YT show
it should be achieved quite easily. Am I making a basic mistake somewhere?

My laptop is very slow with this. Furthest I let it sample in realtime window is to about 40 samples. It should've already been visible by then, but it wasn't.
Spotlight was at 1200, 5500 at 25000 and 150 000 Lumen. I tried everything I could think of with values of both materials.

(light source is diagonally left and up from the car)

(doesn't show with IES light, or area lights either).
« Last Edit: March 28, 2019, 07:43:48 am by Josip_ZG »

Offline Eric Summers

Re: Light beam doesn't show
« Reply #1 on: March 28, 2019, 10:28:18 am »
I'm guessing you're looking for something like what I've attached, right?

What is the Beam Angle of your spotlight? Could it be that your beam is wider than your scattering medium? You could also try switching to Watts and see if the beam shows up (high Watt values make a bright light fast). One last thing - does your HDRI have any bright lights that could be washing out the spotlight?

Offline INNEO_MWo

  • Hero Member
  • *****
  • Posts: 1010
  • Total likes: 16
  • Senior Technical Consultant @ INNEO (Germany)
    • german KeyShot page from INNEO Solutions
Re: Light beam doesn't show
« Reply #2 on: March 28, 2019, 12:13:56 pm »
If you take a look into the spotlight.bip from the scene folder, you’ll get the lighting settings you need.
I guess it is something missing in your scene like global illumination and a ground plane?!?

Hope that helps

Offline Josip_ZG

Re: Light beam doesn't show
« Reply #3 on: March 29, 2019, 03:12:07 am »
@Eric: I've tried narrow and wide light angles, it's not about that. My HDRI provides no lighting at all. I wanted everything to be done with just this one light. Maybe switching to Watts helps, thanks for your input.

@MWo: I totally forgot about that scene. I always have GI on, but the ground plane might not have been active in the scene.

Offline Esben Oxholm

Re: Light beam doesn't show
« Reply #4 on: March 29, 2019, 03:17:55 am »
Hi Jozip.
Is the bottom of the cube you've used for the scattering medium material by any change interfering with your groundplane?

If yes, try and move the cube bottom below the groundplane.


Offline Josip_ZG

Re: Light beam doesn't show
« Reply #5 on: March 29, 2019, 04:04:15 am »
Just figured out what is the problem. I tried all of yours suggestions, checked the spotlights.bip scene. Then I made a completely new scene without the car. Everything worked with all the default settings, I just applied materials and placed a sphere inside the cube. Tried basic and interior mode, it worked. Then I imported the car and the beam went missing again :D
Then I changed from interior mode to product mode and it showed. Why, I don't know because without the car it's visible even below 10 samples.

Below is product mode with only 2 samples and then interior mode with 15 samples in real-time.

In the spotlights.bip it shows in both product mode and interior mode. I like to use interior mode all the time, so why would this happen? It has to be something about my laptop, probably not powerful enough. Because I'm not a newbie, I know what I can try tweaking to check most of the possibilities... I just don't bother writing down these basic things like GI, numbers of bounces, environment lighting...
« Last Edit: March 29, 2019, 04:10:10 am by Josip_ZG »

Offline Will Gibbons

Re: Light beam doesn't show
« Reply #6 on: April 02, 2019, 11:36:57 am »
I tried this yesterday (just coincidentally) and ran into the same thing on a 64-thread CPU, so it's not your hardware :)

Offline Josip_ZG

Re: Light beam doesn't show
« Reply #7 on: April 02, 2019, 12:59:32 pm »
That's good news... in some way...
Can it be known for sure if it's a serial problem with the whole version? Does someone else of you Shooters get results on 8.2?

I just did this today again in a whole other scene and model. It did happen again.