> my A also in short:
> YES

Thats good to hear but somehow I am not able to make it work :( 

Here is what I did :
Using fcdEdit I created a new class MyGeometry derived from Geometry and added a
new field of type MFUInt32 in the derived class. Then I changed the Tutorial
example 05geometry.cpp and instead of creating node of type Geometry, I created
and used node of derived class MyGeometry in the application:

MyGeometryPtr geo=MyGeometry::create();

After building, when I run the application, I only get a blank window staring
back at me, nothing is drawn! 

What am I missing here or what else do I need to do ? Is there working example 
somewhere doing the same kind of thing ?

Here is my .fcd file which I created with fcdEdit :
<?xml version="1.0"?>

<FieldContainer
        name="MyGeometry"
        parent="Geometry"
        pointerfieldtypes="both"
        structure="concrete"
        systemcomponent="false"
        parentsystemcomponent="true"
        decoratable="false"
        useLocalIncludes="false"
>
        <Field
                name="info"
                type="UInt32"
                cardinality="multi"
                visibility="external"
                access="public"
        >
        Some additional information is put in Geometry
        </Field>
</FieldContainer>


Thanks,
- Vaibhav



> From: Matthias Stiller <[EMAIL PROTECTED]>
> Subject: Re: [Opensg-users] Deriving from the existing FC and saving
>       it to   OSB
> To: [email protected]
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain;  charset="iso-8859-1"
> 
> Hello Vaibhav,
> 
> my A also in short:
> 
> YES
> 
> Regards
> 
> Matthias
> 
> On Wednesday 30 August 2006 15:47, [EMAIL PROTECTED] wrote:
> > Hi All,
> >
> > My Q in short:
> > Can I derive from the existing field containers, create a scenegraph
> > using these derived classes and save/retrieve this scenegraph to/from
> > the OSB file ?
> >
> > A bit expanded :
> > Lets say I derive from some existing Field Containers like Node,
> > Geometry, Transform, etc (e.g. using fcdEdit) adding my custom fields
> > and some new functions in the derived class. Then I create a
> > scenegraph using nodes of these derived class types in my
> > application. Now will it be possible to save this scenegraph to an
> > OSB file with the ability to later load the OSB file and get back the
> > original scene graph ?
> >
> >
> > Thanks for any help,
> > - Vaibhav




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