*
* *
*
scene.org
Log in:
login for 1 year
No account? register here

Scene.org is hosted and supported by:
Hogeschool Rotterdam
Scene.org is sponsored by:
Pixar Animation Studios
* forum - Requests

*
Topic:  Procedural Graphics Tool?
* Posted by gamerChad Friday 28 October 2005 - 22:41 
What I am looking for is something that can create 2d images/textures (like werkkzeug) and save them into a file that can be executed to generate all of the images. So I'd be able to create some images, save them as a really small .exe file, send that file over the net, the person on the other end executes it and a bunch of .bmp's pop out. 3d stuff like meshes/models would be nice, but I don't need that right now.

Anyone know where I could find this sort of thing?

* Posted by psenough Friday 28 October 2005 - 23:19 
we call them texture generators.
there are a few opensource..

* Posted by gamerChad Sunday 15 January 2006 - 6:16 
Sorry for resurrecting this old post. I never found what I was looking for.

I found quite a few texture generators that would allow me to make a pic then export it to a .bmp file (or some other graphics format). That isn't what I want though, I want something that will, for example, make an executable file that can be run to extract all of the textures/images within.

One I ran into was NeL TexGen editor, which would output very small files that described textures. Unfortunately I have no idea how to turn those into formats that other programs can use without having the TexGen editor installed. I suppose I could use the sourcecode for it and try to write a program that would generate the textures using TexGen's format, but that would probably just be an exercise in frustration.

I am also wondering how people who write intros and demos actually generate textures. Do they just put together various graphics functions and recompile until the desired result is obtained? Or is there something else to it that I am missing?

* Posted by psenough Sunday 15 January 2006 - 9:17 
some texgen are opensource others are not.
the ones that are used for intros and such usually are opensource.
not only opensource as in you can snoop on the code, but that you can easily include the code in your own code and use it.
the point is not really to use them to create and export textures but instead to export the procedural code that creates them, to link the library they use on your own code, and use call the procedure to create the texture on your texture buffer.

the most famous beeing old aardbei's ATG (Aardbei Texture Generator)
download - ftp://ftp.scene.org/pub/demos/groups/aardbei/atg2.zip
article by ile about it - http://www.cfxweb.net/modules.php?name=News&file=print&a mp;sid=66

a few other texgens and info about them:
http://www.pouet.net/prod.php?which=12522
http://www.pouet.net/prod.php?which=12518
http://conspiracy.hu/pg-makingof/

* Posted by gamerChad Monday 16 January 2006 - 8:37 
Thanks! That helps a lot. I still have one problem though: how do I take the .texgen, .tex, .atg, or whatever procedure format these have, and use them in programs? I'm assuming these files store codes that say which procedures to use, when to use them, and with what data. I'm assuming they do not store the procedures themselves. Does that mean I have to figure out how they store this data and write code to analyze these files and call the right functions?

* Posted by psenough Monday 16 January 2006 - 9:01 
you need to include their library (which can interpret their format) in your code and call the procedures..

might be abit confusing for a newb coder i guess..

* Posted by auld Sunday 15 January 2006 - 18:45 
I'm sure this isn't what you want but in answer to the question "how do people do this" I've posted some very very short C code for 4k demos that does exactly this.

http://in4k.untergrund.net/index.php?title=Aulds_Texture_Gen erator

It compiles to about 200 bytes and is capable of storing textures in 2 integers.

* Posted by gamerChad Monday 16 January 2006 - 8:54 
Right, I'm looking for a more GUI type way to put together texture generators (mostly for the realtime visual feedback).

That was a good read though, and I enjoy learning about this stuff. Cool use of genetic algorithm. Thanks for that.

*