LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   create demos (like old style Amiga ones) (https://www.linuxquestions.org/questions/programming-9/create-demos-like-old-style-amiga-ones-4175544035/)

sycamorex 05-30-2015 10:41 AM

create demos (like old style Amiga ones)
 
You know the old style (well, now it is old style-30 years ago they were cuting edge) Amiga demos. Which tools would you use to create something similar on a modern linux system? I did not know how they were created back then and I have no idea how one would create them now. Would it be more a task for eg. Blender or Emacs with an appropriate programming language? Or perhaps html5, css3, js?

dugan 05-30-2015 10:52 AM

Remember that those were programming demos. I don't know anything about programming an Amiga, but the ones for DOS would have been written mainly in assembler, using the following level of information:

http://www.jagregory.com/abrash-black-book/

Today, the ones for Linux would be coded in C or C++, using OpenGL. I haven't watched this primer yet, but it's supposed to be good:

http://acko.net/files/fullfrontal/fu...th/online.html

You should download some modern demos from pouet.net and watch them.

But if you just want to produce a video with the same style then yeah, Blender.

sycamorex 05-30-2015 11:59 AM

You're right. I forgot they were indeed programming demos.Thanks I'll check the links.

genss 05-31-2015 12:42 PM

talking about <=96k demos

http://www.x.org/releases/X11R7.7/do...proto/shm.html for software rendering
opengl 1-4 mix (yes, mix) for gpu rendered

C and/or maybe assembly
procedural generation
meta shapes, nurbes, etc (in the form of http://en.wikipedia.org/wiki/Constru...solid_geometry)
parametric scripting (or whatever it's called when you save steps needed to construct a shape)
make something in freecad and look at the table on the left for the last two things (basically it's scripting geometry)
lots of uint8_t usage
tcc or icc as the compiler, objdump to get function size
raytracing is simple, small, code
opengl 1.* gives matrix math functions (lookat, matrix stack, etc) while opengl 3and4 gives the ability to upload a bunch of stuff at once
quaternions ofc, they use less memory
etc

https://files.scene.org/ has plenty about programming and math, my fav sofar is https://files.scene.org/view/parties...asses_xvid.avi

it comes down to "figure it out"

Quote:

Originally Posted by dugan (Post 5369824)

this is pretty good


All times are GMT -5. The time now is 10:22 PM.