I was trying to debug the code but the xCode Debugger (wich is
actually gnu's gdb as far as i know) gives me a hard time. It seems
to depend more on luck if it shows me a code line that is actually
processed, never saw such a bad debugger ... well still it might be
me doing something wrong, but i just don't get into really debugging
the code, so I don't know whats happening down in the create() :-/
But I'll keep trying ...
Michael
Am 14.05.2007 um 16:20 schrieb Marcus Lindblom:
Right, so probably, somehow, the prototypes for GeometryProps do
not get
created properly. Hm. It's a bit outside my domain though, and it
seems
to be something internal to OpenSG.
Are you able trace into the create() call and see what happens there?
(I'd suspect the prototype that is cloned is null.)
Cheers,
/Marcus
Michael Schwier wrote:
Thanks for the suggestions,
indeed type == NullFC, thats why it crashes! I should have thought
about that. So the question now is: why does the create fail? And I
checked GeoPositions3fPtr, it also crashes. I would guess that even
more Parameters for Geometries will fail to be created. On the other
hand I am having no trouble creating TransformNodes for example. I am
also using the VolumeRenderer which works fine. Actually I am porting
this sofware from windows (where it's runnig fine) to mac, therfore I
thought the code hould be basicly alright. I am also calling osgInit
right in the beginning of the main(), so for sure it is initialized
before I am trying to create the Geometry.
Thanks for your help so far :-)
Michael
Am 14.05.2007 um 15:19 schrieb Marcus Lindblom:
Test if type != NullFC? Does type->empty() or size() work?
Does it also crash with GeoPositions3fPtr ?
Cheers,
/Marcus
Michael Schwier wrote:
Hi Andreas,
unfortunateley your suggestion didn't make a difference, still
crashes
at the same line :-/
Michael
Hi Michael,
quite strange what happens if you replace
GeoPTypesPtr type = GeoPTypesUI8::create();
with
GeoPTypesUI8Ptr type = GeoPTypesUI8::create();
Andreas
Hello,
I am again with problems on a mac. I am trying to set up a
geometry
node
with GL_QUAD_STRIP. Compiles fine and crashes during runtime
on the
indicated line:
//now create the geometry node
GeoPTypesPtr type = GeoPTypesUI8::create();
beginEditCP(type, GeoPTypesUI8::GeoPropDataFieldMask);
type->addValue(GL_QUAD_STRIP); <-------------------- here it
crashes
on runtime
endEditCP(type, GeoPTypesUI8::GeoPropDataFieldMask);
The only info I get is: Program received signal:
"EXC_BAD_ACCESS". I
don't know if the GL constant is the problem or if the
"addValue" is
causing the trouble? And the xCode debugger isn't really helpfull
with
determining whats actually happening (oh how I miss Visual
Studio ;-).
Michael
-----------------------------------------------------------------
-------
-----------------------------------------------------------------
--------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
-----------------------------------------------------------------
-------
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
<mailto:Opensg-users@lists.sourceforge.net>
<mailto:Opensg-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/opensg-users
------------------------------------------------------------------
-------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
<mailto:Opensg-users@lists.sourceforge.net>
<mailto:Opensg-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/opensg-users
-------------------------------
Michael Schwier, Universität Paderborn , Fach Informatik, Warburger
Strasse 100, D-33098 Paderborn, Deutschland
Tel. (0049) (0) 5251 / 60-4272 oder Frau Haupt unter -3312. Für Fax
-3530 benutzen. http://www.upb.de/cs/ag-domik
-------------------------------
University of Paderborn, Department of Computer Science, Warburger
Strasse 100, D-33098 Paderborn, Germany
Telephone +49 / 5251 / 60-4272 or Mrs. Haupt +49 / 5251 /
60-3312. For
Fax use -3530. http://www.upb.de/cs/ag-domik
-------------------------------------------------------------------
-----
-------------------------------------------------------------------
------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
-------------------------------------------------------------------
-----
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
<mailto:Opensg-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/opensg-users
--------------------------------------------------------------------
-----
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
<mailto:Opensg-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/opensg-users
-------------------------------
Michael Schwier, Universität Paderborn , Fach Informatik, Warburger
Strasse 100, D-33098 Paderborn, Deutschland
Tel. (0049) (0) 5251 / 60-4272 oder Frau Haupt unter -3312. Für Fax
-3530 benutzen. http://www.upb.de/cs/ag-domik
-------------------------------
University of Paderborn, Department of Computer Science, Warburger
Strasse 100, D-33098 Paderborn, Germany
Telephone +49 / 5251 / 60-4272 or Mrs. Haupt +49 / 5251 / 60-3312.
For
Fax use -3530. http://www.upb.de/cs/ag-domik
---------------------------------------------------------------------
---
---------------------------------------------------------------------
----
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
---------------------------------------------------------------------
---
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users
----------------------------------------------------------------------
---
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users
-------------------------------
Michael Schwier, Universität Paderborn , Fach Informatik, Warburger
Strasse 100, D-33098 Paderborn, Deutschland
Tel. (0049) (0) 5251 / 60-4272 oder Frau Haupt unter -3312. Für Fax
-3530 benutzen. http://www.upb.de/cs/ag-domik
-------------------------------
University of Paderborn, Department of Computer Science, Warburger
Strasse 100, D-33098 Paderborn, Germany
Telephone +49 / 5251 / 60-4272 or Mrs. Haupt +49 / 5251 / 60-3312.
For Fax use -3530. http://www.upb.de/cs/ag-domik
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users