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

2014-10-03 Thread joey pedroza
Hi, not sure on the GLES2 shaders. I will check. Also I have not ran this on our GLES2 device yet. They don't want me to bother unless I can get it to work on Windows 7 with an emulator. As we believe it will run on our target even though with my experience so far I'm going to be in a world o

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

2014-10-03 Thread joey pedroza
Hi, Progress! This is where I'm at, I don't see any errors (log is attached) but my terrain is only blue(image attached). Since I don't see errors I don't know what to do next. Any help would be appreciated. I haven't commented out or altered the OSG code other than removing windows32 and pi

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 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 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-09-30 Thread joey pedroza
Hi, well I just had it run as a console and was able to see the output. But attached you can see what my output is. Seems to be stuck with "Adding parent02869(Error) There is no context bound to the current thread." Thank you! Cheers, joey -- Read this topic onlin

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

2014-09-30 Thread joey pedroza
Hi Team, Yup your right I did not understand. Thanks for clearing that up. I will see what I can dig up and what errors I'm getting. My app does not have a command window so I need to figure out how to get all printouts to show up on my debug window. ... Thank you! Cheers, joey -

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

2014-09-29 Thread joey pedroza
Hi, everything in OSG was compiled successfully. I even compiled the projects one at a time. Since then I have done it twice once for debug and again for release. But to be safe and not waste anyone's time how can I be certain other than seeing the entire OSG project compile with no errors. A

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

2014-09-29 Thread joey pedroza
Hi, Well more progress, I can set the background color but nothing appears on screen. baby steps :) any hint as to what else I may want to look into as to why nothing is seen on screen except for the background color would be greatly appreciated Thank you! Cheers, joey -- Re

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

2014-09-29 Thread joey pedroza
Hi, Update: turns out if I run it in release mode it doesn't crash so my problem must be that in debug mode I have issues, will figure that out later. Currently trying to get it to work by passing it my own graphic context. Thank you! Cheers, joey -- Read this topic online he

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

2014-09-29 Thread joey pedroza
Hi, screen shot of what the cmd window shows. Thank you! Cheers, joey[/img] -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=61205#61205 Attachments: http://forum.openscenegraph.org//files/screenshot_173.jpg ___

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

2014-09-29 Thread joey pedroza
Hi, I say that the plugins are available as I copied all generated exe's and dll's to the working directory. But here is what the debug window shows when I try to read a node. A few thing to note. 1. I had it working with OpenGL 1.0 or whatever the defaults were. 2. I rebuilt everything with

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

2014-09-26 Thread joey pedroza
Hi, Thanks, I was able to find some other examples once I knew what I was looking for, but that portion of code seems to compile but the part that is failing for me is the line of code below. It crashes saying something about invalid pointer. Before that line worked for me just fine. Does Rea

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

2014-09-26 Thread joey pedroza
Hi, Thanks for the quick update, is GraphicsWindowEmbedded a OSG class or is that a project setting. I haven't been able to find much on what that is so I can apply it. Is there an example? Thank you! Cheers, joey -- Read this topic online here: http://forum.openscenegraph.or

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

2014-09-26 Thread joey pedroza
Hi Team, It was decided that it is a priority to get this project to run on windows. So I went down the path of trying to get it to work. That is my life right now. Unfortunately they don't want to use SDL 2. Here is where I'm at currently, I have been able to successfully compile the latest

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

2014-09-12 Thread joey pedroza
Hi, Well for now we decided to just continue on Windows and then worry about getting everything on our Linux target later. Possibly in the future will just develop and debug in native linux and not worry about Windows so we'll see. Thank you! Cheers, joey -- Read this topic o

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

2014-09-10 Thread joey pedroza
Hi, Wow thanks everyone for your feedback. So let me get your guys opinion on this, I am building a synthetic terrain map using osgearth. But we are overlaying the map with our own stuff. I was actually trying to merge his code onto my project following the teapot example. But found out th

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

2014-09-09 Thread joey pedroza
Hi, Is there a document that has step by step instructions to build OSG with the OpenGL ES2 option. I set the options with cmake as I have found in a few posts but I get unreferenced symbols etc for the following this is not a complete list: wglGetCurrentContext wglShareLists wglMakeCurrent

Re: [osg-users] [osgPlugins] JPEG Image Reader/Writer failed to read image from http://...jpeg

2014-08-21 Thread joey pedroza
Hi, It is working now, I think I had additional osgdb_jpeg.dll in my path somewhere that was not right, because I did a search in my entire drive and deleted them all. And copied the newly built dll and it works. So thanks for your help all is good now. Thank you! Cheers, joey -

Re: [osg-users] [osgPlugins] JPEG Image Reader/Writer failed to read image from http://...jpeg

2014-08-21 Thread joey pedroza
Hi, I built OSG 3.2.1. on MVS9(2008). I'm running win7 64bit. I do have the plugin and it is building, I rebuilt it all just to make sure, it did generate the osgdb_jpeg.dll and I copied it directly to were the osgviewer executable is, just in case my paths or something is incorrect. I am actu

[osg-users] [osgPlugins] JPEG Image Reader/Writer failed to read image from http://...jpeg

2014-08-20 Thread joey pedroza
Hi, I am trying to run osgviewer --image file.jpg but I get an error message Warning: Error in reading to "3.jpg". osgviewer: No data loaded. What am I missing? ... Thank you! Cheers, Joey -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=60726#6