Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / Processing - open source Open GL programming language

Author
Message
Manic
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Completely off my face...
Posted: 1st Mar 2007 16:32
@Mods: I'm not sure if this breaks AUP, as I'm not sure if you could say this was in competition with DBP or not. The ball's in your court.

www.processing.org

Processing is a programming language aimed at producing Interactive Art Installations, film titles and general prettiness. It compiles to a Java application and is cross platform across Windows, OsX and Linux, as well as being able to make applets for the web.

It can handle all sorts of input such as webcam and anything you can plug into a serial port.

the syntax is a bit like a mix of basic and actionscript and looks like this;



Thought people might be interested, I haven't had much of a look into making anything with it yet, but it looks pretty reasonable, and if you're looking for cross platform support, it doesn't get much easier than this.

Martin

I don't have a sig, live with it.
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 1st Mar 2007 16:43
Vampiric
18
Years of Service
User Offline
Joined: 30th Oct 2006
Location:
Posted: 1st Mar 2007 17:39 Edited at: 1st Mar 2007 17:39
A mini version of that would be cool for printing little notes. The programming language itself has a great looking syntax. Clean, easy to read and easy to understand.

Computer says n00bed
Manic
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Completely off my face...
Posted: 1st Mar 2007 20:59
just thought i'd post up a bit more syntax as the example i gave above is a pretty labour intensive way of making a cube, you can also add in primitves like this;



interestingly, you can use the language either procedurally or object-oriented. I think this is because it's aimed at artists and designers who tend to not have a great deal of programming knowledge, so might be scared off by OOP, but it also gives a much greater scope for once you've got the basics down.

I don't have a sig, live with it.
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 2nd Mar 2007 05:25
very cool im already hooked, time to dabble with that later after work.

Johaness
18
Years of Service
User Offline
Joined: 20th Sep 2006
Location:
Posted: 2nd Mar 2007 10:53
So sweet. There goes whatever I had of a social life.
Chris Franklin_
17
Years of Service
User Offline
Joined: 21st Dec 2006
Location: Home
Posted: 2nd Mar 2007 19:02
awesome tgc need an opengl dev app.

Manic
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Completely off my face...
Posted: 2nd Mar 2007 20:41
It's open source, TGC can't have it.

I don't have a sig, live with it.
David R
21
Years of Service
User Offline
Joined: 9th Sep 2003
Location: 3.14
Posted: 2nd Mar 2007 20:50
I think he meant TGC need one also, not that they should nab this one. Dunno though, it's a very vague sentence.


"History shall be kind to me, for I intend to write it" - Winston Churchill
TKF15H
21
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 3rd Mar 2007 00:01
I don't get it... what's the point of using this instead of simply coding in Java?

Kentaree
22
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 3rd Mar 2007 00:08
The language itself even looks like java

Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 3rd Mar 2007 00:08
Is it me or does that just look like plain C?

Tempest (DBP/DBCe)
Multisync V1 (DBP/DBCe)
Chris Franklin_
17
Years of Service
User Offline
Joined: 21st Dec 2006
Location: Home
Posted: 3rd Mar 2007 15:23
Quote: "I think he meant TGC need one also"


Bang on there

Nicholas Thompson
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 3rd Mar 2007 16:09
I've recently been looking into using a combination of:
C++
Ogre
RakNet
OpenAL
Newton

Together, they're all free and completely cross platform. All I need to do now is learn C++...

[center]
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 3rd Mar 2007 16:32
Quote: "I've recently been looking into using a combination of:
C++
Ogre
RakNet
OpenAL
Newton"

Very close to what I plan to use:

C++
Irrlicht
<Insert own networking method here>
OpenAL
ODE

Tempest (DBP/DBCe)
Multisync V1 (DBP/DBCe)
TKF15H
21
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 3rd Mar 2007 16:39
Lately I've been using:
C++
DBP + Interface library
<own crappy physics>

Manic
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Completely off my face...
Posted: 3rd Mar 2007 22:32
Quote: "I don't get it... what's the point of using this instead of simply coding in Java? "


I don't claim to know Java, but I'm gonna go out on a limb and say Java doesn't have a box() or sphere() command etc.

you might as well say why use DBP? you could just use C++ with direct X

Its point is that it's easier to use.

I don't have a sig, live with it.
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 3rd Mar 2007 22:38
Quote: "Its point is that it's easier to use."

Not really - to me it looks like C++ with an engine included.

Tempest (DBP/DBCe)
Multisync V1 (DBP/DBCe)
David R
21
Years of Service
User Offline
Joined: 9th Sep 2003
Location: 3.14
Posted: 3rd Mar 2007 22:47 Edited at: 3rd Mar 2007 22:48
Quote: "
Very close to what I plan to use:

C++
Irrlicht
<Insert own networking method here>
OpenAL
ODE
"


Meh, I'm currently using

C++
Irrlicht
Zoidcom
IrrKlang
Newton / IrrNewt.

In my opinion, OpenAL is a horrible sound API, that seems to have a myriad of issues with some configs. IrrKlang is a very nice sound API, much higher level than AL (e.g. you can literally do engine->play2D("music.ogg",loop,false,true) )


"History shall be kind to me, for I intend to write it" - Winston Churchill
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 3rd Mar 2007 22:51
Quote: "In my opinion, OpenAL is a horrible sound API, that seems to have a myriad of issues with some configs."

Oh really? I'll see about using IrrKlang or something similar then, thanks for the info.

Tempest (DBP/DBCe)
Multisync V1 (DBP/DBCe)
TKF15H
21
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 3rd Mar 2007 23:10
Quote: "Its point is that it's easier to use."

By the example code, the language looks too much like C + OpenGL for it be worth the trouble of learning a new language.

And with the codebase available to C++ users, I'd say it's easier/simpler to code in C++ than to do so in another language.
With my interface library, for example, I have no reason at all to use DBP. It's just easier to write my games in C++.

GatorHex
19
Years of Service
User Offline
Joined: 5th Apr 2005
Location: Gunchester, UK
Posted: 4th Mar 2007 12:01 Edited at: 4th Mar 2007 12:27
Manic said "I don't claim to know Java, but I'm gonna go out on a limb and say Java doesn't have a box() or sphere() command etc."

In the Java3D API... Box(), Sphere(), ColorCube()... Scene load()

http://java.sun.com/products/java-media/3D/download.html

Try searching Google for Runescape, Roboforge and Cosm all 3D games written in Java and can run from any OS with a JVM.

I hate coding in C though, I wish someone would write a DarkJavaBasic, I'd love my games to be Write Once Run Anywhere!



http://www.KumKie.com http://bulldog.servegame.com
Kentaree
22
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 4th Mar 2007 12:10
@GatorHex: if you can program Java, have a look at JME (Java Monkey Engine) which is a games lib for Java.

Nicholas Thompson
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 4th Mar 2007 13:37
Gator - Have you ever used Java3D? Its a bloody nightmare! Bar too complicated. I used LWJGL a while back and it was great. Never judge a language on whether it has a box or sphere function. They're not hard to write yourself and a 3D Language is SO MUCH more than just boxes and spheres... Most of the time you wont ever need them anyway, it'd be quicker to load a pre-made model.

[center]
Seppuku Arts
Moderator
20
Years of Service
User Offline
Joined: 18th Aug 2004
Location: Cambridgeshire, England
Posted: 4th Mar 2007 13:55
Quote: "C++
Irrlicht
<Insert own networking method here>
OpenAL
ODE"


Ditto, except, I'll probably use Irrklang and Newton, it's all good, I was going to be like Nicolas and use Ogre, but Irrlicht on my system with it's DevC++ compatibility and faster compile times it much more efficient.

Processing looks good, but I've already set myself out to learn too many languages/engines

Did The Buddha have a Zen micro?
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 4th Mar 2007 14:04
Quote: "Irrlicht on my system with it's DevC++ compatibility and faster compile times it much more efficient."

Yes, if you like not being able to use Direct X. Why not use Visual C++ Express?

Tempest (DBP/DBCe)
Multisync V1 (DBP/DBCe)
Seppuku Arts
Moderator
20
Years of Service
User Offline
Joined: 18th Aug 2004
Location: Cambridgeshire, England
Posted: 4th Mar 2007 14:49
Quote: "Why not use Visual C++ Express?"


Just more convenient, I don't like VC++ going to a non-responsive state if my computer throws a tantrum. Probably, once I've fixed my PC issues, I might use it, I've never actually used it on my computer when it's been clean.

Did The Buddha have a Zen micro?
Nicholas Thompson
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 4th Mar 2007 14:59
Quote: "if you like not being able to use Direct X"

Thats another way of saying "If you like being able to run your game on all OS's"

[center]
David R
21
Years of Service
User Offline
Joined: 9th Sep 2003
Location: 3.14
Posted: 4th Mar 2007 15:01
Quote: "Thats another way of saying "If you like being able to run your game on all OS's" "


That's another way of saying "The OGL driver in Irrlicht doesn't support everything that the DX one does"


"History shall be kind to me, for I intend to write it" - Winston Churchill
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 4th Mar 2007 19:48 Edited at: 4th Mar 2007 20:53
Quote: "That's another way of saying "The OGL driver in Irrlicht doesn't support everything that the DX one does""

Actually it's another way of saying DevC++ doesn't have the correct development files and thus when you try to turn DirectX on you'll get a crash. Unless of course the DirectX SDK files are compatible with the compiler in which case you have no problem.

Quote: "Just more convenient"

I'm sure if Vista doesn't support OpenGL properly you will think so still.

Tempest (DBP/DBCe)
Multisync V1 (DBP/DBCe)
Seppuku Arts
Moderator
20
Years of Service
User Offline
Joined: 18th Aug 2004
Location: Cambridgeshire, England
Posted: 4th Mar 2007 21:09
I will when I can afford to go to Mac (probably in 3 years or so). Except, I won't be saying DevC++ is more convenient, just XCode instead.

Plus, I doubt I'd be running Vista on this system, DevC++ really is convenient on this system due to my PC's performance issues, if I were to use Vista on a much better computer, the whole situation would be different, because using VC++ 2005 will be more convenient then, because in terms of performance you wouldn't notice much of a difference and in features, well you know which is the best. I'd probably only use Vista if I need it with the laptop I may get for Uni.

Did The Buddha have a Zen micro?
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 4th Mar 2007 22:01 Edited at: 4th Mar 2007 22:01
Quote: "I will when I can afford to go to Mac (probably in 3 years or so)."

Are you telling me you are going to develop games on a platform only a handful of people play games on, and not even make them cross-platform despite Irrlicht being completely cross-platform?

Tempest (DBP/DBCe)
Multisync V1 (DBP/DBCe)
Seppuku Arts
Moderator
20
Years of Service
User Offline
Joined: 18th Aug 2004
Location: Cambridgeshire, England
Posted: 4th Mar 2007 23:10
Well as I'm getting a Windows laptop before then, I don't see myself throwing it away when I nab a Mac, the one I'm looking at comes with a free Vista upgrade, which if and when the time comes, if Irrlicht goes DX 10, I'll be able to upgrade to what I need. Basically, I know what I'm doing if I keep on doing this expensive hobby.

Did The Buddha have a Zen micro?
David R
21
Years of Service
User Offline
Joined: 9th Sep 2003
Location: 3.14
Posted: 5th Mar 2007 18:57
Quote: "Actually it's another way of saying DevC++ doesn't have the correct development files and thus when you try to turn DirectX on you'll get a crash. Unless of course the DirectX SDK files are compatible with the compiler in which case you have no problem."


Yeah I know; but even if your compiler does have the correct DX stuff (e.g. MSVC), the DX driver for Irrlicht can still do quite a few things which the OGL when cannot


"History shall be kind to me, for I intend to write it" - Winston Churchill
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 5th Mar 2007 19:50
Quote: "Yeah I know; but even if your compiler does have the correct DX stuff (e.g. MSVC), the DX driver for Irrlicht can still do quite a few things which the OGL when cannot"

.. What? Did you mix up DX and OGL in that sentence?

Tempest (DBP/DBCe)
Multisync V1 (DBP/DBCe)
David R
21
Years of Service
User Offline
Joined: 9th Sep 2003
Location: 3.14
Posted: 5th Mar 2007 20:13 Edited at: 5th Mar 2007 20:16
Quote: ".. What? Did you mix up DX and OGL in that sentence?"


No, the only mistake I made was the "when". But no; the DX driver for Irrlicht can still do a few things which the OGL one cannot (e.g. EMT_SOLID_2_LAYER isn't implemented for OGL)

EDIT: Mainly seems to be some material types that DX has and OGL doesn't


"History shall be kind to me, for I intend to write it" - Winston Churchill
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 5th Mar 2007 20:25 Edited at: 5th Mar 2007 20:28
I still have no clue what you were trying to say. I understand the latter part of it but not why you said "but even if your compiler does have the correct DX stuff".

You're saying it as though having the correct DX stuff would actually hinder it.

Tempest (DBP/DBCe)
Multisync V1 (DBP/DBCe)

Login to post a reply

Server time is: 2024-11-18 07:35:35
Your offset time is: 2024-11-18 07:35:35