Skip to content Skip to sidebar Skip to footer

I'm Trying To Draw Objects Using Opengles In Android Native-activity, But I Don't See Anything

I'm developing my game using opengles1.0 in Native Activity. However, source code, which used to work well, doesn't work. Nothing is drawing on the screen, but I want to know the c

Solution 1:

If the distance from the center of the object is 200, but the size of the radius of the object is 1000, you are inside the object.
The distance to the back of the object is 1200 (1000+200). Since the distance to the near plane is 1000,

glFrustumf(-ratio, ratio, -1.0f, 1.0f, 1.5f, 1000.0f);

the object by the far plane of the viewing frustum.


Post a Comment for "I'm Trying To Draw Objects Using Opengles In Android Native-activity, But I Don't See Anything"