Re: fluxed Geosets with flux index for fluxed vertex

New Message Reply Date view Thread view Subject view Author view

From: Brian Furtaw (brian++at++sgi.com)
Date: 12/05/2001 09:18:50


Dan,

If you want to change the primitive number and type you'll need to
create a fluxed geoset not just fluxed vertex primitives. Take a look at
/usr/share/Performer/src/pguide/libpf/C++/fluxed_gset.C for an example.
As far as the indexing goes I suggest you convert your indexed arrays
into non-indexed, this can be done easily by walking the list and
recording a new array as you go.

Brian

Dan Johnston wrote:
>
> Please say there is a way around this!
>
> I created a class that has a fluxed GeoSet where the
> vertex are a flux. Then I can define an engine that
> will cause the geometry to bend or twist or...
>
> Great! Now I want to allow the object to change
> in complexity as well as deform. That is, I want
> to change the vertex values, the vertex index, and
> the number and type of primitive.
>
> When I try to make the index a flux I get the message
> PF Warning/Usage: pfGeoSet::setAttr() pfFlux index lists
> not supported.
> PF Warning/Usage: pfGeoSet::setAttr() pfFlux index lists
> not supported.
> PF Warning/Usage: pfGeoSet::setAttr() pfFlux index lists
> not supported.
> PF Warning/Usage: pfGeoSet::setAttr() pfFlux index lists
> not supported.
>
> So.. Any way around this for a GeoSet? Does
> this mean I will have to define each face of
> the geometry as some kind of ASD?
>
> Any constructive advice is welcome. Thanks!
>
> Dan
>
> --
> ___|__ |
> / | \ ||\ Daniel (Dan) Johnston
> /___|___\ || \ Dan.Johnston++at++nrc.ca
> _____|____ || \ National Research Council of Canada, London, ON
> | | | || \ Integrated Manufacturing Technologies Institute
> \___| | | ||____\ Tel: (519) 430-7081 Fax: (519) 430-7090
> \_o_\___|____|_|______\_ Inst: http://www.nrc.ca/imti
> \ o / These opinions are my own! Not those of NRC.
> \________________/ Virtual Reality:
> http://www.nrc.ca/imti/vetc/home.html
> More Tall Ships - Fewer Computers!
>
> -----------------------------------------------------------------------
> List Archives, Info, FAQ: http://www.sgi.com/software/performer/
> Open Development Project: http://oss.sgi.com/projects/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
> -----------------------------------------------------------------------

-- 
    ----oOOo----    ----oOOo----    ----oOOo----    ----oOOo----

Brian Furtaw (brian++at++sgi.com) Mailstop: DSE-2612 Graphics Guru Office:(301)572-3293 Fax: (253)323-8182 12200-G Plum Orchard Drive OpenGL/Performer/OpenInventor/ImageVision Silver Spring, Maryland 20904 Volumizer/Optimizer/React/PCI Device Drivers


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Dec 05 2001 - 09:17:54 PST

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