Jump to content

[SOLVED] Light Probe Manual Question


photo

Recommended Posts

Posted

https://developer.unigine.com/en/docs/1.0/principles/lights_shadows/lights/prob_light?words=probes,probe#usage

 

Usage

It should be marked out, that to render all the probe light sources illuminating some given object, only a single pass is required. Asprobe lights are effectively generated at low computational cost, it is efficient to add them in great numbers and arrange in the way simulating the global illumination in real time. The plausible effect is achieved due to applying linear interpolation between the sources.

 

 

The grabbing presets, on the base of which a probe light bakes the necessary spherical harmonics coefficients, can be saved and loaded from .dds file, providing a handy tool for relighting a scene in one mouse click.

 

What is meant by grabbing presets ..... and the whole scene?

I can see a save to file in the probe light itself. 

 

Can I save all the selected lights into a single .dds file, or separate?

 

Basically I want to use the probes with the tracker. So animating all the probes over the daycycle. 

 

Cheers

Werner

 

Posted

Hi Werner,

What is meant by grabbing presets ..... and the whole scene?

To grab a preset is to calculate spherical harmonics coefficients for the current probe light environment. To grab a preset press a "Grab" button in the Light tab of a light.

 

Say, for example, we have an object illuminated with a probe light:

 

 

 

Then we change the color of the surrounding surface with diffuse reflections and press a "Grab" button, so the lighting is recalculated.

 

 

I can see a save to file in the probe light itself.

Can I save all the selected lights into a single .dds file, or separate?

By pressing a "Save" button you can save a probe light into a cube map texture (RGBA16F) containing the probe light environment.

 

You need to save every light into a separate .dds file.

Basically I want to use the probes with the tracker. So animating all the probes over the daycycle.

Note that objects illuminated by probe lights cannot cast shadows.

Posted

Ok, yes. 

But the Manual says, 

 

 

providing a handy tool for relighting a scene in one mouse click.

So if I need to save every light per hand into a seperate .dds file, where is the 'handy' tool.

 

I see the Batch grabber, which is a 'handy' tool.

 

I see the 'create lightprobes' in the Illumination tab, which is quite 'handy' as well.

 

I just dont get the sentence about saving the presets and whole scene.

 

But I think I got the answer I needed from you.

 

Thank you!

 

Best. werner

Posted

providing a handy tool for relighting a scene in one mouse click.

"Handy" refers to the "Grab" option, which allows you to relight the scene based on the current illumination in one click. If you then save your project, all the grabbed illumination will be saved too.

Posted

Right.

It is pretty nice imo.

 

So i guess it is possible to get those illumination out of the scene, to use it with the tracker.

 

cheers.

Werner

  • 1 year later...
Posted

"Create probe lights" works only for object, not for reference node. It is positioning probes based on what (It created 8 probes)?.

 

Also I dont understand what to do next. I have object, I have 8 light probes with generated textures. But nothing happens, it is not iluminating anything. Should I turn something on? Thanks.

Posted

Hi demostenes,

 

"Create probe lights" works only for object, not for reference node.

 

Probe lights affect both objects and node references.

 

It is positioning probes based on what (It created 8 probes)?.

 

Probe lights are positioned in the scene in accordance with the future movements of dynamic objects. Please check the lights/prob_01 sample.

 

 

Also I dont understand what to do next. I have object, I have 8 light probes with generated textures. But nothing happens, it is not iluminating anything. Should I turn something on? Thanks.

 

For objects to be illuminated the Rendering -> Features -> Prob lights checkbox should be enabled. Besides, you need to set the light prob radius in the Light tab different from 0.

×
×
  • Create New...