RE: [PHP-DEV] pecl extensions

2002-12-03 Thread John Coggeshall

Brad:

I'm going to take a real stab in the dark here and say that you know
Shane Caraveo. I was at PHPCon with him presenting in October and I was
talking about an idea I had to implement opengl in PHP... He said that
someone by the name of Brad (at least, that's what I recall) was working
on a extension and I should get in touch with him... Well, needless to
say I forgot until just now...

What is the status of this extension? Is it experimental, stable, etc?
Just curious...

John


-Original Message-
From: Brad LaFountain [mailto:[EMAIL PROTECTED]] 
Sent: Monday, December 02, 2002 8:05 PM
To: [EMAIL PROTECTED]
Subject: [PHP-DEV] pecl extensions


I know I'm going to piss people off by asking this but how do 
I create a new pecl package? I think I want going to put 
php_opengl in there. See if gets anymore use.

 - Brad

__
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



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




Re: [PHP-DEV] pecl extensions

2002-12-03 Thread Brad LaFountain

--- Alan Knowles [EMAIL PROTECTED] wrote:
 Brad LaFountain wrote:
 
 I know I'm going to piss people off by asking this but how do I create a new
 pecl package? I think I want going to put php_opengl in there. See if gets
 anymore use.
 
 
 upload it to pear/PECL/opengl.. (You should have karma for that already)
 
 you nead a pear account re: the web site for uploading releases.
 http://pear.php.net/?devme=
 and then refresh the page.
 I think you have to apply for an account on the pear page - (If it 
 messes up cause you've already got a CVS account just report it here and 
 somebody will fix it:)
 
 after that just set up a package.xml file as per the other PECL folders 
 and do
 pear package
 then upload the resulting file-rev.tar.gz
 

 Thanks i'll try that soon.

 P.S. Hows the SOAP going :)

 Well after formatting my computer I finally have my dev envrionment back up. I
started to get back to it. I havn't put that much time into it. Don't worry I
won't let it die, unless it already is dead :).

 - Brad



__
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




Re: [PHP-DEV] pecl extensions

2002-12-03 Thread Andrey Hristov

  P.S. Hows the SOAP going :)

  Well after formatting my computer I finally have my dev envrionment back
up. I
 started to get back to it. I havn't put that much time into it. Don't
worry I
 won't let it die, unless it already is dead :).

Please don't let it die... :)


Andrey


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




RE: [PHP-DEV] pecl extensions

2002-12-03 Thread Brad LaFountain

--- John Coggeshall [EMAIL PROTECTED] wrote:
 
 Brad:
 
 I'm going to take a real stab in the dark here and say that you know
 Shane Caraveo. I was at PHPCon with him presenting in October and I was
 talking about an idea I had to implement opengl in PHP... He said that
 someone by the name of Brad (at least, that's what I recall) was working
 on a extension and I should get in touch with him... Well, needless to
 say I forgot until just now...

 Yeah I know that shady guy Shane.

 
 What is the status of this extension? Is it experimental, stable, etc?
 Just curious...

 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.

 - Brad

 
 John
 
 
 -Original Message-
 From: Brad LaFountain [mailto:[EMAIL PROTECTED]] 
 Sent: Monday, December 02, 2002 8:05 PM
 To: [EMAIL PROTECTED]
 Subject: [PHP-DEV] pecl extensions
 
 
 I know I'm going to piss people off by asking this but how do 
 I create a new pecl package? I think I want going to put 
 php_opengl in there. See if gets anymore use.
 
  - Brad
 
 __
 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
 
 


__
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




RE: [PHP-DEV] pecl extensions

2002-12-03 Thread John Coggeshall
 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?

John


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




RE: [PHP-DEV] pecl extensions

2002-12-03 Thread Brad LaFountain

--- 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




Re: [PHP-DEV] pecl extensions

2002-12-02 Thread Alan Knowles
Brad LaFountain wrote:


I know I'm going to piss people off by asking this but how do I create a new
pecl package? I think I want going to put php_opengl in there. See if gets
anymore use.



upload it to pear/PECL/opengl.. (You should have karma for that already)

you nead a pear account re: the web site for uploading releases.
http://pear.php.net/?devme=
and then refresh the page.
I think you have to apply for an account on the pear page - (If it 
messes up cause you've already got a CVS account just report it here and 
somebody will fix it:)

after that just set up a package.xml file as per the other PECL folders 
and do
pear package
then upload the resulting file-rev.tar.gz

Regards
Alan
P.S. Hows the SOAP going :)




- Brad

__
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