Visualizing Point Clouds

   3660   4   0
User Avatar
Member
109 posts
Joined: June 2008
Offline
Hi,

im trying to get my head around this Point Cloud thingy
Is there a way to visualize the points that are in the cloud?

See the attached file: i have a one point, and i want to place a PC around it, and convert the PC points in to… normal points

Attachments:
vis_pc.hipnc (50.1 KB)

User Avatar
Member
512 posts
Joined: July 2009
Offline
have a look at this thread:
http://www.sidefx.com/index.php?option=com_forum&Itemid=172&page=viewtopic&t=25218&highlight= [sidefx.com]

the way to visualize points is usually to create an “Add” SOP in which you check “Add particle system” (Particles tab)

If you only want to visualize points that have been found by the pointcloud, you can use the pcimport() function to get the points number which you can then use to create a color attribute for example.

Manu
http://vimeo.com/user2522760 [vimeo.com]
http://stormbornvfx.com/ [stormbornvfx.com]
Manuel Tausch
User Avatar
Member
109 posts
Joined: June 2008
Offline
I want use the one point as a query position for the point cloud, and then create new points to locations that the point cloud returns…

Im inside the while loop now, with pciterate and pcimport, and im importing the point position, or at least i think so , but where do i put the info so that i can create new point to that location? Or even better: can i create a new point inside the while loop? I tried to use the Add Point To Group, but it didnt help much.

Attachments:
vis_pc_2.hipnc (61.2 KB)

User Avatar
Member
512 posts
Joined: July 2009
Offline
you got the concept of pointscloud totally wrong
In order for the point cloud to return points you need point positions to query. With just one single point in your scene there is not much to be found.
Also, you can't “create” points in VOPs, just manipulate them.

Please have a look at that thread that I mentioned in my previous post or look around for more topics on that matter, there are a bunch of them flying around on this forum or on odforce.

Also there are tutorials, Peter Quint did one on pointclouds and if I remember correctly, there was one in CMIVFX's procedural animation tutorial.
http://vimeo.com/user2522760 [vimeo.com]
http://stormbornvfx.com/ [stormbornvfx.com]
Manuel Tausch
User Avatar
Member
109 posts
Joined: June 2008
Offline
Ok, and thank you ops:
  • Quick Links