How can I make pov file?

677 views
Skip to first unread message

Namkyu Kim

unread,
May 15, 2014, 2:59:09 AM5/15/14
to vampir...@googlegroups.com

I installed VAMPIRE, and simulating the input file.

So, I get the output file.  But, I saw that VAMPIRE can make pov file for 3-D imaging.

How can I make that file and where can I find it?

richard....@gmail.com

unread,
May 18, 2014, 6:32:58 AM5/18/14
to vampir...@googlegroups.com
To create a povray file, you need to specify the output of atomic coordinates in the input file using:

config:atoms 

This creates a number of snapshots (one for each CPU) of the atomic spin configurations. In the util folder of the source code distribution there is a file cfg2povray.cpp which you can compile using

g++ cfg2povray.cpp -o cfg2povray

Running this executable in the same folder as you run the code will generate a sequence of atoms-***.pov files. These can then be rendered using the povray ray tracer, e.g.:

povray -W800 -H600 +A0.3 atoms-000000.pov

Richard.

kobe...@gmail.com

unread,
Sep 29, 2018, 2:21:21 PM9/29/18
to Vampire Users
Hi Namkyu,

I had the same question as you. Did you manage to generate the pov. files?

Thanks,
Chaoxin

在 2014年5月15日星期四 UTC-4上午2:59:09,Namkyu Kim写道:

kobe...@gmail.com

unread,
Sep 29, 2018, 2:25:24 PM9/29/18
to Vampire Users
Hi Richard,

I generated the executable file named cfg2povray successfully, but I couldn't generate atoms-***.pov files by running that file as you said. I was wondering what the problem was. Could you explain the sentence that "Running this executable in the same folder as you run the code" in more details?

Thank you very much!

Best,
Chaoxin

在 2014年5月18日星期日 UTC-4上午6:32:58,richard....@gmail.com写道:

Richard Evans

unread,
Oct 1, 2018, 5:04:28 PM10/1/18
to kobe...@gmail.com, Vampire Users
Hi Chaoxin,

Depending on the version you are using, the povray files are produced using the util/vdc/vdc utility, after generating atomic configurations from the config:atoms keyword in the input file. To compile this utility you need to run “make vdc” in the vampire source code folder. You can then copy the file util/vdc/vdc to wherever run your simulations and type “./vdc” to process the data files into .pov files.

All the best,

Richard 


--
You received this message because you are subscribed to the Google Groups "Vampire Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vampire-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages