GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  NMG-RIB (1)

.ds Aq ’

NAME

nmg-rib - Convert polygonal NMG to Renderman Interface Bytestream (RIB)

CONTENTS

SYNOPSIS

nmg-rib [-t] database.nmgnmg_solid...

DESCRIPTION

The nmg-rib program reads the geometry database database.nmg and converts the named polygonal NMG solids to RIB format polygons. If the -t option is given, the NMG solid will be triangulated first. If NMG a vertexuse normal is present for a vertexuse, it is used as the RIB vertex normal. Otherwise, the NMG face normal is used.

EXAMPLE

% mged box.g
BRL-CAD Release 4.1   Graphics Editor (MGED)
    Tue Dec 15 15:49:30 EST 1992, Compilation 9
    stay@wolf:/m/dist4.1/mged

mged> l box.s box.s: ARB8         1 (0.5, -0.5, -0.5)         2 (0.5, 0.5, -0.5)         3 (0.5, 0.5, 0.5)         4 (0.5, -0.5, 0.5)         5 (-0.5, -0.5, -0.5)         6 (-0.5, 0.5, -0.5)         7 (-0.5, 0.5, 0.5)         8 (-0.5, -0.5, 0.5) mged> facetize box.nmg box.s facetize: tessellating primitives with tolerances a=0, r=0.01, n=0 facetize: evaluating Boolean expressions facetize: converting NMG to database format facetize: wrote 6.38 Kbytes to database mged> q % nmg-rib box.g box.nmg Polygon "P" [ -0.5 -0.5 0.5 0.5 -0.5 0.5 0.5 0.5 0.5 -0.5 0.5 0.5 ] "N" [ 0 0 1 0 0 1 0 0 1 0 0 1 ] Polygon "P" [ 0.5 0.5 -0.5 0.5 -0.5 -0.5 -0.5 -0.5 -0.5 -0.5 0.5 -0.5 ] "N" [ 0 0 -1 0 0 -1 0 0 -1 0 0 -1 ] Polygon "P" [ 0.5 0.5 0.5 0.5 0.5 -0.5 -0.5 0.5 -0.5 -0.5 0.5 0.5 ] "N" [ 0 1 0 0 1 0 0 1 0 0 1 0 ] Polygon "P" [ -0.5 -0.5 -0.5 0.5 -0.5 -0.5 0.5 -0.5 0.5 -0.5 -0.5 0.5 ] "N" [ 0 -1 0 0 -1 0 0 -1 0 0 -1 0 ] Polygon "P" [ -0.5 -0.5 -0.5 -0.5 -0.5 0.5 -0.5 0.5 0.5 -0.5 0.5 -0.5 ] "N" [ -1 0 0 -1 0 0 -1 0 0 -1 0 0 ] Polygon "P" [ 0.5 -0.5 0.5 0.5 -0.5 -0.5 0.5 0.5 -0.5 0.5 0.5 0.5 ] "N" [ 1 0 0 1 0 0 1 0 0 1 0 0 ] %

AUTHOR

Lee A. Butler

COPYRIGHT

This software is Copyright (c) 1994-2013 by the United States Government as represented by U.S. Army Research Laboratory.

BUG REPORTS

Reports of bugs or problems should be submitted via electronic mail to <devs@brlcad.org>.

Search for    or go to Top of page |  Section 1 |  Main Index


BRL-CAD NMG-RIB (1) 04/04/2016

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.