[Problem] Shape3D geometries

Dear all.
I’m working with Shape3D. I noticed that it is possible to define only one Geometry per Shape, even if, theorically, Shape3D should support an array of Geometries. For instance if I call the method addGeometry(…) it replaces the existing geometry with the new one instead of adding it.
Looking at the sources I noticed that the method numGeometries() returns always 1!!

Will it be fixed soon?

FM

I know… there are many unimplemented method in the Xith api. I’ve implemented some of those that were trivial and essential to me (such as some in the VirtualUniverse about adding Views and so on…)

Yuri say that we should post those issues on bugzilla on the project’s webpage. But I’ve been lazy to actually use it.

I’m just curious about the question you posed, what does it mean for a Shape to have more than one geometry? Visually, I mean? I can understand a shape object having stored a lot of geometries but just one active. But is that what you meant?

My tip for now is, just quickly implement those methods you know you need to keep you working.

If people could enlight me too: a problem I face is that I’m not sure how to update stuff from CVS now. Is there a way to update from CVS and keep my changes in place, even if only have a guest account?

Hi,

[quote]what does it mean for a Shape to have more than one geometry?
[/quote]
If you want to compose geometry from primitives of different types (say, your geom is partially quads and partially triangles), then you need multiple geoms.

[quote]Is there a way to update from CVS and keep my changes in place, even if only have a guest account?
[/quote]
Yes. It should work as you want automatically, only if you are not switching something like “get fresh copy” of “override local changes” in your CVS client.

Yuri

and if you implement a feature, please send us your patches :slight_smile:

Will.