Compare two geometry

   6760   6   3
User Avatar
Member
20 posts
Joined: Feb. 2011
Offline
Is there a way to compare two geometry in houdini like certain attribute like Position and then color based on difference
User Avatar
Member
1391 posts
Joined: Dec. 2010
Offline
You can do that with VEX , for example connect two geometry to the Point VOP , then subtract their position with together and connect it's result to Cd !
https://www.youtube.com/c/sadjadrabiee [www.youtube.com]
Rabiee.Sadjad@Gmail.Com
User Avatar
Staff
2591 posts
Joined: July 2005
Offline
tarjun
Is there a way to compare two geometry in houdini like certain attribute like Position and then color based on difference

There's a command line tool: geodiff


% geodiff
Usage: geodiff <fileA> <fileB> [<fileA1> <fileB1> ]
Display differences between geometry files.

Options:
-t tol Specify floating point tolerance
-w Ignore missing attributes (only output warning)
-I Skip intrinsic attribute comparison
-P Skip primitive (and vertex) comparison
-T Skip type info comparison
-r “Regression test mode”; searches “correct” directory to
determine what files need to be matched in current directory

NOTE WELL: This is known not to handle:
- packed primitives
- mixed primitive groups (those with trim curves)
- pasted surfaces
- checking if contents of index tables match
- any checks of profile curves/trimming states
It has no known unknown shortcomings.
User Avatar
Member
20 posts
Joined: Feb. 2011
Offline
thanks a lot guys the vex method sounds easy as i need to keep rendering that
User Avatar
Member
691 posts
Joined: June 2006
Offline
mark
tarjun
Is there a way to compare two geometry in houdini like certain attribute like Position and then color based on difference

There's a command line tool: geodiff


% geodiff
Usage: geodiff <fileA> <fileB> [<fileA1> <fileB1> ]
Display differences between geometry files.

Options:
-t tol Specify floating point tolerance
-w Ignore missing attributes (only output warning)
-I Skip intrinsic attribute comparison
-P Skip primitive (and vertex) comparison
-T Skip type info comparison
-r “Regression test mode”; searches “correct” directory to
determine what files need to be matched in current directory

NOTE WELL: This is known not to handle:
- packed primitives
- mixed primitive groups (those with trim curves)
- pasted surfaces
- checking if contents of index tables match
- any checks of profile curves/trimming states
It has no known unknown shortcomings.

Very Nice Util!

Thank you!
Feel The Knowledge, Kiss The Goat!!!
http://www.linkedin.com/in/alejandroecheverry [linkedin.com]
http://vimeo.com/lordpazuzu/videos [vimeo.com]
User Avatar
Member
1 posts
Joined: Aug. 2015
Offline
mark
tarjun
Is there a way to compare two geometry in houdini like certain attribute like Position and then color based on difference

There's a command line tool: geodiff


% geodiff
Usage: geodiff <fileA> <fileB> [<fileA1> <fileB1> ]
Display differences between geometry files.

Options:
-t tol Specify floating point tolerance
-w Ignore missing attributes (only output warning)
-I Skip intrinsic attribute comparison
-P Skip primitive (and vertex) comparison
-T Skip type info comparison
-r “Regression test mode”; searches “correct” directory to
determine what files need to be matched in current directory

NOTE WELL: This is known not to handle:
- packed primitives
- mixed primitive groups (those with trim curves)
- pasted surfaces
- checking if contents of index tables match
- any checks of profile curves/trimming states
It has no known unknown shortcomings.

Hi, which library does this command line tool geodiff come from? I wanna study the implement of geodiff. Is it an open source tool?
User Avatar
Staff
1072 posts
Joined: July 2005
Offline
chenzunfeng
Hi, which library does this command line tool geodiff come from? I wanna study the implement of geodiff. Is it an open source tool?

It's a binary application shipped with Houdini ($HFS/bin/geodiff).
  • Quick Links