aqnuep, I have openGL Redbook seven edition (The official guide to learn openGL 3.0 and 3.1) by Dave Shreiner. Does it teach 90% the outdated stuff also?
Thanks
Type: Posts; User: deduu10
aqnuep, I have openGL Redbook seven edition (The official guide to learn openGL 3.0 and 3.1) by Dave Shreiner. Does it teach 90% the outdated stuff also?
Thanks
Well, understood.. but, if I render the sphere after the cube, the depth value of my sphere is less than the cube so that the real scene pixel (from disabling glColorMask) will be occluded by the...
Yes, I did. I said the color of my background e.g black, and did not talk about the real scene to simplify the scenario. it is exactly of what you said. I have a real world image, consists of real...
Hii Aqnuep,
if you don't mind, I wanna ask another question. Consider I have two objects, let's say a cube and a sphere. I wanna occluded the sphere with my cube. But before doing that, I wanna...
I have no idea how to do that. For building AR I use ARToolkit library. the real scene is automatically appeared, when the init routine (in ARToolkit) is called . Inside the init routine there are...
thanks for your explanation, I had tried this one also.. the problem is my real scene was cleared to black as I put GL_COLOR_BUFFER_BIT to glClear(). These code is supposed to work if I know how to...
kopelrativ, I use marker to get the position of the real occluder.
aqnuep, thanks for writing the code. I have ever tried that code before, my virtual occluder succeed occlude my virtual object,...
thanks for replying.
zbuffer, can you write the pseudocode for obvious explanation?
thanks
what do you mean by "Legacy"? and why?
peace ^^
thanks.. =D =D =D
may be this one will be helpful
http://www.videotutorialsrock.com/
hi guys, does anyone interest in Augmented Reality? I'm trying to occlude my virtual object created by openGL with the real one. what I'm trying to achieve is like this one...
Yes, I'm using ARToolkit to get the camera position. I have modified these code and the real scene became black background as I changed glClear(GL_COLOR_BUFFER_BIT || GL_DEPTH_BUFFER_BIT); to...
Hi Menzel,
I have modified my code to what you said
the result is the "phantom" object does not occlude my virtual object. How do you think? =D
thanks
Hi,
I don't quite understand waht you mean by 'set the depth of the virtual object'. But occluding virtual objects by real ones in AR is pretty straight forward:
* create a virtual model of the...
sorry, I forgot to say that what Im doing is corresponding to Augmented reality..
Hai guys, I'm trying to occlude the virtual object with the real one by means of depth buffer. btw, does anybody know how to set the depth value to the virtual object we create? and how to know the...
thanks zbuffer.indeed I'm not planning to create a complex modeling with openGL. but the project I did, lead me just to cut partially or fully an object I created before. =D
thanks casten.. I looked at glClipPlane before. But what I really want to know whether we can cut an object with another object? such as what is done in CAD system.
thank you..
hai guys,
I wanna ask whether openGL has a routine function to cut an object? if doesn't, do you have any idea to cut an object?
thank you
.
well, I put an ellipse to the picture so that it can be distinguished.
first picture
http://i48.tinypic.com/m8nyw6.jpg
I did not change source code from ARToolkit where argument from...