Re: [osg-users] [ANN]A method which cost only three minutes to finish a osg project, after learned osg nine months!

2014-10-01 Thread michael kapelko
You are really annoying with your spam, dude. 2014-10-01 16:02 GMT+07:00 Shenyanchun Shenyanchun : > 1.First of all,please let me introduce myself briefly: > My name is SHEN Yan chun,from china,is a university professor,and find > OSG is very useful,so learning osg programming and teaching osg

Re: [osg-users] [build] Building OSG with OpenGL ES 2

2014-10-01 Thread joey pedroza
Hi, Yes it was just some code snippets. out of all you saw nothing jumped out or at least am I on the right track? To answer your question on that one function it makes an open GL call and you can see the function below. Out of all the things and different combinations I tried I did comment ou

Re: [osg-users] [build] Building OSG with OpenGL ES 2

2014-10-01 Thread Chris Hanson
Incomplete. What/where is generate_texture_names()? On Wed, Oct 1, 2014 at 3:53 PM, joey pedroza wrote: > Hi, > > hopefully the file attached can help show what I'm trying to do. > > Thank you! > > Cheers, > joey > > -- > Read this topic online here: > http://forum.openscenegraph

Re: [osg-users] [build] Building OSG with OpenGL ES 2

2014-10-01 Thread joey pedroza
Hi, hopefully the file attached can help show what I'm trying to do. Thank you! Cheers, joey -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=61232#61232 Attachments: http://forum.openscenegraph.org//files/codesnippets_145.cpp __

Re: [osg-users] [build] Building OSG with OpenGL ES 2

2014-10-01 Thread Chris Hanson
Without knowing what your code is doing, It's hard to say. Telepathic debugging suggests you are attempting to bind a texture that does not have any mipmaps generated, but you are using GL_TEXTURE_MIN_FILTER=GL_NEAREST_MIPMAP_LINEAR which then requires mipmaps. https://web.archive.org/web/2011071

Re: [osg-users] [build] Building OSG with OpenGL ES 2

2014-10-01 Thread joey pedroza
Hi, I had my OSG view setup function being called in the wrong place. So that was my silly mistake. But now I get this error. (Error) in function: glBindTexture GL: 501 (GL_INVALID_VALUE) VF: 501 (invalid value) I also see this not sure what it means or even if it's bad. "getCoordinateFrame(

Re: [osg-users] Invalid GL buffer object

2014-10-01 Thread joey pedroza
Hi, I feel like I'm so close and yet so far :) So silly me I was calling my OSG setup before the graphic context was fully created. I did that and now I no longer get that last error but I am getting this one. (Error) in function: glBindTexture GL: 501 (GL_INVALID_VALUE) VF: 501 (invalid val

Re: [osg-users] [build] Building OSG with OpenGL ES 2

2014-10-01 Thread Chris Hanson
Are you intentionally multithreading? Did you create and bind a context before performing the operation (seems like maybe a load?) that is throwing that error? On Tue, Sep 30, 2014 at 6:22 PM, joey pedroza wrote: > Hi, > > well I just had it run as a console and was able to see the output. Bu

[osg-users] [ANN]A method which cost only three minutes to finish a osg project, after learned osg nine months!

2014-10-01 Thread Shenyanchun Shenyanchun
1.First of all,please let me introduce myself briefly: My name is SHEN Yan chun,from china,is a university professor,and find OSG is very useful,so learning osg programming and teaching osg technology to my students,they love osg and produced many many osg works,if you have any question please ca

Re: [osg-users] [OffScreen Rendering] limit camera frame rate

2014-10-01 Thread Christian Buchner
I control the update rate of slave cameras by inserting them into the scene graph as needed. In my PostDrawCallback for the camera I can remove the camera again when I do not require further updates. This way, I can do on-demand updates of my simulation (we're doing 4G and 5G radio coverage comput

Re: [osg-users] [OffScreen Rendering] limit camera frame rate

2014-10-01 Thread Robert Osfield
Hi Julien, >From what you've written is next to impossible to know what you actually mean. What is a "full GPU policy"? I don't know. Perhaps others do. And when you talk about frame rate control, again I don't know what you mean in this context. The general meaning of frame rate control is h

Re: [osg-users] [OffScreen Rendering] limit camera frame rate

2014-10-01 Thread Julien Valentin
Thanks Robert for you quick reply, and excuse my lack of precision for a problem that is to long to explain in details. I've just tried to be generic in my question thinking: "There surely are people that encountered this problem with realtime environment mapping" So my personal not generic pro