Hello Christoph,
On 02/22/2012 08:34 AM, "Christoph Fünfzig" wrote:
> I have a question on a foreground to be written:
>
> Would it be possible to use GeoProperties in Foregrounds?
> For example (only an example):
> OSG::PolygonForeground currently uses a multi-field MFPositions()
> and a multi-field MFTexCoords() directly,
> and to use a GeoVectorProperty (with a VBO) instead?
yes. My guess why this hasn't been done so far is that you'd have to
deal with all the different data types (float, double, different size
ints, 2,3,4 components, etc.) a GeoVectorProperty can hold. If you are
happy with one data type you can use GeoPnt3fProperty (or whatever you
need) directly, if you want to allow a variety of data types it's
probably ok to only handle a few and error out for others that you don't
want to support.
Cheers,
Carsten
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users