Hi Ethan,

On 13 January 2014 14:37, Ethan Fahy <[email protected]> wrote:

> Thanks for the quick reply Robert.  Unfortunately I don't control the
> temperature models I'm working with so I'm stuck mapping the per-primitive
> as accurately as I can.
>
> I was just looking through the Geometry::fixDeprecatedData() function in
> osg 3.2 -> am I correct in assuming that this function won't actually give
> me the same behavior as BIND_PER_PRIMITIVE did in previous OSG versions?
>

The fixDeprecatedData() will regenerate the osg::Geometry so that on screen
results will be the same.  To do this it has to duplicate vertices where
required.



> As to your texture recommendation, I had considered that, I suppose I
> would just create a 1x1 texture for temperature value?
>

I was thinking of a relatively high rest texture map that accurate maps the
actual temperature.  However, given you have a model to work with already,
rather than how to create new ones from scratch I don't think a texture
approach is useful.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to