How can I put light on a moving object?

quetillo

Member
I want to give light to a moving object,
As if it were a spotlight, which would illuminate, I was looking at the animation track test, where a plane and a train with light come out, but I don't understand much about this topic since on the page, it doesn't say much about giving light in motion.

; LIGHT HELI

[LIGHT_...]
POSITION = 0, 0, 0.8
DIRECTION = 0, 0, 1
RELATIVE_TO = heli
SPOT = 190
SPOT_SHARPNESS = 0.8
RANGE = 20
RANGE_GRADIENT_OFFSET = 0.2
COLOR = 10, 10, 0
VOLUMETRIC_LIGHT = 0

[CustomEmissive]
Materials = Material #2
Resolution = 256, 128
@ = CustomEmissive_Rect, Channel = 0, Start = "86, 75", Size = "24, 24"

[MATERIAL_ADJUSTMENT_...]
MATERIALS = Material #2
KEY_0 = ksEmissive
VALUE_0 = 100, 100, 1

https://github.com/
[LIGHT_...]
RELATIVE_TO = name of a moving node
It only mentions one option, nothing more, does anyone understand moving lights, thanks
 

quetillo

Member
yes, I also implanted it, but I have seen the test_track_animation that has no object, it is the same texture, of the train and the plane that gives light without emission
 

quetillo

Member
[LIGHT_...]
RELATIVE_TO =luz



; LIGHT HELI

[LIGHT_...]
POSITION = 0, 0, 0.8
DIRECTION = 0, 0, 1
RELATIVE_TO = heli
SPOT = 190
SPOT_SHARPNESS = 0.8
RANGE = 200
RANGE_GRADIENT_OFFSET = 0.2
COLOR = 10, 10, 0
VOLUMETRIC_LIGHT = 0

[CustomEmissive]
Materials = Material #2
Resolution = 256, 128
@ = CustomEmissive_Rect, Channel = 0, Start = "86, 75", Size = "24, 24"

[MATERIAL_ADJUSTMENT_...]
MATERIALS = Material #2
KEY_0 = ksEmissive
VALUE_0 = 100, 100, 1
 

Attachments

Johnr777

Well-Known Member
Moderator
[LIGHT_...]
RELATIVE_TO =luz



; LIGHT HELI

[LIGHT_...]
POSITION = 0, 0, 0.8
DIRECTION = 0, 0, 1
RELATIVE_TO = heli
SPOT = 190
SPOT_SHARPNESS = 0.8
RANGE = 200
RANGE_GRADIENT_OFFSET = 0.2
COLOR = 10, 10, 0
VOLUMETRIC_LIGHT = 0

[CustomEmissive]
Materials = Material #2
Resolution = 256, 128
@ = CustomEmissive_Rect, Channel = 0, Start = "86, 75", Size = "24, 24"

[MATERIAL_ADJUSTMENT_...]
MATERIALS = Material #2
KEY_0 = ksEmissive
VALUE_0 = 100, 100, 1
Try using the node (empty / dummy) instead of the mesh
 

quetillo

Member
Try using the node (empty / dummy) instead of the mesh
thanks, that's how it was, you have to assign a node, good to create and assign it, but the bad thing is that the light stays on even when it's daylight,thank you very much for this help
 

Johnr777

Well-Known Member
Moderator
thanks, that's how it was, you have to assign a node, good to create and assign it, but the bad thing is that the light stays on even when it's daylight,thank you very much for this help
add

CONDITION = NIGHT_SHARP

to your light
 

quetillo

Member
good thanks for everything, I wanted to ask you how to put a fixed light to a movement, I mean a light that does not illuminate, it only turns on, thanks again
 
Top