Re: How does the calling to povray work?
"Miguel Angel Gómez Márquez" <[email protected]> Sat, 30 Sep 2006 20:46:48 +0200
| Newsgroups | gmane.comp.kde.devel.kpovmodeler |
|---|---|
| Message-ID | <[email protected]> |
--===============0577950176== Content-Type: multipart/alternative; boundary="----=_Part_48056_10767295.1159642008451" ------=_Part_48056_10767295.1159642008451 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline The changes where minimal, as i couldn't put more than 2 commands in the "Povray Command", i modify that file the "pmpovrayrenderwidget.cpp" in other to run povray under the LAM host program. (the little problem is that i smoked all kpovmod files before i received your email, and i really like the opengl "translation") something like *m_process << "mpirun"; *m_process << "-np"; *m_process << nodes; *m_process << s_povcomand; and well an input for the node number. (sorry for the inaccuracy, i am at school, hehe) I used the MPI Implementation of povray, and well LAM as the environment to run it. mpirun -np 4 /usr/bin/mpi-x-povray args (for example) ------------- > I received a patch some days ago that enables distributed rendering in > KPovModeler, too. This patch simply adds custom povray commands to the > render mode and makes the directory configurable where KPovModeler puts > the .pov file. > > What changes did you make to the code? > > Regards, > Andreas > ------=_Part_48056_10767295.1159642008451 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline The changes where minimal, as i couldn't put more than 2 commands in the "Povray Command", i modify that file the "pmpovrayrenderwidget.cpp" in other to run povray under the LAM host program. (the little problem is that i smoked all kpovmod files before i received your email, and i really like the opengl "translation") <br><br>something like<br>*m_process << "mpirun";<br>*m_process << "-np";<br>*m_process << nodes;<br>*m_process << s_povcomand;<br><br>and well an input for the node number.<br> (sorry for the inaccuracy, i am at school, hehe)<br>I used the MPI Implementation of povray, and well LAM as the environment to run it.<br>mpirun -np 4 /usr/bin/mpi-x-povray args (for example)<br><br>-------------<br><div> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I received a patch some days ago that enables distributed rendering in<br>KPovModeler, too. This patch simply adds custom povray commands to the <br>render mode and makes the directory configurable where KPovModeler puts<br>the .pov file.<br><br>What changes did you make to the code?<br><br>Regards,<br>Andreas<br></blockquote></div><br> ------=_Part_48056_10767295.1159642008451-- --===============0577950176== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline List archive and information: https://mail.kde.org/mailman/listinfo/kpovmodeler-devel --===============0577950176==--