Re: [info-performer] PfGeoSet

Date view Thread view Subject view Author view

From: Allan Schaffer (allan++at++sgi.com)
Date: 11/18/2005 18:16:50


Rajesh R wrote:
> In windows Applications the following line fails
>
> pfGeoSet *gset = pfNewGSet(arena);
> What is the alternate way of allocating Memory.

That line is correct for a C program, and for C++ you could use:
    pfGeoSet *gset = new pfGeoSet;
or
    pfGeoSet *gset = new pfGeoSet(arena);

If there's a problem then something more basic must be going wrong. I'd
suggest trying the sample programs under %PFROOT%/src/pguide/libpf such
as simple.c/simple.C, texture.C, etc: see if they compile & execute
properly and then make modifications from there.

Enjoy,
Allan

-- 
Allan Schaffer                                            allan++at++sgi.com
Engr. Dept. Manager, Visual Systems Group                1-650-933-2160
Silicon Graphics                                     http://www.sgi.com


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Fri Nov 18 2005 - 18:17:01 PST