Perhaps not the best solution, but you could reproject your terrain
data with gdaltranslate, before using osgdem.
Regards.
-- A.
On Tue, Oct 13, 2009 at 8:26 AM, John Vidar Larring
larr...@weatherone.tv wrote:
Hi all,
I'd like to create a flat VPB terrain with a specified projection and I a
Hi,
Is there any way to use Velocity while moving object by ControlPoint and time?
Thank you!
Cheers,
Danny
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=18363#18363
___
osg-users mailing
Hi,
Thanks Peter for your very helpful reply. I have sorted that issue thank to
your pointers.
Now I have only one more question then I promise I won't bother you anymore. It
seems that when I generate my model using the simple geometries I created and
using VertexShader, the resulting cube,
Hi,
i have a small problem. I want to access gl_TextureMatrix[8] within my Shader.
As you can see i used a loop to setup 10 texture matrices:
Code:
for (int i = 0; i 10; i++) {
stateSet-setTextureAttributeAndModes(i, texMat,
Seems to be another ati related issue. I was able to reproduce this issue with
pure opengl.
:-\
Any suggestions on how i can handover multiple texture matrices to my shader?
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=18366#18366
Hi Johannes,
It don't think this is an an error. There are only 8 texture coords and 8
tex matrices in fixed pipeline. If you want more simply use uniforms. Matrix
array uniforms are available in OpenGL and OSG. Use setElement to sent n-th
array.
Cheers,
Wojtek Lewandowski
I don't see the problem. Quoting from the GLSL 1.20 spec below, it looks
to me like you're lucky you're even getting 2 matrices -- the minimum
value for gl_MaxTextureCoords.
You can't simply use a uniform?
Paul Martz
Skew Matrix Software LLC
_http://www.skew-matrix.com_
I'm working on and OSG/SDL application. Resizing the window in Linux
works fine, but resizing it in Windows causes the app to lose all its
OpenGL objects. Is there a recommended way to re-initialize all
OpenGL objects?
So far I have been experimenting with SceneView's releaseAllGLObjects,
8 matches
Mail list logo