Hi,
Now I have faced a problem is that when i import a model into my own
application, the model is not show at the center of the viewport, only after
interacted with the model using translate function i can see the model in the
view. I'm wondering that how to update the camera to make sure the
Hi,
In my codes, i rewrite keyPressEvent function like below:
void AdapterWidget::keyPressEvent( QKeyEvent* event )
{
_gw-getEventQueue()-keyPress( (osgGA::GUIEventAdapter::KeySymbol)
*(event-text().toAscii().data() ) );
}
In my osg codes, i write like this:
bool
Hi,
I embeded osg in Qt in my program.Now I implement a class
ManipulatorEventHndler to interact with the object in the view. But in my codes
below
bool ManipulatorEventHandler::handle(const osgGA::GUIEventAdapter ea,
osgGA::GUIActionAdapter aa,
osg::Object*, osg::NodeVisitor*)
Hi,
Now in my codes, i use TabBoxDragger to interact with the model in the scene.
But when i scale the model, the x, y ,z three directions scale factor is
diffient. I want to scale like glScale(factor, factor, factor) in openGL
which means i want scale model with a same factor in the scene.
Dear Sir,
I still don't know how to settle the scale problem. Would you please help
me with that. Thank you very much.
Jonathan Richard wrote:
Hi Gianni
Thank you for your reply. It's ok I finally got it working.
Jonathan
On Wed, Aug 11, 2010 at 9:34 AM, Gianni Ambrosio wrote:
Dear Jsaon,
thank you very very much. I had used another method to implement my needs. But
i also read the example you recommanded. Thank you very much for you kindness
answer.
Thank you!
Cheers,
ramy
--
Read this topic online here:
Hi,
Now i have a problem in my codes that i want to get a large number of thumnail
picture of the models. But i don't know when the model renderer progress is
over and the model is show in the OSG viewport, because until the model
renderer progress is over and model is show in the osg
7 matches
Mail list logo