Jump to content
Sign in to follow this  
atron

store colour data from multiple lines (csv file)

Recommended Posts

I have a simple line node, with 3 coloured square polygons which sit randomly along the line. 
I want to be able to store/collect the data for the line so it reads:
line0 = red,green,purple

going forward i will have many lines with a maximum of 4 different types of colours intersecting eachline
e.g.
line 1 = red,blue
line 2 =green,red,blue,purple
line 3 = green,blue
etc
it would be good to store this data as a csv file to open in excel 


any help would be much appreciated

1.JPG

LINECDINTERSECTIONS.hipnc

Edited by atron

Share this post


Link to post
Share on other sites

I'm a bit unclear which way you want this to happen. Do you want to

a ) have a csv file with the color data, and then build a scene in Houdini according to the file, or

b ) you will have a Houdini scene with a lot of lines and polygons, and you want to resolve the intersections and write them out?

Share this post


Link to post
Share on other sites

so maybe this image will help, sorry i'm pretty new in houdini. The image shows a series of lines with  nodes intersecting them. Ideally what i would want to do is group the lines with the nodes that intersect them. The nodes at the moment are just cubes, but there will be 4 different types (which i thought could be colour coded to distinguish them) arrayed across these lines equidistantly.

So ultimately i want to group each line so that i can say for example:

for line 1 the nodes that occur on it are: nodetype1,nodetype2 

for line 2:nodetype1,nodetype2,nodetype3

sorry if this is still unclear

 

2.JPG

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×