Open source demos -- do they exist?
category: general [glöplog]
Okay, now you made me curious, haha. Tell me 'bout the best looking open source demos please. :) Hardly to find them, I tried 6 of those open source demos but they looked... well... crappy.
easy code to follow: Sunflower - Tesla
less easy code to follow: VIP2 - Popsy Team
Atleast for someone new to coding trying to learn a trick or two by reading the source code. :-)
less easy code to follow: VIP2 - Popsy Team
Atleast for someone new to coding trying to learn a trick or two by reading the source code. :-)
Thanks all =)
Just to give some information about why I'm asking: I'm not new to coding in ggeneral, but I am new to graphics programming. Basically, I prefer looking at source code to using tutorials any day, and since there are obviously several talented graphics coders within this community, I thought it'd be good to ask. =)
Just to give some information about why I'm asking: I'm not new to coding in ggeneral, but I am new to graphics programming. Basically, I prefer looking at source code to using tutorials any day, and since there are obviously several talented graphics coders within this community, I thought it'd be good to ask. =)
Then you go to HW (ati/nvidia) developer sites and stay there. Also read any/all siggraph, gdc, whatever papers. No need to read obscure demo source :)
...and get a book like "computer graphics: principles and practice". It's old, but classics. Hey, all the "effects" were invented 20 years ago :)
many of those fit demos/intros are opensourced in some way.
Why read how to do a old effect in a book? when you can figure i out yourself?
What kind of stupid remark is that, you idiot? Ever heard about the inefficiency of reinventing the wheel?
plek: it`s fun. oterwise: "yay! i can copypaste code, yay, lets make a demo!!!!111"
but ofcourse, some tips on how to make it run fast is a otherthing. and when im stuck, ofcourse i look around after some hints, but to invent new things, you kinda need the basics. So, lets start with the wheel, monkeyface
but ofcourse, some tips on how to make it run fast is a otherthing. and when im stuck, ofcourse i look around after some hints, but to invent new things, you kinda need the basics. So, lets start with the wheel, monkeyface
you need a wheel to build a car. luckily we all know how to make a wheel.
http://pouet.net/prod.php?which=7521 is opensource/linux
some src is aviable at: http://xdata.org.ru
Quote:
"yay! i can copypaste code, yay, lets make a demo!!!!111" but ofcourse, some tips on how to make it run fast is a otherthing. and when im stuck, ofcourse i look around after some hints, but to invent new things, you kinda need the basics.
It's sad to see how you totally fail to comprehend my point, and totally fail to make yourself clear according to the possible interpretations of your previous statement.
Sir yes sir.
Reading others' source code normally won't make you a better coder, just as reading good books normally won't make you a good author.
Knowing others' solutions won't help you one bit if you don't understand the problems.
Knowing others' solutions won't help you one bit if you don't understand the problems.
ryg said it. reading source is mostly a waste unless the code is well written and you are looking for solutions to implentation-details. i prefer having a couple of beers and chatting about some fancy tricks etc.
Plek: Sir yes sir!
If you're serious about what you're making then you're a fool if you don't compare your own solutions with others'. Personally I've taken a peek at the abstraction level of the X engine and the OGRE engine. I call this, like Plek did, efficient. People who copy/paste source code into their project won't make anything stunning anyway. If you don't know how something works then the code for it won't do much for you.
reading a demos sourcecode wouldn't be too helpful for a newbie i guess, but there is tons of sourcecode all over the net for demo style "effects" that might be easier to digest and learn from.
and no matter what anyone says, everyone has read others source and got ideas and clues that they probably wouldn't of come up with themselves :P
and no matter what anyone says, everyone has read others source and got ideas and clues that they probably wouldn't of come up with themselves :P
Our latest demo is relased under the GPL license.
http://www.pouet.net/prod.php?which=12244
The code is very well written and structured especially on the 3D engine part, although unfinished and incomplete.
http://www.pouet.net/prod.php?which=12244
The code is very well written and structured especially on the 3D engine part, although unfinished and incomplete.
Demoscene people can use DevLib (LGPL license) to build their productions. It abstracts from hardware / os, and allows to concentrate on the demo itself, not the system stuff..
www.devlib-central.org
www.devlib-central.org