Hi,

 Thanks Josselin for answering me.


josselin.petit wrote:
> Hi Max,
> 
> I'm not sure, but when you run your program, can't you see a line like :
> "Scaling image '../Data_Calibrage/Image/IMG_5316_small.jpg' from  
> <640,480> to <512,512>" ?
> 


Yes, but my images will change, I need it to be automatically computed :).
But it's not a problem, a little piece of code compute the closest power of 2 
now.


josselin.petit wrote:
> 
> Otherwise, to do projective texture mapping, personaly I'm using  
> shaders since I have back projection problems with OpenGl texture  
> mapping.
> 

I really don't know how shaders runs in osg (and I'm also almost as ignorant in 
OpenGL).
Do you have any reference to learn about it?

Thank you,


Max

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=11338#11338





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to