Channel Magnitude crashes C4D

Hi Bobo,
using the MG Tag crashes C4D instantly. No Bug Report or LogFile, otherwise i would attach it.
what i did:

  1. create geo (torus)
  2. create PRT Vol, link to geo
  3. add MG Tag: Source “Normal” (without the quotes), Dest “Color” (without the quotes)
  4. hit Enter: crash
    and also:
  5. add MG Tag
  6. enable “Create Vec Channel” first
  7. define Source and Dest Channel (as above, as well as the other way around)
  8. hit Enter: crash

i was able to reproduce many times, with different orders or channel names.
C4D R15.057, KC4D 2.30, Titan, plus a KILLER Workstation with 32 cpus and 56 Gigs of Ram

regards,
fuat (the one from the StokeMX testers)

ah, i see, maybe it´s because it cant copy vec-type data into float-data. true?
therefore, checking “create vec channel” makes no sence for a scalar-field destination like density, because it cant turn a float16 to a 3-float-vec, is that right? please correct me if i´m wrong.
Bobo?

fuat

This is fixed in our internal build which should be posted soonish.
We also combined the Channel Copy and Channel Magnitude Tags into a single Channel Copy Tag. It has two checkboxes - one to convert Vector to Float (Vector Length), the other to convert a Float to Vector (As Vector). So you can copy Vector to Vector (either directly or as grayscale if both Vector Length and As Vector are checked), Float to Float, Vector to Float (Vector Length checked), and Float to Vector (As Vector checked). It also lists the typical channels in drop-down lists, with text fields to enter custom channels (just like in KMY). And it does not crash if you have the wrong settings :slight_smile:

okay, this sounds likes making sense, great.
also the dropdown menu is a good idea, so one doesnt has to type in manually.
so when i choose FloatToVec, does that mean it simply triples the single-float to a 3float-vec, right?
fuat

This is correct.

Here is the preliminary documentation of our internal build:
thinkboxsoftware.com/kc4d-channel-ops/

gorgeous! This will make things so much easier and yet gives maximum control!

ok, this is Eextremely good.
especially the Texture Channel Override-tag sounds very very interesting.

by the way, Bobo, you and the whole team do an excellenct job on this.
really. most of the time almost all of the bugs are elimnated in a second within the next build, and all of the thinkbox team´s answers always help and clarify things.
thumbs up.

fuat