View Single Post
  #7  
Old August 29th, 2004, 10:26 AM
Arryn's Avatar

Arryn Arryn is offline
Major General
 
Join Date: Jan 2004
Location: twilight zone
Posts: 2,247
Thanks: 0
Thanked 0 Times in 0 Posts
Arryn is on a distinguished road
Default Re: can you speak C? fractal terrain? vga? tga?

Quote:
Gandalf Parker said:
The fractal routine sems to generate alot of variable heighth points but then it squeezes them into 16 colors. Id like to have that part "undone" and see if we cant get a vga smoothing look (I can provide visual examples of all of this if it helps).
I just took a quick peek at the code and if I'm not mistaken, the relevant code snippet that is responsible for this is to be found in the function "dump_color" in the file "targa.c" (very first function in that source file). Assuming I've correctly ID'd the responsible code segment, "fixing" it should be trivial.
__________________
Visit my Dominions II site
Reply With Quote