Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- VectorField I = identity();
- ScalarField sphere = 1.f - length( Vec3(0,0.f,0) - I );
- Domain domain(64,64,64,Vec3(-1,-1,-1),Vec3(1,1,1));
- FeltyVolume vol(sphere,I,1.f,domain);
- scene.volumes.push_back(&vol);
Add Comment
Please, Sign In to add comment