Hi again,<div><br></div><div>sorry for the previous mail, i wrote it very bad :)</div><div><br></div><div>Ok, i want to see something in the client side, and i use the previous code for that.</div><div>When i go to <a href="http://localhost:8080/PWService/test/index.jsp">localhost:8080/PWService/test/index.jsp</a> only "<span style="font-family:'Times New Roman';font-size:medium;text-align:-webkit-center">Page used for testing purpose" </span>message is showed.</div>
<div>Every time i reload the webpage i can see a new "Active process" in localhost:8080/PWService/ , when i click in "View" link the renderer is showed right.</div><div><br></div><div>The same is happening with the new line, and nothing is showed in localhost:8080/PWService/test/index.jsp, only "<span style="font-family:'Times New Roman';font-size:medium;text-align:-webkit-center">Page used for testing purpose"</span> . I would like to show the renderer in client side</div>
<div><br></div><div>do you know how?</div><div><br></div><div>I try with other renderers with the same result.</div><div><br></div><div>Thanks :)</div><div>Víctor.</div><div><br><div class="gmail_quote">2012/7/14 Sebastien Jourdain <span dir="ltr"><<a href="mailto:sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@kitware.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You need to enable the webgl exporter on the server side as by default<br>
we only generate images...<br>
<br>
paraview.updateConfiguration(true, "JPEG", "WebGL");<br>
<div><div class="h5"><br>
On Fri, Jul 13, 2012 at 9:03 AM, victor sv <<a href="mailto:victorsv@gmail.com">victorsv@gmail.com</a>> wrote:<br>
> Hi all,<br>
><br>
> I'm trying to show something in the client side, but i can see the renderer<br>
> in PWService. I use the following javascript code:<br>
> <script type="text/javascript"><br>
> var serverURL = '<a href="http://localhost:8080/PWService" target="_blank">http://localhost:8080/PWService</a>';<br>
> var paraview = new Paraview(serverURL);<br>
> paraview.createSession('testing','basic-test');<br>
> var activeView = paraview.CreateIfNeededRenderView();<br>
><br>
> var cyl = paraview.Cylinder();<br>
> cyl.setResolution(1024)<br>
> paraview.Show();<br>
><br>
> var renderer = new webGLScriptRenderer("webgl", serverUrl);<br>
> renderer.init(paraview.sessionId, activeView.__selfid__);<br>
> renderer.setSize('640','480');<br>
> renderer.bindToElementId("container-1");<br>
> renderer.setForceSquareSize(true);<br>
> renderer.start();<br>
><br>
> </script><br>
><br>
> What am i doing wrong?<br>
><br>
> Best regards,<br>
> Víctor.<br>
><br>
</div></div>> _______________________________________________<br>
> Paraview-developers mailing list<br>
> <a href="mailto:Paraview-developers@paraview.org">Paraview-developers@paraview.org</a><br>
> <a href="http://public.kitware.com/mailman/listinfo/paraview-developers" target="_blank">http://public.kitware.com/mailman/listinfo/paraview-developers</a><br>
><br>
</blockquote></div><br></div>