Dirk Reiners wrote: > Hi Everybody, > >Allen Bierbaum wrote: > > >>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. >> >> > >I never quite understood what these are for in Performer, but it's >starting to make sense. > >I like the above idea of making all GraphOps available through a >pseudo-loader interface. They already have a string interface, and by >putting a little more structure on that we can probably get to something >that's file-able rather easily, and given that it's all done through an >interpreter class it will just work for everything. > >I'm not sure if we need to use pseudo-filename syntax, as we have a >different method for concatenation in the GraphOpSeq anyway. The >quickest version would probably be to make it non-shell-friendly and >just use a special character for arguments, something like > >10loading 'Data/tie.wrl#Split(max_polygons=1500) Verify(repair=true) >Exclude(Node1,Node2) Merge() Stripe(stitch=true force=true)' > >It assumes that # is not used in filenames, which is a little >optimistic, but some other character could be chosen. The added GOS >would replace the one passed in from the caller, combining would be too >hard to get consistent, IMHO. > >This should be fairly easy to do, it could be better by using a more >shell-friendly encoding for the string. It would have to be added to the >GOS and the ParamSet (which does all the parameter decoding), but for >getting it in quickly I'd do the above. > >Comments? > > Will this filename work on Windows? I would at least consider getting rid of the spaces but that is probably just me wanting it more shell safe.
Otherwise I am all for it. -Allen ------------------------------------------------------------------------- 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
