PartIO tools seems not supporting houdini-16.5 particles

96 views
Skip to first unread message

Snow Tsui

unread,
Sep 7, 2018, 12:02:59 PM9/7/18
to partio-discuss
Hey, I was able to build them, I also built the tools "partinfo" and the others. I used houdini-16.5.350 and generated a particle files from popnet. Then I use "partinfo" to query the particle informations. I got the following warning:

[user@dev bin]$ ./partinfo $HOME/Desktop/falling_snow_sample_6.0121.bgeo
Partio: Attempting to read new BGEO format, we only support old BGEO format. Try writing .bhclassic from Houdini.

Then I turned to houdini to convert it by putting two "file" nodes in the geometry and output the falling_snoow_sample_6.0121.bhclssic, then use "partinfo" again:

[user@dev bin]]$ ./partinfo $HOME/Desktop/falling_snow_sample_6.0121.bhclassic
Partio: Unrecognized Primitive Type: 0xffffffff - Cannot process detail attributes
Number of particles:  344290
Type        Count     Name                          
----        -----     ----                          
VECTOR      
3         position                      
INT        
1         noedgevolume                  
FLOAT      
1         life                          
FLOAT      
1         bounce                        
FLOAT      
3         pivot                        
FLOAT      
1         friction                      
INT        
1         computecom                    
INT        
1         bullet_sleeping              
VECTOR      
3         v                            
INT        
1         has_pprevious                
INT        
1         found_overlap                
VECTOR      
3         w                            
INDEXEDSTR  
1         spriteshop                    
FLOAT      
3         hitnml                        
FLOAT      
1         dPw                          
INT        
1         id                            
FLOAT      
1         density                      
INT        
1         sourceptnum                  
FLOAT      
3         dP                            
FLOAT      
4         orient                        
FLOAT      
3         hitv                          
INT        
1         inheritvelocity              
FLOAT      
3         hitpos                        
INT        
1         active                        
FLOAT      
1         age                          
FLOAT      
3         spritescale                  
INT        
1         nopointvolume                
FLOAT      
1         mass                          
VECTOR      
3         force                        
FLOAT      
1         bullet_length                
FLOAT      
4         spriteuv                      
FLOAT      
3         pprevious                    
FLOAT      
3         tempv                        
FLOAT      
3         bullet_primR                  
INT        
1         computemass                  
FLOAT      
1         creationtime                  
FLOAT      
3         bullet_primS                  
INT        
1         animated                      
FLOAT      
3         bullet_primT                  
FLOAT      
3         rest                          
INDEXEDSTR  
1         name                          
FLOAT      
1         inertialtensorstiffness      
INT        
1         deforming                    
INT        
1         ispbd                        
FLOAT      
1         bullet_radius                
FLOAT      
1         pscale                        
INT        
1         bullet_autofit_valid          
INT        
1         dead                          
FLOAT      
1         deactivation_time            
INT        
1         hitnum                        
FLOAT      
3         oldp                          
particle
0 data -10 0 -10
particle
1 data -7.77778 0 -10
particle
2 data -5.55556 0 -10
particle
3 data -3.33333 0 -10
particle
4 data -1.11111 0 -10
particle
5 data 1.11111 0 -10
particle
6 data 3.33333 0 -10
particle
7 data 5.55556 0 -10
particle
8 data 7.77778 0 -10
particle
9 data 10 0 -10

it seems the info is totally wrong? I have over 300,000+ particles, also it says 
Partio: Unrecognized Primitive Type: 0xffffffff - Cannot process detail attributes

any ideas?

Thanks,
Snow

John Cassella

unread,
Sep 7, 2018, 12:22:49 PM9/7/18
to partio-...@googlegroups.com
It seems to be doing  most things correctly   it is reporting  you had   "Number of particles:  344290"

so it knows you have the right number of points,  you may just need to  delete   the detail attrs  before  exporting the bhclassic  file  and try it again  to get rid of that one error.

The  partnfo command only displays a sampling of the first  10 points and their positions by default.




--
You received this message because you are subscribed to the Google Groups "partio-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to partio-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Xue Cui

unread,
Sep 7, 2018, 12:30:37 PM9/7/18
to partio-...@googlegroups.com
Thanks  John,

So now I understand, probably I have some attributes that "PartIO" cannot recoganize, that's why I got the error, is that what you mean?
--
Snow,
Rodeo R&D

Xue Cui

unread,
Sep 7, 2018, 2:15:16 PM9/7/18
to partio-...@googlegroups.com
hi john, this is my simulation file. Maybe I should delete the "box" data while only keep particles there?
--
Snow,
Rodeo R&D

John Cassella

unread,
Sep 7, 2018, 8:54:52 PM9/7/18
to partio-...@googlegroups.com
Yes  you should make sure from a houdini standpoint you're only exporting  "points"    and not geometry into  the  bhclassic file.  theoretically it should just throw away the extra data,  so you can even do things like  view just the vertex points of a piece of geo.. but   I can't guarantee  that that will work correctly. 
clean  out your geo before you export points and you should be  good.

-johnc

Reply all
Reply to author
Forward
0 new messages