Hello Carsten and Dirk, thank you for the help. Lets check your list.
> - is double buffering enabled? Yes, it is enabled. I have disable it and the image interference are different from my problems. > - what happens if you replace your model with another one or just a > sphere geometry? Not tested. This is a little bit difficult. > - does it happen if you only move the mouse or do you hold a button - > does that move the model? It's happend in both cases. > - what happens in the "mouse move" callback (sorry don't the proper Qt > name), does it cause redraws? The paintGL method is called. > - does it flicker if you have the model rotate around e.g. the y-axis > (I'm wondering if the flicker is part of drawing the model and the mouse > movement just causes redraws while when the mouse is away from the > window simply no redraw happens and thus it does not flicker?) I have capture a video. Its flickers also after rotating. http://www.gmx.de/mc/Y8DALUxQBDEwF9Nqu290C1w9e6iBc3 @Dirk > Sideline: the normals in the picture looks pretty weird. They look like to you > tried to do face normals and then run the striper on the model. Face nromals > and > striping are not compatible, if you want face normals you can't use the > striper. What is striping (it's hard to google this word ;-) ). do you mean a triangle strip? ok, some additionally background information. my application is a deformation simulator. i calculate the deformation and update the geometry. GeoPositions3fPtr pos = GeoPositions3fPtr::dcast(geo->getPositions()); GeoPositions3f::StoredFieldType *posfield = pos->getFieldPtr(); ... beginEditCP(pos, GeoPositions3f::GeoPropDataFieldMask); for(in_iter = in.begin(); in_iter != in.end(); ++in_iter) { ... posfield->setValue(Pnt3f(x[0], x[1], x[2]), in_iter->first); } endEditCP(pos, GeoPositions3f::GeoPropDataFieldMask); ... after the updating i recalculate the normals (maximum 15 times per second). if(run_time < clock()) { run_time = clock() + CLOCKS_PER_SEC/15; calcVertexNormals(geo); } this routine runs is a separate osg thread. is it possible that the paintGL method is call while the update of the geometry is not complete (or the calculation of the normals)? yours, johannes.
<<winmail.dat>>
------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
