Magma Logic Switch Question

Discussion and Support of Krakatoa Volumetric Particle Rendering, Manipulation and Management Toolkit
User avatar
ibl
Posts: 2
Joined: Wed May 09, 2018 5:40 pm
Location: Barcelona (Spain)
Contact:

Magma Logic Switch Question

Postby ibl » Sun May 13, 2018 7:32 pm

Logic Switch Question

I want to apply two different emission intensities depending on
the position of the camera or an object
The transition between the different intensities should be smooth but irregular(Random)
(like using DELETE modifier + Soft selection)

I tried it using a switch but it does not work
magma.jpg
magma.jpg (412.38 KiB) Viewed 126 times


thanks in advance and excuse my english
Last edited by ibl on Mon May 14, 2018 3:28 pm, edited 2 times in total.

User avatar
Bobo
Posts: 6128
Joined: Tue Nov 15, 2005 10:26 am
Location: Vancouver, Canada
Contact:

Re: Magma Logic Switch Question

Postby Bobo » Sun May 13, 2018 11:43 pm

camerapos_emission_with transition.png
camerapos_emission_with transition.png (144.84 KiB) Viewed 116 times


The Switch expects as Boolean value (true or false). So you need to specify a condition (e.g. Greater than a threshold) for it not to error out.
I also added a Noise to the Threshold based on the particle position, so you get some jittering at the border. Without the Add, you get a straight line.
The Power op kills your sign, so without it you can have the Threshold be > 0 and < 0 to move the border. With it, you can move only one way...
Borislav "Bobo" Petrov
Product Specialist
Thinkbox Software Inc.

User avatar
ibl
Posts: 2
Joined: Wed May 09, 2018 5:40 pm
Location: Barcelona (Spain)
Contact:

Re: Magma Logic Switch Question

Postby ibl » Mon May 14, 2018 3:26 pm

Thank you so much for your quick response and all your contributions to this forum,
I really appreciate your help


Return to “Thinkbox Software - Krakatoa for 3ds Max”

Who is online

Users browsing this forum: No registered users and 4 guests