Hi
Once again, i have a problem with my drawPrimitives-Method.
Like i wrote before, i created an new NodeCore-Type named
"PointGeometry" using fcdEdit, derived from MaterialDrawable.
I created my own Version like this:
in OSGPointGeometry.h:
virtual Action::ResultE drawPrimitives (DrawActionBase* action);
and in OSGPointGeometry.cpp a simple version:
Action::ResultE PointGeometry::drawPrimitives (DrawActionBase* action) {
SLOG<<"draw!\n";
return Action::Continue;
}
For testing, i used the 01hello-Tutorial and replaced the torus with my
point-model.
All i see on the console is a lot of:
WARNING: MatrixPerspective: near 0 ~= far 0!
(ok, there is nothing drawn), but no "draw!".
Any Idea?
Lars
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users