Hi Sohail,<br>Look in:<br>Edit->Settings->Manta View <br>There is check box for Shadows.<br>--John<br><br><div class="gmail_quote">On Wed, Mar 23, 2011 at 12:21 AM, Sohail Shafii <span dir="ltr"><<a href="mailto:sohailshafii@yahoo.com">sohailshafii@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit;" valign="top">
Thank you...that version is actually way more stable, and I can see that the raytracer is working now. Phong shading does work (I was able to pick that successfully), and it works better than the rasterized Gouraud (as expected). I just don't see any shadows cast created on the polygons my filter created, I think that would be seen by default. Any ideas?<br>
<br>Sohail<br><br>--- On <b>Tue, 3/22/11, David E DeMarle <i><<a href="mailto:dave.demarle@kitware.com" target="_blank">dave.demarle@kitware.com</a>></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">
<br>From: David E DeMarle <<a href="mailto:dave.demarle@kitware.com" target="_blank">dave.demarle@kitware.com</a>><div class="im"><br>Subject: Re: [Paraview] Getting a raytraced picture from Manta<br></div>To: "Sebastien Jourdain" <<a href="mailto:sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@kitware.com</a>><br>
Cc: "Sohail Shafii" <<a href="mailto:sohailshafii@yahoo.com" target="_blank">sohailshafii@yahoo.com</a>>, <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br>Date: Tuesday,
March 22, 2011, 9:11 PM<div><div></div><div class="h5"><br><br><div>I highly recommend you use Manta <span style="font-family: arial,sans-serif; font-size: 13px; border-collapse: collapse;">r2439. As far as vtkManta's use of Manta goes, that version is the most stable and newer Manta versions are known to cause it to crash.</span><div>
<div><div><font face="arial, sans-serif"><span style="border-collapse: collapse;"><br clear="all"></span></font>David E DeMarle<br>Kitware, Inc.<br>R&D Engineer<br>28 Corporate Drive<br>
Clifton Park, NY 12065-8662<br>Phone: <a href="tel:518-371-3971" target="_blank">518-371-3971</a> x109<br>
<br><br><div>On Tue, Mar 22, 2011 at 3:17 PM, Sebastien Jourdain <span dir="ltr"><<a rel="nofollow" href="http://mc/compose?to=sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@kitware.com</a>></span> wrote:<br>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi <span style="font-family: arial,sans-serif; font-size: 13px;">Sohail,</span><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">if you are using 3.8.0, it is true that you will need to start a server (pvserver) and connect to it to allow manta to work "properly" with ParaView. You don't need to run in MPI, but it has to be in a different process than the client. (I mean no built-in mode)</font></div>
<div><font face="arial, sans-serif">On the other hand, once you get connected to that pvserver (in localhost for example) you will have to load the plugin on both side (client+server). Once this is done, you should be able to close the 3D renderer and create a new one based on Manta.</font></div>
<div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">For the crash part, the best person will be Dave that I cc. But as he is traveling, he might not be able to answer to you right away.</font></div>
<div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Seb</font></div><div><div></div><div><div><font face="arial, sans-serif"><br></font><br>
<div>On Tue, Mar 22, 2011 at 4:49 PM, Sohail Shafii <span dir="ltr"><<a rel="nofollow" href="http://mc/compose?to=sohailshafii@yahoo.com" target="_blank">sohailshafii@yahoo.com</a>></span> wrote:<br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit;" valign="top">
Thanks. It turns out that I am working with an older version (3.8.0) since I am making preparations for a paper (due next week) and some code hasn't been ported to latest version yet.<br>
<br>I basically have to add the plugins in the "Remote plugins" section o fthe Plugin manager. The plugin's a bit buggy and causes a crash, however, and I think that may be due to the fact that I am using an older version of Manta.<br>
<br>Sohail<br><br>--- On <b>Tue, 3/22/11, Sebastien Jourdain <i><<a rel="nofollow" href="http://mc/compose?to=sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@kitware.com</a>></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">
<br>From: Sebastien Jourdain <<a rel="nofollow" href="http://mc/compose?to=sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@kitware.com</a>><br>Subject: Re: [Paraview] Getting a raytraced picture from Manta<br>
To: "Sohail Shafii" <<a rel="nofollow" href="http://mc/compose?to=sohailshafii@yahoo.com" target="_blank">sohailshafii@yahoo.com</a>><br>
Cc:
<a rel="nofollow" href="http://mc/compose?to=paraview@paraview.org" target="_blank">paraview@paraview.org</a><br>Date: Tuesday, March 22, 2011, 1:32 PM<div><div></div><div><br><br><div>Hi <span style="font-family: arial,sans-serif; font-size: 13px;">Sohail,</span><div>
<font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">you should just close the default 3D view and create the Manta one by clicking on its button.</font></div>
<div><font face="arial, sans-serif">Then any object that you create will be shown in that raytracer view... And with the latest implementation, you don't need a remote server anymore.</font></div>
<div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Seb<br></font><br><div>On Tue, Mar 22, 2011 at 4:18 PM, Sohail Shafii <span dir="ltr"><<a rel="nofollow" href="http://mc/compose?to=sohailshafii@yahoo.com" target="_blank">sohailshafii@yahoo.com</a>></span> wrote:<br>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit;" valign="top">
Hi,<br><br>I have been able to get Manta raytracer to compile with paraview and load in as a plugin. I even see the extra GUI options in the "display" tab of certain filters like the Tube filter. I'm just wondering how to get something raytraced as a result.<br>
<br>I did a bit a research via the list and found a page that says that I must start the paraview server with the plugin loaded. The client would also have the plugin loaded and connect to the server. The instructions didn't say how to do that on the server side . Usually when I start the paraview server (pvserver), it does not launch the GUI but just waits for a client connection in the terminal. So I don't know how to load the plugin on the server...the command line options for pvserver didn't provide any hints.<br>
<br>Please advise.<br><br>Thanks,
Sohail<br></td></tr></tbody></table><br>
<br>_______________________________________________<br>
Powered by <a rel="nofollow" href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a rel="nofollow" href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a rel="nofollow" href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a rel="nofollow" href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>
</div></div></div></blockquote></td></tr></tbody></table><br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div></div></div>
</div></div></div></blockquote></td></tr></tbody></table><br>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br>