Hello
I want to turn a simple table of values into either a polar or radar graph, similar to the ref photos. Not really sure how to start.
Any tips or tutorials out there?
Thanks
Hello
I want to turn a simple table of values into either a polar or radar graph, similar to the ref photos. Not really sure how to start.
Any tips or tutorials out there?
Thanks
Take a Circle SOP and set the divisions to the number of rows in your DAT: op('datadat').numRows - 1
. Set the circle type to a Nurbs Curve with Order=3. Keep it polygon if you’re trying to do the second version with more pointy vertices.
Next, append a DatTo SOP, set the Points DAT parameter to your Table DAT (single column, with a name as the first row, e.g. ‘test’). Set the Float Attrib parameter to *. Confirm with mouse-middle on your SOP that you have an attribute called ‘test’.
Last, use a Point SOP and multiply each of the tx/ty/tz by me.inputPoint.test/100
(my data was between 0 and 100, but that division should generate a normalized value between 0 and 1.
A Resample SOP will turn your NURBs curve into a polyline.
Ignore my sphere stuff, poor man’s grid lines!
Thank you so much antoinedurr! This was incredibly helpful.
I did notice that the line doesn’t close. Do you know how to fix that? Also random question, my shape appears very pixelated. Would you know how to make this sharper? Attached is my network based off your instructions.
PolarGridQuestion.toe (4.7 KB)
I think the line not being closed is a bug, I will submit. Note that when you display it in shaded mode, it’s a full circle, not just a line. My approach would be to convert it to a polygon once you’re done mucking with it.
Do note as well that you need to keep an eye out on your point count and make sure that you have a value in your MemberType table for each point.
Regarding the pixelation, you have a transform TOP that scales the rendered image up by 3.1x – that’ll do it! Instead, aim your camera more closely at your shape rather than repositioning the 2D render after the fact.