Jump to content

Toge

Members
  • Posts

    59
  • Joined

  • Last visited

Everything posted by Toge

  1. It should be. I'm a complete newbie with blender, although I have (very) little experience with 3dsmax and some other 3d programs. But the steps to make a gauge are very basic. All you need is a few polygons, starting from simple cubes and circles and then editing them to a proper shape. Extruding cubes and then some freeform vertex editing will get you objects in pretty much any shape you want. Then just draw some textures with any software you like (I used gimp) and apply them to the objects with blender. This is very simple too and there are easy tutorials for this also. And when you're done, save the work as an .x file (direct3d mesh file). These are a bit trickier. You can't do the interfacing and actually running the gauges with blender. I wrote a c++ program that uses direct3d to display the gauges (it loads the .x files) and rotate the needles etc. It uses some basic upd networking routines to get all the game data from lua export. I made it so that it reads the basic settings, like screen size and gauge positions, from a separate config text file, so everything can be resized and repositioned etc. I will upload the program (and probably the source code too) when it's somewhat ready. I think tomorrow I will have some time to work on it again. And thanks for the support & encouragement to all of you. This would never be ready if someone wasn't waiting for me to finish this... =)
  2. I wish. I haven't had time to work on this almost at all. I've only spent some frustrating moments with the MCUs and other electronics, still got a few things to figure out..... Maybe I'll get some gauges done this week, maybe.
  3. I would also like to see an answer to this one. There is of course PVI_init.lua and PVI_page.lua which contain some code for showing the displays on the cockpit, but I can't figure out if these can somehow be used to actually export the data. ...and maybe there are some hardcoded "experimental" and undocumented functions for pvi as well but one can't just guess these.
  4. Argh, I've been too busy at work, but finally today I had some time to work on this.. Did some sawing and drilling: (nothing much to see here, but at least it's standing on its own) I got tired of fixing the buggy c++ code, so I rewrote pretty much the whole thing. Now all the gauges are 3d models made with Blender and then read to the program with simple direct3d routines. Here's a screenshot: Of course, they don't look any different, but the program is much simpler and the gauges are now easier to make, modify etc.. Pay no attention to the graphics, I didn't want to waste any time in drawing at this point. As you can see, I got the HSI working =) (at least in part) Here's what it looks like in Blender:
  5. Thank you all, helps to know that someone likes what I'm doing =) I actually use the toolstick to program the MCUs on the circuit boards I have made for this project. But basically if you have some kind of demoboard with the toolstick adapter (as you apparently do, if you use it with xbox?), you can program the demoboard the same way I program my own boards. Make it into a simple io board for example. I don't know if it's possible to use it directly with lua code (might be), but I use it with a separate program (written in c++), which gets its data from lua export over udp. I'll upload the program / code once I get it to do something useful. I'll explain it better later...
  6. Update. Did some quick drawing & code writing and here's the result: I haven't finished all the graphics not to mention the code (HSI needs a bit work), but at least I got a few of them working. The program runs on a second computer at the moment and reads the game's udp output and then renders the gauges with direct3d. It has a separate config file to position and rotate all the gauges, change resolution etc so someone else can use it for their purposes as well. I will upload it somewhere once it's finished. Probably the source code too, although it's a textbook example of how not to write code, but maybe it will be of some use to someone. Works for me at least.
  7. Indeed, that is a Silicon Labs toolstick, I use it only to program / debug the Silabs MCUs I use on those io boards. No plans to connect anything to xbox, didn't even know what you were talking about until I googled "toolstick xbox" =)
  8. Hello everyone! I wanted to share this great experience with you guys, I just started to build my own cockpit. Here's what I'm planning to do: -Basic structure made from wood etc -Three displays (one game view, one for shkval and abris and one for all the gauges and instruments) I'm going to write a software that listens to lua export and then draws the instruments to a monitor. I don't have the skills, time, parts, money etc to make mechanic gauges etc. Had to compromise somewhere.. -All switches, buttons, lcd displays etc And, of course, to keep things non-trivial: -DIY FFB joystick & pedals + collective stick (I have to admit, I don't have the skills or tools needed for this part, but apparently my friend has, so let's see what we can make out of this..) Here's what I have accomplished so far: -Talked about this to my girlfriend First she was like "wtf o.O", but because she breeds mice and snakes, I asked her that "If you can have 50+ mice and 30 snakes, I can have 250 switches and pushbuttons, ok?". We didn't discuss it any further. -Lots of researching, planning, calculating, drawing etc. I have used a lot of Triggerhappy69's work here, very many thanks to him! I really look forward to seeing his pit finished.. -Wooden front panel almost ready Again, thanks to triggerhappy Picture of it being drawn http://users.tkk.fi/~tphirvon/Front.jpg -Electronics for my own IO-boards, desings almost finished + one testboard assembled and operational Picture: http://users.tkk.fi/~tphirvon/Testboard.jpg Not too nice to look at, but I was just in a rush to get something working, not to spend too much time worrying about what it looks like.. Notice the usb connector, I managed to make the pin order mirrored, so of course I couldn't solder it to the board but had to use wires to connect it =D -Software that listens to lua export script over a network socket and then talks to my testboard over usb connection. So... something like that. I believe this might interest someone here and inspired by the hard work of all others here, I'll be more than happy to share any designs, drawings, source code etc that might help anyone here. To be continued.
×
×
  • Create New...