Re: None

New Message Reply Date view Thread view Subject view Author view

Rambabu (ram++at++ivex3d.com)
Mon, 05 May 1997 11:31:27 -0400


Francois.Seprey wrote:
>
> Hello
>
> I have problems with my intersection segment.
> I'd like to attach it to a pfDCS. But when I run
> the program, an other object is attached at the place.
> Is it possible to attach a segment to a PFDCS?
> Is it just a problem of allocation of memory?
> Thanks
>
> --
> Francois.Seprey
> =======================================================================
> List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com

Instead of attaching the intersection segment to a pfDCS, you could
transform the position of the segement, using the DCS transformation
matrix which you get from the object, in the intersection callback
function. Something like

void
intersection_CB()
{
......
......
    pfXformPt3(pfSeg.pos, pos, mat);
......
}

-- 
Ram
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Rambabu Munjuluri                 Phone # : 770-564-1148             
E-mail  : ram++at++ivex3d.com          Fax     : 770-381-0622
IVEX Corporation, Norcross GA.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
=======================================================================
List Archives, FAQ, FTP:  http://www.sgi.com/Technology/Performer/
            Submissions:  info-performer++at++sgi.com
        Admin. requests:  info-performer-request++at++sgi.com

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:11 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.