Is it possible to programmatically generate textures in Java, textures that could then be used to cover in game objects?
|
Well, technically speaking you can generate textures using any language. Even if you don't have any output on screen, as far as your language can represent integer/float (could get away with integers) and arrays, you are good to go. The problem though is that not every texture could be generated procedurally. You usually need a formula as a stating point to represent that particular texture in order to generate it, then refine it based on some specific criteria. The formula could be anything like perlin noise, analytical shapes, complex numbers (fractals)..etc There is even a book dedicated to this huge topic http://www.amazon.com/Texturing-Modeling-Third-Edition-Procedural/dp/1558608486 Extending the answer to include pros. and cons. of procudarally genrated textures: Pros:
Cons:
|
|||||
|