Yes, I draw a 3D text on top of other objects.
And I would like to draw it on an independent layer, like as made by a mixer
video. For example, I draw some 3D objects while the camera rotates around
them, then I want a 3D text coming from the back to the center of the
screen, so I shot it from a different and fixed and centered camera
set camera persp 1
draw objects 1, 2 and 3
set camera persp 2
draw object 4 (the 3D text)
draw other objects
Best Regards
--
Lorenzo
email: email@hidden
> From: Daniel Koch <email@hidden>
> Date: Sun, 25 Nov 2007 14:29:45 -0500
> To: Lorenzo <email@hidden>
> Cc: Mac-OpenGL List <email@hidden>
> Subject: Re: glClear(GL_DEPTH_BUFFER_BIT)
>
> Hi Lorenzo,
>
> I wasn't suggesting disabling the depth test for everything, just for
> the 2d object, and then re-enabling it right away for the rest of the 3D
> objects. Although perhaps I'm not really understanding what you are
> trying to do here. Are the other 3D objects supposed to be drawn on top
> of everything else as well?
>
> Daniel
>
> Lorenzo wrote:
>> Hi Daniel,
>> true, if I disable the depth test I don't get the bad intersection.
>> This works with the scrolling text which is a 2D object (Quad). But in case
>> I draw a 3D object, I get a bad result. The surfaces get all drawn without
>> depth. Any solution?
>>
>>
>> Best Regards
>
> --
> Daniel Koch -+- Graphics Technology Lead -+- TransGaming Technologies
> email@hidden +1 613.244.1111 x352 www.transgaming.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden
This email sent to email@hidden