Home Page
  • December 11, 2024, 04:25:46 am *
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

Official site launch very soon, hurrah!


Author Topic: Julia Fractal v0.51 and Pixel Shader Version  (Read 13428 times)

Dakusan

  • Programmer Person
  • Administrator
  • Hero Member
  • *****
  • Posts: 551
    • View Profile
    • Dakusan's Domain
Julia Fractal v0.51 and Pixel Shader Version
« on: October 22, 2009, 11:40:49 am »


v0.51: Binary | Source

Project Updates:
  • Optimizations:
    • Changed lots of signed numbers to unsigned for theoretical better resolution in the long run.
    • In the coloring algorithm, “Bailout Radius”, and “Power” are constants, so I removed (commented out) their variables and turned anything that used them (i.e. floating point functions) into constants. This removed a lot of unnecessary floating point calculations for each pixel.
    • Added some precalculations into the fractal drawing section to speed up pixel calculations.
  • Fixes:
    • The coordinates of the moused over pixel were being improperly calculated because I had forgotten the window was being drawn and calculated in a bottom to top fashion (Y=0 is at the bottom).

New Pixel Shader Implementation:

I have made a new sub project, available in the binary and source downloads, that might be eventually integrated into the main project. This proof of concept renders 100% of the fractal for each frame on the GPU. It is much faster and much smoother :-). See the Content Section for more information.

Logged