Message: VRML 2.0 driver of GEANT4 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question VRML 2.0 driver of GEANT4 

Forum: Geometry
Date: 14 Jul, 2016
From: Maura E.M. <Maura E.M.>

I saved my model graphics to a .wrl file using VRML driver. It turns out that the generated .wrl file cannot be read by any tool I know capable of importing such a format.

MatLab Files Exchange contains several routines that read .wrl files. I tried three different functions but all failed in some respect. One of the functions generates a MatLab structure (like a C++ structure) when importing the .wrl file. The structure contains the following fields: % i/p filename name of vrml file % o/p nel number of geometry parts (elements) in file % o/p w3d geometry structure ;- % w3d.pts array of x y z values for each element % w3d.knx array of connection nodes for each element % w3d.color color of each element % w3d.polynum number of polygons for each element % w3d.trans transparency of each element

After importing my .wrl file the generated structure w3d only contains the filename.

w3d = 
    name: 'patch1'
infoline =
# Generated by VRML 2.0 driver of GEANT4

I would appreciate any suggestion about a tool capable of correctly loading the .wrl file generated by GEANT4. I am assuming GEANT4 VRML driver works and is updated ..... Is it ???

Thank you Best regards, Mauede

 Add Message Add Message
to: "VRML 2.0 driver of GEANT4"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews

[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]