Tags: opengl

gtkglarea-sharp clarification

22:33 -!- Irssi: Starting query in 130 with Sandriman
22:33 <Sandriman> Okay, I have been asking for it for several times, but since
we're obviously in such different time zones that unless I
become noctural, I cannot seem to make it online
simultaneously with you :)
22:33 <Sandriman> nocturnal that is* >_<
22:33 <Sandriman> Anyway, how is the status of gtkglarea-sharp and above all,
who's maintaining it?
22:34 <Sandriman> Also, does it compare well against gtkglarea and/or Tao, or
has anyone even tested?
22:34 <Sandriman> (This time you can expect me to at least read your reply,
since my irc-client is running persistently on our
hacker-group's server which is on 24/7)
22:34 <Sandriman> Oh yes, cheers! :)
Day changed to 14 Jul 2006
06:30 <cj> hmm?
06:30 <cj> back :)
06:30 <cj> so...
06:30 <cj> gtkglarea-sharp originated as a c# wrapper around gtkglarea
06:31 <cj> Tao is a set of C# libraries to do a bunch of multi-media things
06:31 <cj> the examples in gtkglarea-sharp use Tao's wrapper around OpenGL
06:32 <cj> Tao wraps Sam Lantinga's SDL (Simple Direct-media Layer), which can
be used instead of gtkglarea-sharp
06:34 <cj> so, I guess the answer to your question is this: gtkglarea-sharp is
merely a library for creating a gtk# widget into which OpenGL
visualizations may be drawn
06:34 <cj> This widget may be embedded in any gtk# application
06:37 <cj> the status of gtkglarea-sharp is "awaiting user interest." If you
show interest (as you seem to be doing), I'll focus more on it. If
nobody shows interest, I get bored and go back to other things.
06:38 <cj> I am the maintainer of gtkglarea-sharp as well as gtkglarea. tao is
being maintained by quite a few folks, one of whom is vlad on #mono

3d printer

What do y'all think of the idea of a 3d printer? Aaron uses one at work. They call them "C&C machines." I don't recall what C&C stands for, but it basically takes a 3d model from a computer and cuts it into a piece of metal. I've been thinking about building such a beast.

Since there are a lot of data related to such a task, I figured I could get mysql and maxdb involved. Feedback?

Eventful weekend

I had an eventful weekend. I got a lot of coding done. I've not touched OpenGL since my work on Jenkara over three years ago.

The first result of the google search is the project, the second is who it was named after. I hadn't seen pictures of her in quite a long time, and it was kinda' difficult for me :(

I intend to get a real modeler written one of these days, but the development tools just don't exist on the Linux platform in the state that I would like to see them in. I did spend a bit of time getting a quake mdl loader program written in C#, but the bulk of my time was spent working on the infrastructure.

I wrapped the GtkGlArea C library using GAPI. Miguel updated my public key in the Mono repository, so I was able to commit my work on the library to the Mono repository.

Since I now have write access to the repository, I acted on a couple of patch submissions I came across and closed a bug.

I have made a bunch of changes to the Tao build system. I like autotools, and most of the linux developers I know are quite familiar with the ./configure && make && make install routine. There are also a couple of other features that I need, like installation into the GAC and creation of a pkgconfig entry. So I'm doing that. The majority of the dlls are now being installed, but I haven't started in on the examples yet.

While testing my work on gtkgl-sharp, I ported a couple of pieces of C code to C#. There is now a C# version of SGI's very useful quaternion manipulation / virtual trackball code, as well as a port of some OpenGL Teapot drawing code. The former is quite well documented. The latter not so much.

It's getting late, and I need some sleep for work tomorrow, so I'm going to sign off now :)

Rotating teapot

With the help of Alp Toker, I've gotten a rotating teapot app written in C#. OpenGL + GTK#. Whee. This proof-of-concept program uses a C# port of SGI's virtual trackball code. I'm also using Alp's ngtkext libraries, which are wrappers around the C GtkGLExt API. The OpenGL bits are powered by Tao.

Collapse )

Update: I got a first draft of a GtkGLArea wrapper working!


OpenGL Stuff

Rob mentioned that he’d like some help writing some stuff about X + OpenGL, which inspired me to get back to writing OpenGL stuff for X/GTK+. My last project, which was as much as two years ago now, was Jenkara, named after that quite taxing young lady of the similar name. You can see what kind of progress I made on that package here.

It was pretty neat, but it was written in straight-C GTK+. It was painful and not scalable.

I’m trying to learn how to use libglademm in a way that doesn’t suck. I like the idea behind Glade and libglademm, but visualizing how to create C++ objects that represent the widgets is a little difficult for me. Perhaps I’ll use a hash table. But that sounds kludgy. I should REALLY find an app that’s done it correctly and steal their code. That’s how all the professional code monkeys do it, right? But which app is that? I’ll ask the glade mailing list.

The upstairs neighbor is doing a lot of moving around.

So.. When I figure out how to use this libglademm stuff, what should I do with it? I’d love to make a 3D modeler and a texture mapping tool and help the two of them talk to each other. Perhaps I should do that. And publish the communication protocol. And see what other mischief I can get up to. Sounds like lots of work, but it also sounds like fun work. Maybe I’ll talk to Naofumi about it. Yeah, I’ll do that. Okay, I sent that email.

LogJam kills its gnome panel icon when you close the main window. Shouldn’t it stay open? I’m compiling from source (and forgot I was doing so) to see if this has been “fixed.”

I’ll send, close and re-start to see if it’s changed...