Orbiter-Forum  

Go Back   Orbiter-Forum > Blogs
Register Blogs Orbinauts List Social Groups FAQ Projects Mark Forums Read

Old

Coding a Lunar Lander from the ground up: Parts 7 (Animation Cont.)

Posted 01-21-2013 at 08:25 PM by Hlynkacg

I had written a full update but then my browser crashed and ate it.



I don't feel like spending another hour rewriting the whole thing so this is going to be quick.

First off, I made a mistake in part 6 that may cause in part 7. When our animation is defined in the constructor "mesh_Ascent" is not attatched to anything and wont be until we call the "addmesh" function in clbkSetClassCaps. This will cause what we are about...
Hlynkacg's Avatar
Aspiring rocket scientist
Views 111 Comments 0 Hlynkacg is offline
Old

Coding a Lunar Lander from the ground up: Parts 3 - 6 (Animation)

Posted 01-21-2013 at 08:23 PM by Hlynkacg

So now our ShuttlePB looks like a Lunar Lander...

I know I said that we'd talk about animations next, but as I was writing this I realised that even doing something comparatively simple like making the EVA Hatch open and close requires us to understand a bit about the way that orbiter controls individual vessels.

PART 3: Call Back Functions

Call Back functions are used by the Orbiter core to update a vessel's state within the simulation and notify it...
Hlynkacg's Avatar
Aspiring rocket scientist
Views 193 Comments 0 Hlynkacg is offline
Old

Attempts at DirectX

Posted 01-20-2013 at 01:22 AM by george7378

Well it's been a while since I've tried something new in the world of programming! I am always learning new things, but I rarely decide to try and make the jump from programming in a very basic graphics engine such as GDI+ (which I've been using so far) into programming in a professional display engine like DirectX.

I found a good tutorial recently though (after a lot of looking), and I managed to create my first 3D program which displays a rotating pyramid lit by a point source of...
Attached Images
File Type: png Direct3D DX9 2013-01-20 01-15-40-29.png (13.0 KB, 11 views)
george7378's Avatar
DON'T PANIC
Posted in Uncategorized
Views 574 Comments 5 george7378 is offline
Old

Coding a Lunar Lander from the ground up (when you don't know how to code)

Posted 01-19-2013 at 04:33 AM by Hlynkacg
Updated 01-21-2013 at 08:21 PM by Hlynkacg

Authors Note:
I know little to nothing about c++ outside the bounds of Orbiter's API.

I'm writing this tutorial in the hopes that it will help other hobbiests, tinkerers, and budding addon developers avoid the stupid mistakes and general frustration I've subjected myself to.

Further More if you want the meshes and complete code used in this tutorial dowload my addon.

With that out of the way, Let's Begin...
...
Hlynkacg's Avatar
Aspiring rocket scientist
Views 363 Comments 1 Hlynkacg is offline
Old

I Built It!!!.....About a week ago.

Posted 01-03-2013 at 01:19 AM by rct3master44

So I got the lego shuttle Expidition for Christmas and it took me 2 days to finish it,so here is how it went(Photos will come later!!!)......
Day 1:There it was I was going crazy to build the lego shuttle,every lego in the house was had less pieces then it.I then ran over to get a scissor I then walked back(just to be safe.)when I finally got everything I started building.After a few minutes I stoped to hear my dog Missi run into the room."Go away Missi!" I yelled as I hid my legos...
rct3master44's Avatar
Orbinaut
Posted in Uncategorized
Views 983 Comments 1 rct3master44 is offline

All times are GMT. The time now is 05:07 AM.

Quick Links Need Help?


About Us | Rules & Guidelines | TOS Policy | Privacy Policy

Orbiter-Forum is hosted at Orbithangar.com
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2007 - 2012, Orbiter-Forum.com. All rights reserved.