Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 15 Jun 2008
Offline Last Active Today, 02:25 AM

Topics I've Started

orbit camera

25 August 2014 - 10:27 AM

could you recommend an already made orbit camera   c ++ for opengl es that use glm?

the role of the controller in the mvc

20 March 2014 - 11:35 AM

Hello, i'm not understand the role of the controller in the mvc , for example:
if i have only a model with all my functions that query the db ,do other logic and return to the view the data to show(that calls the model directly) and the model is a singleton why i need a controller?
I read that decouples the model from the view , but this what means?
Can you show me an example of the benefits of the controller?

extrusion and dir

04 October 2013 - 04:59 PM

I have a 2d shape and i create a 3d extrusion on direction 0 0 1( i must do the extrusion on z axis for personal stuff, i can't use directly the extrusion direction).
Now i wish rotate the 3d extrusion solid by the extrusion direction.
How i can create a rotation matrix based on the extrusion direction?
I must first find the extrusion angle? but in which plane i must calculate the angle and in which plane is the  extrusion axis?
this is an image





glm and debug with visual studio

03 October 2013 - 01:23 AM

I'm using opengl and glm math library.
I'm using visual studio and a little problem is how to view the vectors and matrixes .
When i expand a vector or a matrix appear something like :
but i can't view all the vectors components, only the first.
There is a good system for debug matrixes and vectors with glm and visual studio? I use vs 2012.

galaxy tab2 and little 3d cad

24 September 2013 - 04:23 AM

I'm creating a simple 3d cad with openglEs 2.0 and galaxy tab 2.
Now i must create the illumination system with glsl shaders
What light system I can use for a good appearance and relative fast computation I can use?
Because i wish create this small cad for an android system tablet in c++ and opengl es.
I would reach 1000 / 2000 little meshes with 30/40 vertexes for each mesh.
per-pixel lighting,per-vertex lighting, phong,lambert , what's kind of lights is better use(point light , direction light)?
The camera that i use is an orbit camera.
and for the antialiasing i can use something? or is an heavy computation.

The tablet is a Samsung Galaxy Tab2 P5100 Display 10.1