File: obj_to_ply.txt

package info (click to toggle)
openvdb 10.0.1-2.3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 23,108 kB
  • sloc: cpp: 293,853; ansic: 2,268; python: 776; objc: 714; sh: 527; yacc: 382; lex: 348; makefile: 176
file content (10 lines) | stat: -rw-r--r-- 221 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
vdb_tool 10.6.1

# This example demonstrated how to convert an ascii
# obj mesh file to a binary ply mesh file.

# read obj ascii file with polygons
read bunny.obj

# write polygon mesh to binary ply file
write bunny.ply