Hey, i was just wondering, Php is an interpreter right? made from the Zend Engine using C. Well what if someone could make a Php extension that allowed php to render 3D content. Like for example "Rune Scape". If it turned out to be a success, would you use it and make 3D content.
Php with 3D CapabilitiesWhat do you think?
Page 1 of 1
9 Replies - 1815 Views - Last Post: 26 September 2010 - 06:05 PM
Replies To: Php with 3D Capabilities
#2
Re: Php with 3D Capabilities
Posted 26 August 2010 - 07:20 AM
Moved to PHP Programmers.
Probably not. PHP isn't designed to be interactive only dynamic, so it seems like a waste to use 3D graphics with it. Something like Java or C++ would seem like better tools in my opinion.
Probably not. PHP isn't designed to be interactive only dynamic, so it seems like a waste to use 3D graphics with it. Something like Java or C++ would seem like better tools in my opinion.
#3
Re: Php with 3D Capabilities
Posted 26 August 2010 - 09:39 AM
Whenever I see things like GTK for PHP, it makes me sad.
I like PHP. It's good at what it does. Pushing it to do something completely different is a sign of programmer inflexibility. Choosing the right tool for the job is a sign of competence; using a screwdriver for a chisel is not.
I like PHP. It's good at what it does. Pushing it to do something completely different is a sign of programmer inflexibility. Choosing the right tool for the job is a sign of competence; using a screwdriver for a chisel is not.
#4
Re: Php with 3D Capabilities
Posted 26 August 2010 - 10:06 AM
baavgai is going to hate me for this but: http://phpopengl.sourceforge.net/
Also http://php.net/manua.../ref.openal.php and http://sourceforge.n...ojects/phpsdl/.
On a serious note aaron1178 what you are talking about is possible with Javascript and WebGL.
Also http://php.net/manua.../ref.openal.php and http://sourceforge.n...ojects/phpsdl/.
On a serious note aaron1178 what you are talking about is possible with Javascript and WebGL.
#5
Re: Php with 3D Capabilities
Posted 26 August 2010 - 11:36 AM
I uploaded a snippet of code using PHP and GD to show wireframe renderings of 3D objects.
#6
Re: Php with 3D Capabilities
Posted 28 August 2010 - 01:07 PM
baavgai, on 26 August 2010 - 03:39 PM, said:
Whenever I see things like GTK for PHP, it makes me sad.
I like PHP. It's good at what it does. Pushing it to do something completely different is a sign of programmer inflexibility. Choosing the right tool for the job is a sign of competence; using a screwdriver for a chisel is not.
I like PHP. It's good at what it does. Pushing it to do something completely different is a sign of programmer inflexibility. Choosing the right tool for the job is a sign of competence; using a screwdriver for a chisel is not.
Yawn.
Your argument against using PHP for GUI applications is... PHP wasn't designed for it? Originally... sure, it was designed for simple web applications. Simple ones. It had very little of anything. It grew, however, and became the massive tool it is today. Things grow, and as they do, they are then able to do other things.
Now, tell me, if I'm a great PHP programmer, I know the language inside-out, and that language also provides a way to rapidly develop GUI applications, why the hell shouldn't I use that language?
Your argument is irrelevant today.
PHP-GTK is faster than PyGTK, BTW.
#7
Re: Php with 3D Capabilities
Posted 28 August 2010 - 03:47 PM
mahcuz, on 28 August 2010 - 02:07 PM, said:
Yawn.
Charming.
mahcuz, on 28 August 2010 - 02:07 PM, said:
that language also provides a way to rapidly develop GUI applications
It doesn't. That's part of the point.
I know C inside and out. I can certainly use it to output HTML. Should I use it for web development. Perhaps, but I'd be ignoring all the hard work of others who've gone before. If I'm a smart programmer, I look into languages that already do the job well. I find PHP wraps a whole lot of C libraries, so I use that.
mahcuz, on 28 August 2010 - 02:07 PM, said:
PHP-GTK is faster than PyGTK, BTW.
Please offer examples or references for such a claim.
#8
Re: Php with 3D Capabilities
Posted 05 September 2010 - 03:46 PM
baavgai, on 26 August 2010 - 03:39 PM, said:
Whenever I see things like GTK for PHP, it makes me sad.
I like PHP. It's good at what it does. Pushing it to do something completely different is a sign of programmer inflexibility. Choosing the right tool for the job is a sign of competence; using a screwdriver for a chisel is not.
I like PHP. It's good at what it does. Pushing it to do something completely different is a sign of programmer inflexibility. Choosing the right tool for the job is a sign of competence; using a screwdriver for a chisel is not.
Yes i completely agree with what your are saying. Php wasn't meant for 3D programming, it is great just the way it is.
#9
Re: Php with 3D Capabilities
Posted 26 September 2010 - 09:17 AM
I prefer using PHP for web development.
I am sure people can try all they want to make 3D programs with PHP, but there are plenty of other programming languages such as JAVA that can do just that, and a better job of it I would assume.
I am sure people can try all they want to make 3D programs with PHP, but there are plenty of other programming languages such as JAVA that can do just that, and a better job of it I would assume.
#10
Re: Php with 3D Capabilities
Posted 26 September 2010 - 06:05 PM
I think that it would be good for creating 3d logos.
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote











|