I had some success with the following path. It appears that my problem
came from the fact that I was not getting the correct value from
::VRMLGenericAtt::getClassType(). It was returning the parent class
static _type variable. Things seem to work better if I create a new
ClassType in DynamicAttachmentMixin. Is there some reason that this
was removed from the code in OpenSG 2.0? Or did it just need to be
ported?

-Aron

On 2/6/07, Carsten Neumann <[EMAIL PROTECTED]> wrote:
        Hi Aron,

Aron Bierbaum wrote:
> I am currently working on porting the VRML loader to OpenSG 2.0. I
> have run into a road block because I can not seem to get the generic
> attributes to work correctly. The VRML loader creates a new dynamic
> field attachment like the following:
>
> typedef DynFieldAttachment<VRMLGenericAttDesc>  VRMLGenericAtt;
>
> Whenever I call VRMLGenericAtt::create() I get a NullFC though. I
> think that the prototype is not getting created correctly. Is there an
> example of how I should be using the DynFieldAttachment mixin
> somewhere in OpenSG 2.0? Does anyone have any ideas on how to fix
> this?

I had an experimental fix in my tree that made them work, but I was not
sure if it was completely right. Also I think I had written an example,
will dig both out first thing tomorrow.

        Carsten


-------------------------------------------------------------------------
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

Attachment: DynamicAttachmentMixin.path
Description: Binary data

-------------------------------------------------------------------------
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

Reply via email to