Hey Daniel,

thanks for your help. I have played a bit more with the rotation option and I 
think I might have identified the issue…
When I set the origin of the rotation in the x menu, and plot only particles, 
everything works as intended (i.e. if I put the origin in the centre of a box, 
all 4 pi are filled).
However, if I render the plot (e.g. using rho), then only a small fraction of 
the plot is filled (i.e. I see the box from some distance away).
If instead I reverse the sign of the origin in the x menu (i.e. I set it to 
-0.5,-0.5,-0.5 in a box running from 0 to 1 in all dimensions), then I get a 
nice 4pi plot again…

So, it might be possible that there’s a sign error somewhere in the routine, 
when rendering is used…
I’d try to dig deeper into the code, but my fortran is horrible :-)

Anyway, thanks again for the help! Again, the 4pi option is very nice!

Cheers
Benjamin



> Am 15.11.2018 um 08:09 schrieb Daniel Price <[email protected]>:
> 
> Dear Benjamin,
> 
> This should work - you need to be in spherical coordinates for 4pi rendering, 
> which is done automatically if you use the -4pi command line option, e.g.
> 
> gsplash -4pi -r 6 -dev /xw snap_00000
> 
> For the rotation option everything should work if you set the origin and 
> rotation settings in the x) menu. The origin and rotation settings should 
> also work if you track a particle (via the l menu, option 3; or by pressing 
> ’t’ and ’s’ in interactive mode)
> 
> To use these with command line mode, just play with the settings in the menu, 
> then press ’s' to save the splash.defaults and splash.limits files.
> 
> Let me know if you still have problems.
> 
> Cheers,
> 
> Daniel
> 
>> On 13 Nov 2018, at 8:27 pm, Benjamin Moster <[email protected]> wrote:
>> 
>> Hey Daniel,
>> 
>> hope everything is fine. I have a (hopefully quick) question on splash. 
>> Having had Chris Russell visit here, I’ve started to check out the new 4pi 
>> capabilities of splash.
>> Now what I can’t get working is to center and rotate the simulation before 
>> rendering, i.e. I’d like to move the observer to some point, e.g. disk 
>> centre, and then rotate the disc…
>> 
>> I am using gsplash 2.8.1beta (from github) with cylindrical coordinate 
>> system (o.7.3), but whatever I do under rotation settings (x.2) it doesn’t 
>> affect the plot…
>> Am I doing something wrong or is this not implemented for 4pi plots? In the 
>> latter case, maybe this could be added in a future version?
>> 
>> Thanks! These 4pi plots look pretty cool :-)
>> 
>> Cheers
>> Benjamin
>> 
> 

-- 
You received this message because you are subscribed to the Google Groups 
"SPLASH users forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/splash-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to