From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

3D Picture - Multiple Lights

Solved!
Go to solution

There's a way to apply different lights (combine colors) on the same textured object? I'd tried couple of things, but none of them give me the expected result.

 

Look the attachment.

 

PS: Using LabVIEW 2015.

0 Kudos
Message 1 of 3
(2,981 Views)
Solution
Accepted by topic author xChiron

Hey xChiron,

 

Good News my friend!! There is a way to do this!! Smiley Very Happy

 

If you open the example "Light a Scene" (you can find it in the NI Example Finder), you will notice that there's 2 light soucres (Fixed Light and Rotating Lights).

 

I used the same Idea of this example to modify your code and get the following result

 

2 spotlights.PNG

 

There's more work to do in the code to meet your needs, but I'm sure that this is a good starting point for you!!

 

I attached the modified code for you to test.

 

Best Regards!

 

 

Felipe Flores
Technical Support Engineer
National Instruments
Message 2 of 3
(2,855 Views)

Oh thanks. The composition order on BD always confuses me 😞

 

Here's the final effect. 

 

Kudoed and marked as solution.

 

0 Kudos
Message 3 of 3
(2,844 Views)