jan p. springer wrote: >Christoph Fünfzig said the following on 10/31/06 17:14: >[ snip ] > > >>Python bindings for OpenSG are really cool :-) >> >> > > actually they are :) > > > >>But I think executing GraphOps after reading a model/scene can be done >>easily, already in Version 1.6. >>You can create a GraphOpSeq by a string, listing all graph ops you want >>with their parameters, >>see method void GraphOpSeq::setGraphOps(const std::string params); >>and SceneFileHandler::read can receive a GraphOpSeq to apply after loading. >> >>So no need for weird filenames, I think ;-) >> >> > > yes and no. the intention, again, for having pseudo loaders is when i want to > specify per model xforms, etc. but am going to merge them via a cmdline tool. > the model created is actually the one i want to use in the (final) > application. > that is sth. like a poor-man's work flow not reallying on modeller tools. > > I agree with Jan here. Having the ability to use pseudo loaders can come in very handy and if we could come up with an easy and extensible way to support it I don't see the problem. For example as you point out we can already setup graph ops in the scene handler using a string listing the graph ops and their parameters, what if we just extended this idea and made it possible to embedd this string as part of the filename. I don't know the exact format of the graph op strings now, but couldn't we do something like this:
myfile.osb.[graphop1-graphop2[param1-param2]].graphop Getting all the tokens right so they can be used as filename and are unique would take some thought but it would be a very nice feature for some users. -Allen > having graphops in a pseudo-loader style would be cool too, but using them > on a file and using them on a loaded scene in an application are two > different > animals (at least to me). > > j. > > > >------------------------------------------------------------------------ > >------------------------------------------------------------------------- >Using Tomcat but need to do more? Need to support web services, security? >Get stuff done quickly with pre-integrated technology to make your job easier >Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > >------------------------------------------------------------------------ > >_______________________________________________ >Opensg-users mailing list >[email protected] >https://lists.sourceforge.net/lists/listinfo/opensg-users > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
