Hi, On Thu, 2010-01-14 at 14:35 -0600, David Kabala wrote: > We are close to having the Cgfx loader stable, and integrated with the > Collada loader. We would like some input on what the preferred method > of inclusion would be. > > We have created the following new types: > > CgfxMaterial > CgfxRenderPassChunk > > We have modified parts of the Collada loader to use/create these new > types.
is there anywhere where I (we) can get a preview of it, in particular the state extensions ? Ideally (if you have a github account) would be as a patchset on top of a forked http://github.com/vossg/OpenSGDevMaster commited back to said github fork ;) Another short question how does your CgFx things differ from what is inside 1.x ? > We are unsure of whether to put this in the State library or as a > Contrib library. In our branch we have added a Cmake option to > compile in support for the Cgfx Materials, this requires the Cg > Toolkit library. If that option is set to yes then the CgfxMaterial > and CgfxRenderPass are included in the State library build, and the > Collada loader of the FileIO library. > > If we place the new Cgfx code in a contrib library then this would > mean that the FileIO library would be dependent on it for the Collada > loader. I talked to Carsten once about having the ColladaLoader extensible, as the VRML loader which is spread over FileIO and Contrib with FileIO not dependent on the Contrib part That would be my ideal solution for now and for similar situations. > Additional modifications we have made: > > The Cg toolkit loads cgfx files, and sets the state for using the > defined effects. This is my main headache with Cg/CgFX and the main reason it is not in 2.x. It modifies the state and can interfere with the normal switching sequence and there seems no way to get it right without isolating it. I haven't found an ideal solution to do that but as others would like to see it available (for quite some time now) too I try to consolidate my different ideas, bite the bullet and make a decision. kind regards gerrit ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users