--- John Coggeshall <[EMAIL PROTECTED]> wrote:
> > Yeah I know that shady guy Shane.
> 
> Heh. He is shady, isn't he? ;)
> 
> > Well, it's defintly experimental. There are bindings for 
> >opengl and glut. You can run some sample apps that use the 
> >glut api. Its pretty cool. Me and Marcus were working on off 
> >screen redndering with OSMesa. That would allow you to render 
> >a scene without needing to display it somewhere, caputre the 
> >content and spit it out as an image. That worked pretty 
> >decent, it worked on windows but i had issues with it running 
> >under linux. It could reneder a sceen and spit out a png. I 
> >remember Andrei told me that there were issues using the api 
> >with gtk-opengl but im sure they could be addressed.
> 
> My thoughts on it were exactly where you are going with it. However, why
> do you need OSMesa in order to do off-screen renderings? It would seem
> to me you should be able to render directly to a backbuffer and copy the
> bitmap into a GD buffer... Or am I missing something?

 Well from my understanding, that just doesn't work, this backbuffer that you
are talking about IS OSMesa. Again I'm no opengl guru but thats why OSMesa was
created is for this type of rendering. Maybe OSMesa is just used for offscreen
HARDWARE rendering, If you can find some docs/info how to do this maybe I can
look into it. I do have a working sample of osmesa working. if you goto
sf.net/projects/phpopengl there is a link that says phpopeng/osmesa in action,
that link is broken cause i havn't paid for my dynamic ip account recently. if
you wanna see it work ill give you my ip when i get home.

 - Brad
> 
> John
> 
> 
> -- 
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to