Boost logo

Boost Users :

From: Ronald Garcia (garcia_at_[hidden])
Date: 2006-03-28 11:23:37


Hi Matthias,

If all you need is column-major layout then fortran_storage_order
should suffice.

Cheers,
ron

On Mar 28, 2006, at 10:44 AM, Matthias Biedermann wrote:

> Hi Ronald,
>
> thanks for your immediate answer. Could you give some hints about
> using
> these facilities? Is it sufficient to use 'fortran_storage_order'
> or do
> I have to build things upon the general system? I've already looked
> into
> the documentation, but I'm not sure what the right way would be...
>
> Thanx again,
> Matthias
>
> Ronald Garcia wrote:
>> Hi Matthias,
>>
>> You should be able to build a column-major 3d array using the storage
>> order facility of multi_array. If you are resizing your arrays, then
>> it is possible that you were affected by that bug. If not, then it
>> should not have been a problem.
>>
>> Cheers,
>> ron
>>
>> On Mar 27, 2006, at 6:17 PM, Matthias Biedermann wrote:
>>
>>
>>> Hi there,
>>>
>>> I'd like to use 3D volume date stored as multi_array with OpenGL as
>>> texture. What is the best way to do this without copying, as the
>>> default
>>> ordering seems to be incompatible with OpenGL's column-major layout?
>>> I've read something about custom storage orderings etc. but my first
>>> tries did not work right away... Or is this related to the quite
>>> recent
>>> bug regarding resizing multi_arrays with non-default ordering (from
>>> Mar 6)?
>>>
>>>
>>> Thanks in advance for your help,
>>> Matthias
>>>
>>> _______________________________________________
>>> Boost-users mailing list
>>> Boost-users_at_[hidden]
>>> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net