<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
That looks fine to me. I don’t know if you should see the world dimensions or not, frankly.
<div class=""><br class="">
</div>
<div class="">Build your whole detector, then try to visualize it with the command:</div>
<div class=""><br class="">
</div>
<div class="">/gate/geometry/rebuild</div>
<div class=""><br class="">
</div>
<div class="">Let’s see what that gives you.</div>
<div class=""> </div>
<div class=""><br class="">
</div>
<div class="">Also, you could try running Gate with the Qt visualization:</div>
<div class=""><br class="">
</div>
<div class=""><a href="http://wiki.opengatecollaboration.org/index.php/Users_Guide_V7.0:How_to_run_Gate#Running_GATE_in_Qt_mode" class="">http://wiki.opengatecollaboration.org/index.php/Users_Guide_V7.0:How_to_run_Gate#Running_GATE_in_Qt_mode</a></div>
<div class=""><br class="">
</div>
<div class="">You would need to make sure Gate is compiled with the Qt option, though. Again, see the User’s Guide for more details.</div>
<div class=""><br class="">
</div>
<div class=""> </div>
<div class="">Cheers,<br class="">
<div apple-content-edited="true" class=""><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class="">
<div class="">Marc</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">__________________________</div>
<div class=""><br class="">
</div>
<div class="">Marc Chamberland, MSc</div>
PhD candidate<br class="">
Department of Physics<br class="">
Carleton University<br class="">
Ottawa (ON)</div>
</span></div>
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Oct 20, 2014, at 11:42, André Miguel Monteiro <<a href="mailto:andremiguelmonteiro90@gmail.com" class="">andremiguelmonteiro90@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">Hello Marc,
<div class=""><br class="">
</div>
<div class="">Thank you for pointing me out to the visualization guide.</div>
<div class=""><br class="">
</div>
<div class="">To test the visualization I did the following</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">In terminal window I execute:</div>
<div class=""><br class="">
</div>
<div class="">Gate</div>
<div class=""><br class="">
</div>
<div class="">Idle> /vis/open OGL</div>
<div class="">/vis/viewer/set/viewpointThetaPhi 60 60</div>
<div class="">/vis/drawVolume</div>
<div class="">/tracking/storeTrajectory 1</div>
<div class="">/vis/scene/add/trajectories </div>
<div class="">/vis/scene/endOfEventAction accumulate</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">/gate/geometry/setMaterialDatabase ../GateMaterials.db</div>
<div class=""><br class="">
</div>
<div class="">/gate/world/geometry/setXLength 4. m</div>
<div class="">/gate/world/geometry/setYLength 3. m</div>
<div class="">/gate/world/geometry/setZLength 4. m</div>
<div class="">/gate/world/setMaterial Air</div>
<div class=""><br class="">
</div>
<div class="">/gate/world/daughters/name CTscanner</div>
<div class="">/gate/world/daughters/insert box</div>
<div class="">/gate/CTscanner/placement/setTranslation 0. 0. 150.5 mm</div>
<div class="">/gate/CTscanner/geometry/setXLength 50. mm</div>
<div class="">/gate/CTscanner/geometry/setYLength 50. mm</div>
<div class="">/gate/CTscanner/geometry/setZLength 1. mm</div>
<div class="">/gate/CTscanner/setMaterial Air</div>
<div class="">/gate/CTscanner/vis/forceWireframe</div>
<div class="">/gate/CTscanner/vis/setColor white</div>
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">The result of the visualization is attached.</div>
<div class=""><br class="">
</div>
<div class="">Is it normal? Shouldn't I see my world dimensions?</div>
<div class=""><br class="">
</div>
<div class="">Cheers,</div>
<div class=""><br class="">
</div>
<div class="">Andre</div>
</div>
<div class="gmail_extra"><br class="">
<div class="gmail_quote">2014-10-20 15:50 GMT+01:00 Marc Chamberland <span dir="ltr" class="">
<<a href="mailto:MarcChamberland@cmail.carleton.ca" target="_blank" class="">MarcChamberland@cmail.carleton.ca</a>></span>:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Andre,<br class="">
<br class="">
Please read the User’s Guide carefully:<br class="">
<br class="">
<a href="http://wiki.opengatecollaboration.org/index.php/Users_Guide_V7.0:Visualization" target="_blank" class="">http://wiki.opengatecollaboration.org/index.php/Users_Guide_V7.0:Visualization</a><br class="">
<br class="">
<br class="">
For example:<br class="">
<br class="">
"The best method is to let Geant4 choose the best OpenGL mode with /vis/open OGL"<br class="">
<br class="">
And:<br class="">
<br class="">
"(…) manual geometry update has to be used instead. This can be done using the following command at any moment in the GATE command prompt environment:<br class="">
<br class="">
/gate/geometry/rebuild<br class="">
<br class="">
Otherwise the complete geometry building is done when /gate/run/initialize command is given."<br class="">
<br class="">
<br class="">
Cheers,<br class="">
Marc<br class="">
<br class="">
<br class="">
<br class="">
__________________________<br class="">
<br class="">
Marc Chamberland, MSc<br class="">
PhD candidate<br class="">
Department of Physics<br class="">
Carleton University<br class="">
Ottawa (ON)<br class="">
<div class="">
<div class="h5"><br class="">
> On Oct 20, 2014, at 10:34, André Miguel Monteiro <<a href="mailto:andremiguelmonteiro90@gmail.com" class="">andremiguelmonteiro90@gmail.com</a>> wrote:<br class="">
><br class="">
> Hello to all Gate users,<br class="">
><br class="">
> I am pretty new at using GATE and now I want to visualize the geometry of the components I want to build. After I have set the world dimensions, how can I see the volumes I am drawing?<br class="">
><br class="">
> I do /vis/open OGLSX and it remains black...<br class="">
><br class="">
> Thank you,<br class="">
><br class="">
> Andre<br class="">
</div>
</div>
> _______________________________________________<br class="">
> Gate-users mailing list<br class="">
> <a href="mailto:Gate-users@lists.opengatecollaboration.org" class="">Gate-users@lists.opengatecollaboration.org</a><br class="">
> <a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" target="_blank" class="">
http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br class="">
<br class="">
</blockquote>
</div>
<br class="">
</div>
<span id="cid:A326131A-8CD9-40EC-B555-2DFF30C961D5@physics.carleton.ca"><screenOGL.png></span></div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>