Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!

1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


Member Since 22 Sep 2007
Offline Last Active May 20 2015 04:17 PM

Topics I've Started

OpenGL in Windows service

19 September 2011 - 12:15 PM

Ok, here's the story:

I have a web application which uses LWJGL (opengl for java) to create images which i then stream to some remote client. This web-app runs on jetty web container. All is well if i run jetty as standalone application (using startup bat). Images get generated, everybody's happy. But then i decided it would be nice if i could run jetty as an automatic-startup windows service. So i installed the jetty-service and then run it, just to find out that now i can not generate images anymore. This is due to the fact that services fall into 'session 0' and they are not allowed to use display devices...

So the question is; how can i generate images using OpenGL if i'm running this app under windows service?

object always visible

20 December 2010 - 07:04 AM


So i have a 3D scene with some 3D objects scattered around. On the scene, there is a "special" object which i'd like to make "always visible". Meaning, even if some other object(s) partialy and fully obstruct(s) it and it normally wouldn't be visible, i'd like to draw it so it would be visible. I could turn off depth testing and draw the object last, but i need depth testing to draw this object properly. What other options do i have?

edges on 3d mesh

28 August 2010 - 10:46 AM


Before i start developing my own technique i'd like to ask you if you know any existing methods for determining "sharp" edges on 3d mesh. For example if i have a simple 3d cube model the result of this method would be a list of 12 edges. In this simple example i could just compare angle between triangle normals. But i'd like to extend this to big meshes (a lot of triangles and a bit noisy data) and i'd like to "estimate" where sharp edges are. Any suggestions?

projection transformation

27 August 2010 - 06:56 AM


I'm drawing some objects on the screen in perspective projection. Now i'd like to transform perspective projection to ortho projection in few steps so it would look like a smooth transition from one projection to the other. How would i acomplish this?

[SOLVED] point on line

07 August 2010 - 06:27 AM


This is the problem i have:

I draw a 3D line in glOrtho. Now i click with the mouse on that line. How do i know which exact point on that line did i click? (object coordinates, not screen or window coordinates)

[Edited by - NDIR on August 7, 2010 3:53:44 PM]