I finally was able to load PNG with transparency,
tomorrow I should begin adding it to FreePV,
since I just did some test in a small program
I did with freepv, I uploaded it to the repository
Pablo, in case that you want check it.
(I have to expand Image class)
About PNG, this is the first time I work with RGBA
textures in OpenGL, and I found that you most
take care of the order in which the elements are
drawn, so the closer elements to the camera
should be the last ones to be drawn...
I read about quaternions and while I was reading
I found a reference that says Turkowski... it was
a reference to a Ken's article about normal rotation
or something like that, I also read about gimbal lock.
I just added my early parser to freepv, for the moment
it just looks for the default scene and prints on the display
the id of the current scene. I began to do the setup of
the camera... but I didn't commit it... I should commit
I didn't advanced a lot, probably I spent to much time trying
to find why I couldn't texture a simple quad,
then I realized it was a silly mistake... I should use glGetError more
often. I would like to avoid this kind of delays.
By the way, I switched from mini-xml to libxml2 after some
frustrations in doing something as simple as navigating
the tree and to get strange values from the attributes, libxml2
has not this kind of problems.
The meeting was very useful to see some needs, specially
Ken helped us to identify some serious problems and to
define a better idea about how the hotspots should be handled
inside freepv. I still have to make a more serious description about them.
Also thanks Pablo, you already know you are essential for this project.
And please don't forget about the info for the transformations
and quaternions, that you told me, you were going to send me.
Thanks Yuval, you have been a great mentor...
Have a nice weekend,