Polygon Points Manipulating



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 20/07/2003 at 11:06, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   8.100 
    Platform:      
    Language(s) :   C.O.F.F.E.E  ;

    ---------
    Hi all
    I am trying to get the point information from each polygon in my object how can i do this? the SDK is pretty limited to explaining how?
    I use the Obj->GetPolygons(); to list the individual points in the objects but i need to access the points of individual polys and determine if they are tri or quad?
    by the way i am using Cinema 4d Xl 6.3 not 8.1 as the silly post says!
    thanks
    Manwich



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 21/07/2003 at 16:03, xxxxxxxx wrote:

    1. The SDK seems to provide all needed information for your question:

        
        
        class Polygon
        {
        public:
    

    Polygon();

        
        
        }
    

    _<_h2_>_Descrip_<_h2_>_/H2>
    A Polygon structure.
    _7>

    _<_h2_>_nation

    The variables

        
        
        a
    

    ,

        
        
        b
    

    ,

        
        
        c
    

    and

        
        
        d
    

    refer to point indexes. Triangles are defined by making

        
        
        d
    

    the same as

        
        
        c
    

    .
    by the way, you have posted this "silly" post and that you are using 8.100 ;)
    Best
    Samir



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 23/07/2003 at 10:52, xxxxxxxx wrote:

    Oh yeah i just realised about the polygon class!
    dont suppose any body got any examples of using this class?
    by the way when i registered it never asked my version of cinema seems it assumed i was using 8.1.
    thanks
    Manwich



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 23/07/2003 at 14:59, xxxxxxxx wrote:

    dont suppose any body got any examples of using this class?
    have a look on my website in the COFFEE area, there is a library with several useful functions. There is also a little function that calculates the midpoint of a polygon. You can see how it is used in there. www.3ddesigner.net
    >by the way when i registered it never asked my version of cinema seems it >assumed i was using 8.1.
    You need to set this whenever you make a new thread ;)
    Best
    Samir


Log in to reply