[info-performer] pfFrenetSweptSurface

Date view Thread view Subject view Author view

From: Jaroslav Sinecky (jsinecky++at++tiscali.cz)
Date: 06/09/2004 08:31:16


Hi all!

I already ask about this couple months ago but didn't get any answer and now
again I came to the need of this class. It would be really helpfull if it
would work but as it seems to me it doesn't. (In 3.1 neighter) So what is
the status of pfFrenetSweptSurface? Will that be working in some upcoming
release or maybe is it working and I just use it incorrectly? More
concretly, what doesn't work is the pfb loader/saver.

If I create pfb file using the following very simple piece of code and then
try to open it in perfly, I get an access violation. (the same happens
during the next frame after I have saved scene with pfFrenetSweptSurface
object somewhere in my application)

        pfFrenetSweptSurface* fsurf = new pfFrenetSweptSurface;
        pfCircle3d* path = new pfCircle3d;
        path->setRadius(10.0f);
        fsurf->setPath(path);

        pfLine3d* basis = new pfLine3d(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 10.0f, 0.0f,
1.0f);
        fsurf->setCrossSection(basis);

        pfGroup* root = new pfGroup();
        root->addChild(fsurf);

        pfdStoreFile(root, "simple.pfb");

Any help or information would be very appreciated!
Thanks,
Jaros

ps. In repTest demo, the creation of pfFrenetSweptSurface is disabled on
Win32 platform, so I suppose some problem is registered.

pss. WinXp, pf 3.1


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Jun 09 2004 - 08:31:54 PDT