Hi,
I have downloaded a 3DS parser in order to intergrate it with the simple example of ARToolKit (Vision SDK version). The parser is working fine and the model is loaded but I am facing problems with the glClear(GL_DEPTH_BUFFER_BIT) command in draw function.
Ideally I need to use the command glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT) instead of glClear(GL_DEPTH_BUFFER_BIT). When I am using this command only the model is displayed and it makes sence, but I don't know how to overcome this problem. Does anybody have any idea?
Thanks,
Fotis Liarokapis.
__________________________________
Fotis Liarokapis - Research Officer
Centre for VLSI and Computer Graphics,
School of Engineering and Information Technology,
University of Sussex, Stage II, Room 4B4.
Brighton, Falmer, BN1 9QT.
Work Site : http://www.arco-web.org/
Research Site : http://www.sussex.ac.uk/Users/tapi8/index
e-mail: F.Liarokapis@s ...........
tel: +44 (0)1273 606755 ext 2556
fax: +44 (0)1273 690816
|