[Yt-svn] commit/yt: samskillman: Setting no_ghost=True by default in the Camera object. This greatly
Bitbucket
commits-noreply at bitbucket.org
Thu Feb 24 15:56:06 PST 2011
1 new changeset in yt:
http://bitbucket.org/yt_analysis/yt/changeset/214ddc275963/
changeset: r3765:214ddc275963
branch: yt
user: samskillman
date: 2011-02-25 00:55:55
summary: Setting no_ghost=True by default in the Camera object. This greatly
increases rendering speed, and higher quality renderings can be
enabled with no_ghost=False.
affected #: 1 file (145 bytes)
--- a/yt/visualization/volume_rendering/camera.py Tue Feb 22 23:32:21 2011 -0500
+++ b/yt/visualization/volume_rendering/camera.py Thu Feb 24 16:55:55 2011 -0700
@@ -45,7 +45,7 @@
volume = None, fields = None,
log_fields = None,
sub_samples = 5, pf = None,
- use_kd=True, l_max=None, no_ghost=False,
+ use_kd=True, l_max=None, no_ghost=True,
tree_type='domain',expand_factor=1.0,
le=None, re=None):
r"""A viewpoint into a volume, for volume rendering.
@@ -203,6 +203,8 @@
self.use_kd = use_kd
self.l_max = l_max
self.no_ghost = no_ghost
+ if self.no_ghost:
+ mylog.info('Warning: no_ghost is currently True (default). This may lead to artifacts at grid boundaries.')
self.tree_type = tree_type
if volume is None:
if self.use_kd:
Repository URL: https://bitbucket.org/yt_analysis/yt/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the yt-svn
mailing list