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: Pat

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    1,174

    Re: Passing 3D POint in VB6

    How is the glMap2f function declared in the type library?

    Does glMap2f GL_MAP2_VERTEX_3, XMin3D, XMax3D, 4, 2, YMin3D, YMax3D, 2 * 4, 2, VarPtr(Grid3D1(0)) avoid the error?

    How about glMap2f...
  2. Thread: openGL in VB

    by Pat
    Replies
    1
    Views
    155

    Re: openGL in VB

    Try http://nehe.gamedev.net/.
  3. Thread: OpenGL in VB6

    by Pat
    Replies
    3
    Views
    524

    Re: OpenGL in VB6

    Many of the NeHe tutorials have been ported to VB. Maybe you should look again.

    Pat
  4. computing vertex normals while maintaining sharp edges

    I'm working on a viewer of stereolithography (stl) files. These files are simply a list of triangle with face normals. I'd like to find an example algorithm that can compute the vertex normals...
  5. Replies
    8
    Views
    245

    Re: NVidia Stereoscopic drivers

    Has anybody tried the anaglyph mode? How well does it work?

    Thanks.
  6. Replies
    8
    Views
    245

    Re: NVidia Stereoscopic drivers

    I was under the impression that the NVidia Stereo driver created the "stereo" buffers at a driver level. This would allow all OpenGL/DirectX apps to to render with a stereoscopic effect without code...
  7. Replies
    8
    Views
    245

    Re: NVidia Stereoscopic drivers

    Isn't there anybody out there with some experience on this topic that can make a comment ?
  8. Replies
    1
    Views
    135

    Re: textured heightfield problem

    I believe that you should only be passing two vertices in every loop instead of four vertices since you are using triangle strips. Also, it looks like your setting the Z value of the terrain array...
  9. Replies
    8
    Views
    245

    NVidia Stereoscopic drivers

    I recently purchased a NVidia GeForce4 video card and I was thinking about downloading the NVidia 3D Stereo Driver. I develop CAD software and I was curious to find out how well this would work. ...
  10. Replies
    9
    Views
    931

    Re: glReadPixels and bitmap

    I don't think the last reply is correct.

    I believe RGB is the expected byte order and the scan lines in the bitmap are stored
    from bottom up according to the documentation that I found.
  11. Replies
    9
    Views
    931

    Re: glReadPixels and bitmap

    Thanks. I must be doing something else incorrectly.
  12. Replies
    9
    Views
    931

    glReadPixels and bitmap

    I'm using glReadPixels to get the image data from my OpenGL window. I'm then creating a Windows bitmap file with this data. It works fine other than the image is upside down. I've been reordering...
  13. Replies
    2
    Views
    178

    Re: I want to draw onto multiple forms.

    I've done this by creating an ActiveX control that handles all of the GL rendering. Each form in the MDI app has an instance of this control.

    When you want to render to a different form, just be...
  14. Thread: HEIGHT MAP

    by Pat
    Replies
    5
    Views
    324

    Re: HEIGHT MAP

    Use a 1D texture...
  15. Replies
    6
    Views
    1,650

    Re: Height Map Coloring

    This is the perfect application for a 1D texture. The 1D texture defines the color gradient for your height map. This works very well...
  16. Replies
    1
    Views
    227

    Bumpmapping with topography data

    I've written an application that renders data acquired by a surface topography gage. Currently, I am computing vertex normals for lighting and using a 1D texture for applying a color gradient. ...
  17. Replies
    11
    Views
    820

    Re: Cutting thru a model

    I think glClipPlane is by far the best way to do this. The equation parameter is simply the normal vector of the clipping plane from what I remember.
  18. Replies
    2
    Views
    139

    Re: printing the screen

    There is no direct command.

    I believe the method that I've used is typical. You'll have to create an "in-memory" rendering context that is of a resolution that matches your printer resolution (or...
  19. Replies
    1
    Views
    206

    Re: Help! Open gl library & visual basic

    You can't set a reference to the OpenGL32.dll because it is not an ActiveX dll.

    You can however set a reference to the type library found at http://is6.pacific.net.hk/~edx/tlb.htm which will...
  20. Thread: openGL in VB

    by Pat
    Replies
    3
    Views
    119

    Re: openGL in VB

    Check out http://is6.pacific.net.hk/~edx/ and the NeHe tutorials at http://nehe.gamedev.net/.

    Pat
  21. Replies
    1
    Views
    170

    Re: intersecting planes.

    Check out:
    http://astronomy.swin.edu.au/~pbourke/geometry/planeplane/

    Pat
  22. Replies
    6
    Views
    212

    Re: not using hardware acceleration for opengl?

    Do you have a tool that can enumerate the available pixelformats? This may help in determining why the pixel format that you are choosing is not hardware accelerated.

    Pat
  23. Replies
    1
    Views
    141

    Re: Clipping Plane Issues

    The clipping plane is defined by a vector, therefore there is no need to do a rotation before defining the clipping plane. The clipping plane equation will define the orientation relative to the...
  24. Re: XYZ coordinates on the bottom right corner of the screen

    Try something like this:

    glGetIntegerv glgViewport, vp(0)

    glClear clrDepthBufferBit

    glMatrixMode mmProjection
    glPushMatrix

    'create orthographic box for axes
  25. Replies
    5
    Views
    1,621

    Re: Curved Tubes/Cylinders

    I'm also interested in this. I agree that Paul Bourke's website is great, however, I need to render pipes that connect at various angles "seamlessly". Rendering a simple sphere at the joint won't...
Results 1 to 25 of 59
Page 1 of 3 1 2 3