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

Search: Search took 0.00 seconds.

  1. Re: how to create an image programmatically to use with glDrawPixels()?

    Hi again -- I'm far from an expert on data types in Ruby (it can make you a little lazy in some respects, I guess!), but the pack command there packs an array into a binary string.
    The "C*"...
  2. Re: how to create an image programmatically to use with glDrawPixels()?

    Sorry, that should read:


    image = []
    1024.times{ image += [255, 0, 0, 255] }
    GL.RasterPos( 0, 0 )
    GL.DrawPixels(
    32,
    32,
    GL::RGBA,
  3. Re: how to create an image programmatically to use with glDrawPixels()?

    Hi -- I've been having a play, & I reckon a Ruby version of this could be:

    image = []
    1024.times{ image += [255, 0, 0, 255] }
    GL.RasterPos( 0, 0 )
    GL.DrawPixels(
    CheckImageWidth,
    ...
  4. Re: how to create an image programmatically to use with glDrawPixels()?

    Thanks very much for that -- I shall get on w/ working it in Ruby & let you know how it goes!
    I note that there is member rating on this board -- does this mean I can rate replies as a way of saying...
  5. how to create an image programmatically to use with glDrawPixels()?

    Hi -- this is kind of a repost, to make what I was asking a little clearer!
    I need to create, dynamically, some images that I will use to represent creatures in a 2D game I've written.
    I've read...
  6. resources on creating images for use with glDrawPixels

    Hallo -- I'm trying to write a graphical interface for a little alife program with OpenGL (in Ruby, as it happens, but that's not the issue.)
    I need to create a series of bitmaps (or images, in the...
  7. Re: OpenGL and Builder C++ How to move a model with widgets

    Johnstonsk - you mentioned a component for BCB & OpenGL?
    Could you post a link to this?
    Cheers,
    doug
  8. Replies
    5
    Views
    205

    OpenGL classes & wrapper classes

    Hi.
    Does anyone have any links to any good tutorials on OOP coding with OpenGL?
    Or any handy hints?
    It'd be good to have an idea of the kinds of classes & hierarchies that other programmers have...
  9. Replies
    4
    Views
    220

    Re: C++ Exceptions & OpenGL performance

    Yeah - cheers, man.
    I'll only use them for major problems - good to hear a cautionary voice, nonetheless, cuz I have a lazy reflex like you wouldn't believe.
    Cheers,
    Doug.
  10. Replies
    4
    Views
    220

    Re: C++ Exceptions & OpenGL performance

    Thanks alot, man - I'll get using them, then!
    Cheers,
    Doug.
  11. Replies
    4
    Views
    220

    C++ Exceptions & OpenGL performance

    Hallo.
    Having only just recently got the hang of exceptions, I'm keen to utilise them, but I do know that there is some performance overhead associated w/ their use.
    I don't know how much, though....
  12. Thread: OpenGL & Linux

    by biot023
    Replies
    13
    Views
    633

    Re: OpenGL & Linux

    Wow!
    That's half of any prices I checked out!
    Thanks alot!
    Douglas JL
  13. Thread: OpenGL & Linux

    by biot023
    Replies
    13
    Views
    633

    Re: OpenGL & Linux

    Thanks alot - I guess I might be saving up for a while, but that definately looks the ticket.
    Cheers, man.
    Douglas JL
  14. Thread: OpenGL & Linux

    by biot023
    Replies
    13
    Views
    633

    Re: OpenGL & Linux

    Thanks alot for all of that. I'm afraid my knowledge of hardware is seriously limited, and that's being generous to myself.
    Could anyone recommend any particular nVidia card? I assume there's a...
  15. Thread: OpenGL & Linux

    by biot023
    Replies
    13
    Views
    633

    Re: OpenGL & Linux

    Thanks alot - I'll have to double-check the hardware to be sure.
    Is the nVidia card okay to run generally? I mean, with windows, too. It could be worth looking into, as the kinds of stuff I want to...
  16. Thread: OpenGL & Linux

    by biot023
    Replies
    13
    Views
    633

    OpenGL & Linux

    Hallo.
    I will be using BCB6 with OpenGL whilst I'm learning the basics (which could be quite a while).
    However, when I'm feeling rather more proficient, I'll not want to be as limited by my machine...
  17. Replies
    2
    Views
    252

    Re: OpenGL, Open Inventor, & BCB6

    Thanks alot, Yohan - I just had a quick look, and it looks fantastic!
    doug
  18. Replies
    2
    Views
    252

    OpenGL, Open Inventor, & BCB6

    Hello.
    I've just started using OpenGL (with BCB6), and wondered if there are any good links to articles that might help that anybody might share? I'm using a good book (the David Astle one on OpenGL...
Results 1 to 18 of 18