Hello.
I try to create a multi pass algorithm and i am stuck.
I use my own view and projection matrix for an absoluted positioned camera.
But i cant figure out how to handle the World matrix.
Glsl gives me gl_ModelViewMatrix but i need only the model matrix for
the current vertex being processed.
Hi Ethan,
I think this should do the trick:
camera->setProjectionResizePolicy(osg::Camera::FIXED);
Laurens.
On 1/21/2013 4:14 PM, Ethan Fahy wrote:
Hello,
Is there any way to set up an osgViewer::Viewer with a locked aspect ratio that
still allows the user to adjust the window size by draggi
Hi Adrian,
I used 10.8/7 and have same issue like you. I added something like that:
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.7)
set(CMAKE_OSX_SYSROOT
"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk"
CACHE STRING "" FORCE)
Cheers,
Remo
---
Hi
most straightforward way is to use gl_ModelViewMatrix * osg_ViewMatrixInverse
Cheers.
22.01.2013, 13:16, "Peterakos" :
> Hello.
>
> I try to create a multi pass algorithm and i am stuck.
> I use my own view and projection matrix for an absoluted positioned camera.
> But i cant figure out how
Hi osg-community,
I am working on a stereoscopic renderer which can receive mouse and
on-screen-touch-events to handle translations of the scene. Now I want to
extend this to handle gestures of the Xbox-Kinect camera. I already got it
working for the x and y on-screen translation. Unfortunatly
Hi Laurens,
I tried setting the resize policy as you suggested for the osgViewer::Viewer
default camera as well as the rtt camera and hud camera that are in my project,
but I was still able to freely resize my viewer window without it locking. I
didn't get any errors, it just didn't lock the w
Hi guys,
Our software uses OSG for displaying a modelview for our muscular-skeletal
simulation software. In our latest beta-version we have switched to OSG 3.0.1,
but we just yesterday found a bug related to osgGA::GUIEventHandler, which we
use for handling mouse events in our modelview. If we
Hi Jesper,
I'm just wrapping up some work and plan to make a developer release
this week. I don't have an schedule for the next stable release, but
would like to get one out in the next few months.
Robert.
On 22 January 2013 14:32, Jesper D. Thomsen wrote:
> Hi guys,
>
>
>
> Our software uses
My last question was pretty naive after doing a bit of google searching. The
osg window is OS-dependent and appears to be completely separate from the
projection matrix. I think I'll worry about getting the projection matrix set
correctly first then worry about making sure that the view window
Hi Ethan,
I did not understand your question correctly. Setting the camera to
camera->setProjectionResizePolicy(osg::Camera::FIXED) will fix the
projection, not the window. As the version you want is not implemented
in osg, you will need to catch resize attempts and force the window to
resize
Hi François,
I don't have an Mac or OSX expertise to help with this particular
issue, I'll have to defer to others with relevant systems and
expertise. One thing I'd add is that it would checking to see how the
osgkeyboard runs on your system, and also could you tell us whether
you've built usin
I also misunderstood the question. Apparently, you want to allow the window to
be resized, but only in such a way that the window's aspect ratio is always the
same. This really has little to do with OSG (except that you might use an osgGA
event handler to capture the resize events and do the app
Hello,
I have an rtt camera that renders float32 values to an FBO. I use osgCompute
to process this FBO and output to the screen without copying anything back to
CPU memory. I would like to add a HUD that shows the float32 value at the
center of the FBO texture (if there are an odd number of
Hi,
Configured CMake to target Xcode, cmake automatically selected
OSG_WINDOWING_SYSTEM to be Cocoa and CMAKE_OSX_ARCHITECTURES is set to x86_64.
This pretty much excludes legacy Carbon (although cmake does find
CARBON_LIBRARY). OSG libs then built using the XCode GUI.
Reading the various fo
I don't think this has been asked in a while. Is it time to switch
Drawables to use VBOs instead of Display Lists by default? I *always*
switch it manually, except for a couple exceptional situations. I
think VBOs are at least as fast as Display Lists and sometimes much
faster on modern hardware. W
15 matches
Mail list logo