Giter VIP home page Giter VIP logo

distributed-mandelbulb's People

Watchers

 avatar  avatar  avatar  avatar  avatar

distributed-mandelbulb's Issues

Create a parser for path data file

  • One CameraParams per line
  • Space separated value
  • Tab separated objects

ex.
location (x.x y.y z.z) \t look at (x.x y.y z.z) \t up vector (x.x y.y z.z) \t fov
14.0 8.0 10.0         0 0 0         0 1 0         1.1


void getPath(char *filename, CameraPath *path, int *len){
    //read till EOF, populate path, return number of camera posistions 
}

Path plan by hand

Someone should start planning a path by hand. In the event that we don't get the automated path planning working we should have a back up plan.

Maybe 36 "coarse" points to get into the center, a small turn around animation and then use the same points on the way out.

Make quick script to interpolate 100 sub points in between the the coarse points, for the way out use the next course point for the "look at vector"

36_100 points on the way in plus some turn around frames and 36_100 points on the way out

Write out all the points to a path file formatted so the path planner can read it (7200 lines)

Disk Write performance

Today in class we discussed that drive writes take a significant amount of time. One group took 4 hours to render of which 2.5 hours of disk writes. I think we need to use one thread thread just to feed the GPU with data and another to write files to disk.

Points to consider:

  • approx 12MB per .bmp frame @ 4k * 7,200 frames = 84GB of frames
  • if we convert every frame to jpg in real time could we fit this in ram? (shared across all our computers) I have 8GB Dom has 16GB, not sure about Logan
  • use one thread to service the GPU and add frames to a DiskWrite buffer. The second thread can empty the DiskWrite buffer.
    • I have no idea the difference in speeds of the GPU computation and the disk writes, it is possible that the buffer could fill up.
    • using multiple threads to write would only improve the performance if we are using multiple disks since a single thread should be able to saturate the write speed of a single disk.
  • Solid state drives should give about a 4x write performance increase over spinning platters, unfortunately I only have about 10GB of free space on mine. If someone has an extra one to lend me it would be great.

User Defined Output Directory and Filenames

  • We will need an output directory since we are generating 7200 frames, we could possibly define the name of the directory in the params.dat file
  • The frame number should correspond to the global path position. If we are using multiple gpu's to render subsections of the path, each gpu will need to know what frame number to start working at

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.