distributed-mandelbulb's People
distributed-mandelbulb's Issues
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
Video Creation/ Frame Joining
Typing make video
generates the final video file from the title frame and the rendered frames.
Convert vec3 to Macros
- It will be easier if you replace the vec3 class by a structure and the member functions by
inline functions or macros. For your convenience, an implementation using macros is
http://www.cas.mcmaster.ca/~nedialk/COURSES/4f03/private/vector3d.h - Remove all global variables.
convert double to float
make it work with single precision
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)
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
}
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.
get small usecase working for mpi with openacc
I suggest making it work so that when make mpi
is typed that it compiles with a different main.cc file which renders a subset of frames on school servers.
Change code base to MandleBulb instead of MandleBox
Ned has provided links to some of the functions to generate MandleBulbs in the assignment pdf. They need to be added to the code base along with changing corresponding function calls
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.