----- Original Message -----
From: "Tarun Sachdeva" <signiortarun@h ..........>
To: <artoolkit@h ..................>
Sent: Thursday, January 20, 2005 11:20 PM
Subject: structure of ARUint8
> Dear Sir/Madam,
>
> This letter is to request you to please tell me as to where I can find or
> know about the structure of ArUint8. All I know is that its a pointer of
> type unsigned char and of 8 bits.
>
> I want to load a static image instead of the video. So if i can just
figure
> out the structure of ARUint8, it will be of great help.
>
> Please suggest if there are any better solutions.
> Thanks a lot.
>
> Yours faithfully,
> Tarun Sachdeva
> Co-op Student
>
> _________________________________________________________________
> The real power of teamwork. Experience it in real time.
> http://www.microsoft.com/india/office/experience/ Experience MS Office
> System.
>
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.300 / Virus Database: 265.7.1 - Release Date: 19.01.2005
>
>
I ve had the same Problem, but yesterday i had an idea, but its not tested
yet :(
I think that the structure is the following.
u have a pointer to an ARUint8 which is a unsigned char.
now u got the pointer to it.
the format is ARGB, the order of rgb doesnt matter.
so the size of the pointer to the image is 307200.
this is cause u got an a,r,g,b component for each pixel.
so dataPtr[1],dataPtr[2],dataPtr[3],dataPtr[4] is it.
hope that may help.
im not quiet sure about that, but i ll test it the next days.
Greetings,
Fabian
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.7.1 - Release Date: 19.01.2005
|