Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Search:

Type: Posts; User: giuseppe500

Page 1 of 5 1 2 3 4

Search: Search took 0.02 seconds.

  1. is possible to extrude a 2d shape on the gpu on...

    is possible to extrude a 2d shape on the gpu on the fly?
    because i have a milion of extruded 2d shape and the family of shapes ( the shapes that are not identical) are only 10/20.
    I'm thinking to...
  2. instancing in opengl 4 and scale matix

    Hello , i have a model with 10000 meshes or more.
    All the mesh are extruded from a 2d shape , a direction and a depth.
    I search to speed up the rendering.
    I think to use instancing .
    I have at...
  3. opengl 4 initialization and show in c# panel

    hello.
    where i can found an opengl graphics initialization for opengl 4 without glut and other tools?
    I would to create a wrapper in c++ cli for connect it to a c# application.
    for now is an...
  4. Replies
    1
    Views
    451

    mobile rendering

    hello.
    I must develop a simple 3d opengl es 2.0 model importer from ifc on a mobile tablet.
    In android.
    I would use a my opengl library , but i don't know what is better for rendering of 100 200...
  5. Thread: extrusion

    by giuseppe500
    Replies
    3
    Views
    2,520

    extrusion

    hello.
    I have some 2d shapes that I would like to extrude for a depth, and the result must be a 3d solid.
    The 2d shape is a bidimensional set of 2d vertexes.
    How i can create the 3d vertexes ,...
  6. Replies
    0
    Views
    824

    slope of a line

    hello.
    I'm new to trigonometry and math and i'm studing it.
    For practice i'm creating a c++ program that gets the points of a line (as input)and calculates the direction or slope of this line(as...
  7. Replies
    3
    Views
    1,286

    i see your article and i try to use a...

    i see your article and i try to use a orthographics projection.
    i use glm for that
    the vbo points are related to the viewport, is correct?

    If so

    1)i can create a window of 400 x 400

    ...
  8. Replies
    3
    Views
    1,286

    width of windows and vbo data vertexes

    hello,
    I use this chunk of code for setup a windows for opengl 3.3:


    HWND CreateAppWindow(const WNDCLASSEX &wcl, const char *pszTitle)
    {
    // Create a window that is centered on the...
  9. Replies
    1
    Views
    2,510

    sort on x and y of 2d points

    hello.
    I would use a sort algorithm that works with multiple indices.
    For example i would sort based on cx and cy a set of 2d point.
    I think to x and y combined in a color and i wish extract the...
  10. Thread: ranges

    by giuseppe500
    Replies
    1
    Views
    1,206

    ranges

    hello.
    How i can adapt a range from x to y to a range from 0 to 1 in glsl?
    for example : if i have a x = -20 and a y = 200 how to fit in a 0 to 1 range?
    there is an already done function?
    thanks.
  11. Replies
    5
    Views
    2,254

    thanks. I must creating some a4 file image at...

    thanks.
    I must creating some a4 file image at hight scanner resolution, do the sobel filter in opencl, and visualize the sobel filter result in a windows of qt always in opengl.

    1)Is possible do...
  12. Replies
    5
    Views
    2,254

    texture , plane and a4

    hello.
    I have created a simple 3d engine for my purposes that support texture , vbo ecc....
    Now I would create an opengl project that displays scanned a4 documents .
    I think to use two triangles...
  13. Replies
    5
    Views
    2,867

    very thanks. I understand. by

    very thanks.
    I understand.
    by
  14. Replies
    5
    Views
    2,867

    yes , i'm drawing in only in 2d. I try to add a...

    yes , i'm drawing in only in 2d.
    I try to add a matrix to my shader, for example MVO with the orto matrix and send it to the shader.


    #version 330
    in vec3 VertexPosition;
    uniform mat4 MVO;...
  15. Replies
    5
    Views
    2,867

    coordinates and point on click

    hello.
    I have create a system that draws little circles or points in opengl 3 where I click the mouse in a qt opengl widget.
    The problem are the coordinates: the circle is not drawed in the...
  16. Replies
    1
    Views
    1,188

    2d opengl application and picking

    hello.
    I must do a 2d editor with opengl.
    I must have a panel with a texture that occupy all the screen and over this panel i must draw line and a disk(a filled 2d circle).
    I wish draw the panel...
  17. Thread: picking

    by giuseppe500
    Replies
    6
    Views
    2,611

    but gluUnProject(point->x, point->y,...

    but

    gluUnProject(point->x, point->y, point->z, modelMatrix, projMatrix, viewport, &objx, &objy, &objz);
    is not the same as MVP->transpose() * point?
    in this case i can use the transpose,...
  18. Thread: glortho

    by giuseppe500
    Replies
    2
    Views
    2,133

    very thanks. Now that i know that exist a qt...

    very thanks.
    Now that i know that exist a qt camera i use it.
    But i would explain that i must do : i wish do a like acrobat reader application.
    I have an a4(sheet) that is a 2d texture(just a...
  19. Thread: picking

    by giuseppe500
    Replies
    6
    Views
    2,611

    very thanks Praetorian. Is properly as you...

    very thanks Praetorian.
    Is properly as you described.
    But my goal is to create a 2d camera for zooming and translating.
    For this in another post i asked if glortho returns a matrix.
    How i can get...
  20. Thread: picking

    by giuseppe500
    Replies
    6
    Views
    2,611

    no , i would implement my own picking , for many...

    no , i would implement my own picking , for many reason.
    thanks
  21. Thread: picking

    by giuseppe500
    Replies
    6
    Views
    2,611

    picking

    hello.
    I have a qt gui interface with an opengl widget.
    I can draw disks(2d circular mesh) and lines, my problem is the picking.
    1)how i can create a ray with a direction from the mouse for the...
  22. Thread: glortho

    by giuseppe500
    Replies
    2
    Views
    2,133

    glortho

    hello.
    I have implemented a little engine for drawing in opengl(2d) inside a qt interface .
    Now i must implement something like at the acrobat reader's interface :
    A document area with zoom and...
  23. Replies
    1
    Views
    1,023

    transform feedback

    hello.
    Is possible to retrieve the vertexes of the geometry shader or of the vertex shader on the cpu?
    For example(but it's only an example for try and understand), if i have a skinned mesh , is...
  24. Replies
    1
    Views
    1,451

    reuse of vbo

    hello.
    I don't understand the use in opengl of the
    glVertexAttribPointer(glGetAttribLocation(shaderProgram1, "VertexPosition"), 3, GL_FLOAT, GL_FALSE, sizeof(Vertexes), ...
  25. Replies
    0
    Views
    1,041

    Boundary representation

    hello.
    I have created an ifc importer for my company software.
    I have imported all the entities(beam,wall,slab ec.c..)with the extrusion solid representation.
    Now i must import brep geometry, but...
Results 1 to 25 of 115
Page 1 of 5 1 2 3 4