From: Corina G. <cor...@ya...> - 2011-07-22 14:36:04
|
Hello, Can OpenVRML library be used for loading a vrml file format and parsing it? I am interested in transforming a .wrl in a .pcd file and I am wondering if I am on the right track. Thanks. Corina |
From: Braden M. <br...@en...> - 2011-07-22 19:57:48
|
On Fri, 2011-07-22 at 07:35 -0700, Corina Gurau wrote: > Can OpenVRML library be used for loading a vrml file format and > parsing it? I am interested in transforming a .wrl in a .pcd file and I > am wondering if I am on the right track. Thanks. Yes. Have a look at the prettyprint example for how you can provide your own semantic actions to the parser. Unfortunately, I still haven't upgraded OpenVRML to use the latest version of Spirit. :-/ But what you are asking about can definitely be done with what's there now. -- Braden McDaniel <br...@en...> |
From: corinag <cor...@ya...> - 2011-07-25 11:30:58
|
Thank you for the reply! By running prettyprint I get the following error : error while loading shared libraries: libopenvrml.so.9: cannot open shared object file: No such file or directory Do you know where this comes from? Thanks, Corina Braden McDaniel wrote: > > On Fri, 2011-07-22 at 07:35 -0700, Corina Gurau wrote: >> Can OpenVRML library be used for loading a vrml file format and >> parsing it? I am interested in transforming a .wrl in a .pcd file and I >> am wondering if I am on the right track. Thanks. > > Yes. > > Have a look at the prettyprint example for how you can provide your own > semantic actions to the parser. > > Unfortunately, I still haven't upgraded OpenVRML to use the latest > version of Spirit. :-/ But what you are asking about can definitely be > done with what's there now. > > -- > Braden McDaniel <br...@en...> > > > ------------------------------------------------------------------------------ > 10 Tips for Better Web Security > Learn 10 ways to better secure your business today. Topics covered > include: > Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, > security Microsoft Exchange, secure Instant Messaging, and much more. > http://www.accelacomm.com/jaw/sfnl/114/51426210/ > _______________________________________________ > openvrml-develop mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/openvrml-develop > > -- View this message in context: http://old.nabble.com/openvrml-tp32115792p32130936.html Sent from the openvrml-develop mailing list archive at Nabble.com. |
From: Braden M. <br...@en...> - 2011-07-25 13:31:53
|
On Mon, 2011-07-25 at 04:30 -0700, corinag wrote: > Thank you for the reply! By running prettyprint I get the following error : > > error while loading shared libraries: libopenvrml.so.9: cannot open shared > object file: No such file or directory > > Do you know where this comes from? It comes from the run-time linker. You need to set LD_LIBRARY_PATH to wherever you've put libopenvrml.so. But I'm not sure why the libtool launcher script wouldn't be taking care of this if you're running pretty-print from the build directories; how exactly are you building/running things? -- Braden McDaniel <br...@en...> |
From: Nobuhiro I. <iwa...@ni...> - 2011-07-25 13:37:27
|
Hi, How did you install openvrml? Or, are any distributions used? I think that does not install libopnevrml library (libopenvrml.so.9). How do it become it if "Ldd your application" is executed? We need more info. Best regards, Nobuhiro 2011/7/25 corinag <cor...@ya...>: > > Thank you for the reply! By running prettyprint I get the following error : > > error while loading shared libraries: libopenvrml.so.9: cannot open shared > object file: No such file or directory > > Do you know where this comes from? > > Thanks, > Corina > > > Braden McDaniel wrote: >> >> On Fri, 2011-07-22 at 07:35 -0700, Corina Gurau wrote: >>> Can OpenVRML library be used for loading a vrml file format and >>> parsing it? I am interested in transforming a .wrl in a .pcd file and I >>> am wondering if I am on the right track. Thanks. >> >> Yes. >> >> Have a look at the prettyprint example for how you can provide your own >> semantic actions to the parser. >> >> Unfortunately, I still haven't upgraded OpenVRML to use the latest >> version of Spirit. :-/ But what you are asking about can definitely be >> done with what's there now. >> >> -- >> Braden McDaniel <br...@en...> >> >> >> ------------------------------------------------------------------------------ >> 10 Tips for Better Web Security >> Learn 10 ways to better secure your business today. Topics covered >> include: >> Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, >> security Microsoft Exchange, secure Instant Messaging, and much more. >> http://www.accelacomm.com/jaw/sfnl/114/51426210/ >> _______________________________________________ >> openvrml-develop mailing list >> ope...@li... >> https://lists.sourceforge.net/lists/listinfo/openvrml-develop >> >> > > -- > View this message in context: http://old.nabble.com/openvrml-tp32115792p32130936.html > Sent from the openvrml-develop mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Storage Efficiency Calculator > This modeling tool is based on patent-pending intellectual property that > has been used successfully in hundreds of IBM storage optimization engage- > ments, worldwide. Store less, Store more with what you own, Move data to > the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ > _______________________________________________ > openvrml-develop mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/openvrml-develop > -- Nobuhiro Iwamatsu iwamatsu at {nigauri.org / debian.org} GPG ID: 40AD1FA6 |
From: corinag <cor...@ya...> - 2011-07-26 09:29:33
|
Thanks for the reply, I figured it out. I compiled openvrml from the source code. I should have put LINK_DIRECTORIES in cmake .. that was it :) -- View this message in context: http://old.nabble.com/openvrml-tp32115792p32138575.html Sent from the openvrml-develop mailing list archive at Nabble.com. |
From: corinag <cor...@ya...> - 2011-07-26 09:24:33
|
That was exactly the problem, thank you. I was using cmake and not properly linking directories. Now I just need to figure out how to extract the points that need to be in the point cloud ... any advice? Thanks a lot, Corina -- View this message in context: http://old.nabble.com/openvrml-tp32115792p32138541.html Sent from the openvrml-develop mailing list archive at Nabble.com. |
From: Braden M. <br...@en...> - 2011-07-27 05:50:55
|
On Tue, 2011-07-26 at 02:24 -0700, corinag wrote: > That was exactly the problem, thank you. I was using cmake and not properly > linking directories. Now I just need to figure out how to extract the points > that need to be in the point cloud ... any advice? Typically you'll need to maintain a stack of the state (that you're interested in) during parsing. You should be able to identify nodes of interest to you in on_node_start; and then fields of interest in on_field_start. -- Braden McDaniel <br...@en...> |
From: corinag <cor...@ya...> - 2011-07-28 13:03:03
|
I extracted the points so far but I still need the faces(so I can add even more points) .. and for that I need the type of coordIndex but somehow I can't figure it out... Thanks, Corina -- View this message in context: http://old.nabble.com/openvrml-tp32115792p32156403.html Sent from the openvrml-develop mailing list archive at Nabble.com. |
From: Braden M. <br...@en...> - 2011-07-28 16:41:25
|
On Thu, 2011-07-28 at 06:02 -0700, corinag wrote: > I extracted the points so far but I still need the faces(so I can add even > more points) .. and for that I need the type of coordIndex but somehow I > can't figure it out... Erm... I would suggest consulting the specification on such matters. It's MFInt32. -- Braden McDaniel <br...@en...> |