Hi Carsten,

thanks, you are right. But I want only a special property type in my case.
So I can use a specific "GeoVec3fProperty" instead of the "GeoVectorProperty" 
in the FCD?

Thanks,
Christoph


On 22.02.2012 16:52, Carsten Neumann wrote:
>       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
> Opensg-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/opensg-users
>

-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de

------------------------------------------------------------------------------
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
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to