Jump to content

radiohead


anakin78z

Recommended Posts

Hey there,

Not sure if anyone's already played with it, but I just saw that Radiohead released some neato 3d point cloud data from their latest music video, which they shot entirely using 3d scanners.

You can grab it here:

http://code.google.com/p/radiohead/downloads/list

The files are simple csv files, and I wrote a quick python sop to pull the data (though in retrospect, I guess I could've just read them as chanfiles... right?)

Just in case that doesn't work, here's my python code:

# This code is called when instances of this SOP cook.
geo = hou.pwd().geometry()
node = hou.pwd()

# Add code to modify the contents of geo.
file = open(node.parm('file').eval(),'r')
lines = file.readlines()
file.close()

for line in lines:
	P = line.strip().split(',')
	P = [float(x) for x in P]
	intensity = P.pop()
	point = geo.createPoint()
	point.setPosition((P[0],-P[1],P[2],intensity))

post-11-1216332825_thumb.jpg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...