Page 1 of 1

My first app to make decent use of OpenGL

Posted: Sat May 03, 2008 2:01 am
by machf
Here's a screenshot:

Image

I'm glad it's finally working, turns out I had to move the subs further down for it to work properly... (yeah, it sounds silly, given that I had used DECLARE statements at the beginning and all, but...)

In case you're wondering, it's my Carnivores 1/2/Ice Age model editor, written in Rapid-Q, so far it didn't have 3D rendering capabilities. Right now it's only displaying the meshes as wireframes, but that's just because I was trying to get it to work first, I'll get it rendering the models fully textured (and the animations too) later on...

Re: My first app to make decent use of OpenGL

Posted: Sat May 03, 2008 2:31 am
by Second Illiteration
neat

Re: My first app to make decent use of OpenGL

Posted: Sat May 03, 2008 12:20 pm
by Rebel
Hey, anytime you can get opengl implemented it's a triumph. I'm still reading documentation on it from time to time, haven't even tried using the lib. as of yet.

Has anyone ever made any progress on carnivore's sourcecode?

Re: My first app to make decent use of OpenGL

Posted: Mon May 05, 2008 12:29 am
by machf
What kind of progress? I've used it to get the (few) details I was missing from the file formats, and I've also browsed through it to understand how the game works, but if you mean recompiling it, well, other than alacn doing that to make his patches some time ago, no. Eventually I'll give it a try.
Part of the problem is that it hasn't been possible to contact Action Forms anymore, very few people got the source code and it isn't too clear if it's possible for us to give it to other people for modding or not...

Re: My first app to make decent use of OpenGL

Posted: Mon May 05, 2008 11:40 am
by Dragonlord
Never heard of that game before :o . OpenGL though is not that difficult. You just have to keep in mind that it's a "state machine" in contrary to DirectX. There are quite good pages around the net so keep looking ( I could post one but I doubt many here understand German :lol: ).

Re: My first app to make decent use of OpenGL

Posted: Mon May 05, 2008 1:35 pm
by machf
As a matter of fact, I do. You'd be surprised to find out how many people on this forum actually speak German...

Re: My first app to make decent use of OpenGL

Posted: Mon May 05, 2008 7:36 pm
by Dragonlord
Well then... this is the link of interest. As mentioned in German but a well made and easy to follow page. Just search for the calls you need and check out the infos. Helped me a lot with some more specific things I had to accomplish for my project.

Re: My first app to make decent use of OpenGL

Posted: Thu May 08, 2008 4:18 pm
by machf
Thanks for the link...

After several headaches trying to get the textures to be displayed properly, here are the results:

Image

Re: My first app to make decent use of OpenGL

Posted: Mon May 12, 2008 8:07 pm
by Slugger
Pretty neat looking machf! 8)

I'm going to have to dig out and reinstall Carnivores 2 again...