Daniel,
Fundamentally, the difference between a 'group' and a 'region' is:
A 'region' defines a single physical object (aka 1 piece of homogeneous
material).
A 'group' is a grouping of other 'groups' and/or 'regions'.
Code wise, the only real difference is a single region flag.
In order for a region to be interrogated and treated correctly, it would
need to have a LOS and GIFTmater/Aircode values, otherwise ithe region would
not have any density data to it and therefore brlcad would be unable to
calculate things like weight and mass.

-Dave L



On Thu, Mar 12, 2009 at 5:43 AM, Daniel Roßberg <
[email protected]> wrote:

> What’s the difference between a group and a region?  Both are stored
> in a combination.  I suspect that the attributes
>        - is_fastgen
>        - region_id
>        - aircode
>        - GIFTmater
>        - los
> are applicable to regions only.  I.e. the attributes
>        - rgb_valid
>        - rgb
>        - shader
>        - inherit
>        - material
>        - temperature
> can be used in both regions and groups.
>
> Furthermore the tree of a group has OP_UNION and OB_DB_LEAF nodes only.
>
> Is this right?
>
>
> Sziasztok,
>        Daniel
>
>
> ------------------------------------------------------------------------------
> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
> easily build your RIAs with Flex Builder, the Eclipse(TM)based development
> software that enables intelligent coding and step-through debugging.
> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
> _______________________________________________
> BRL-CAD Developer mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/brlcad-devel
>
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to