!wujnTyabvItCIgnlFd:matrix.org

vvvv

605 Members
Discussion around vvvv, a visual live-programming environment for creative coding. Download & Changelog: https://thegraybook.vvvv.org/changelog/2021.4.html34 Servers

Load older messages


SenderMessageTime
28 Sep 2022
@sebl:matrix.orgseblto be more precise: 13:24:04
@sebl:matrix.orgsebl i have this property:
public List<List<Probability>> Probabilities { get; set; }
13:24:29
@sebl:matrix.orgsebl * i have this property:
[JsonProperty("probabilities")] public List<List<Probability>> Probabilities { get; set; }
13:24:48
@sebl:matrix.orgsebl * i have this property:
[JsonProperty("probabilities")]public List<List<Probability>> Probabilities { get; set; }
13:25:02
@sebl:matrix.orgsebl *

i have this property:
`[JsonProperty("probabilities")]

public List<List<Probability>> Probabilities { get; set; }`

13:25:15
@sebl:matrix.orgsebland i tried:13:25:21
@sebl:matrix.orgseblimage.png
Download image.png
13:25:57
@sebl:matrix.orgseblimage.png
Download image.png
13:26:18
@sebl:matrix.orgseblimage.png
Download image.png
13:26:37
@sebl:matrix.orgseblnone of these works13:26:47
@sebl:matrix.orgseblthe JsonConverter looks like this: 13:27:56
@sebl:matrix.orgseblimage.png
Download image.png
13:28:00
@tebjan:matrix.orgtebjanin your converter you need to drill down one more level and check the type13:30:33
@tebjan:matrix.orgtebjanthat means you also have to add the case of spread of spread to the converter13:30:54
@sebl:matrix.orgseblimage.png
Download image.png
13:36:04
@sebl:matrix.orgseblsmth. in that direction?13:36:19
@tebjan:matrix.orgtebjanyes, but you also need to iterate over the list entries and call ToSpread on them13:37:06
@tebjan:matrix.orgtebjanobjectType might also gibe you some info, best is to set a break point and debug 13:37:36
@tebjan:matrix.orgtebjan * objectType might also give you some info, best is to set a break point and debug 13:37:44
@sebl:matrix.orgsebli wasn't able to debug this sadly... doesn't break at the jsonconverter13:38:09
@tebjan:matrix.orgtebjanok, but if you got the list, you have iterate over each entry and add it to the result spread13:39:23
@tebjan:matrix.orgtebjanso create a SpreadBuilder, add all entries with .ToSpread and then call return resultBuilder.ToSpread13:40:19
@tebjan:matrix.orgtebjan
In reply to @sebl:matrix.org
sent an image.
this one looks right
13:49:11
@tebjan:matrix.orgtebjan
In reply to @sebl:matrix.org
sent an image.
* this one looks right, btw
13:49:19
@sebl:matrix.orgsebli can now debug it but fail to detect if its a list of list ...14:28:12
@appas999:matrix.orgappas999
In reply to @tebjan:matrix.org
you can do that with vvvv gamma and FUSE but not in beta...
Thanks, so I guess it's time for me to learn gamma...
Can you please point me to some resources that will help me implement the sector SDF in gamma/Fuse? Here is how I did it in beta/FieldTrip: https://discourse.vvvv.org/t/sdf-of-cylinder-slice/20783/7
14:38:50
@chk:matrix.orgchk
In reply to @appas999:matrix.org
Thanks, so I guess it's time for me to learn gamma...
Can you please point me to some resources that will help me implement the sector SDF in gamma/Fuse? Here is how I did it in beta/FieldTrip: https://discourse.vvvv.org/t/sdf-of-cylinder-slice/20783/7
the help browser shows quite some examples how to operate with SDFs
15:10:01
@tebjan:matrix.orgtebjanyes, open the help browser, there are tons of examples15:15:07
@tebjan:matrix.orgtebjan * yes, open the help browser, there are tons of examples for fuse15:15:16
@chk:matrix.orgchkalthough there seems not to be an out of the box solution to your problem, because there is no cylinder sdf with an angle like the new stride primitives15:21:09

There are no newer messages yet.


Back to Room List