[info-performer] Dynamic pfGeoSet attributes

Date view Thread view Subject view Author view

From: Anthony Clare (a.j.clare++at++sheffield.ac.uk)
Date: 09/16/2003 07:16:54


Hi,

I am trying to change terrain polygon colours dynamically at run-rime,
using a post cull callback. My program always crashes when writing a new
colour value to the attribute array. I had assumed that as I have a single
process (on a single processor machine) that I did not need to use pfFluxes
to do this. Should I be using pfFluxes even in a single process app?

If pfFluxes are required does anyone have an idea how I could neatly keep
track of the pfFlux pointers when using a terrain database of unknown size
(with an unkown no. of geosets)? I'm afraid I've been spoon feed on Vega
with the function calls, vgObjFluxMask and vgObjFlux, allowing a single
pfFlux pointer to the whole terrain.

Thanks,
Tony.

_________________________________________________

Anthony Clare
Department of Automatic Control and Systems Engineering
The University of Sheffield
www.shef.ac.uk/acse/
a.j.clare++at++sheffield.ac.uk
_________________________________________________


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Tue Sep 16 2003 - 07:19:12 PDT