Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - noob opengl question

noob opengl question

Tutorials concerning the OpenGL® ES cross-platform API for full-function 2D and 3D graphics on the Google-Android platform.

noob opengl question

Postby joethecoder » Sat Sep 11, 2010 3:38 pm

this should be simple to answer, suppose i have a point drawn in 3d space at 0,0,0
now suppose I want to rotate the point calling open gl's built in routines for rotation which is homogeneous. Then the only parameter I pass in is a flag for the axis and an angle of rotation. After the rotation the point is now moved from 0,0,0 to a new location. So here is my dumb question.

If I need to perform collision detection and check for closeness to the camera for the point, then it seems I need to track the point location, so how do I get the new point location after a rotation.


PS: My exact issue is that I have a cube that is made of 4 faces and I want to highlight the face closest to the camera.

-Joe
joethecoder
Once Poster
Once Poster
 
Posts: 1
Joined: Sat Sep 11, 2010 3:23 pm

Top

Return to Android 2D/3D Graphics - OpenGL Tutorials

Who is online

Users browsing this forum: No registered users and 2 guests