Hi Gerrit and Akos, 

I indeed missed to register the callbacks in MyGeometry::initMethod() 
and left it blank. After putting the code mentioned by Gerrit in the
initMethod(), problem is fixed now. Things seem to work fine.

Thanks guys,
- Vaibhav



Quoting Akos Balazs <[EMAIL PROTECTED]>:

> Hi Vaibhav,
> 
> On Thu, 31 Aug 2006 [EMAIL PROTECTED] wrote:
> 
> > 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 ?
> 
> my first guess would be you forgot to register for the Action traversals 
> in your MyGeometry::initMethod(). There are two examples in the system 
> that I know about: OpenSG/Examples/Cubes and 
> OpenSG/Examples/TessalationCubes, the second might be more relevant for 
> you since it shows how to correctly derive from the Geometry class.
> 
> HTH,
>       Akos
> 
> -------------------------------------------------------------------------
> 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

Reply via email to