Oolite Bulletins

For information and discussion about Oolite.
It is currently Fri Jul 28, 2017 12:45 am

All times are UTC




Post new topic  Reply to topic  [ 21 posts ]  Go to page Previous 1 2
Author Message
 Post subject:
PostPosted: Wed Aug 08, 2007 10:26 pm 
Offline
Oolite 2 Art Director
Oolite 2 Art Director
User avatar

Joined: Fri Jul 14, 2006 12:29 pm
Posts: 2262
Location: Wales
Commander McLane & Charlie
Thanks for the info about quaternions!
I've been trying to write out a simple spreadsheet that would combine any two quaternions from that table that you linked to charlie using the formulas from Commander McLane's post and display the result, it seems to be working with the 180degree stuff but i'm not sure what values i should be typing in for the 90degree stuff, the table just puts "sqrt(0.5)", should i type in 0.5 or the squareroot of 0.5 or what?
here's a screenshot of the spreadsheet
Image
you just work out which two quaternions you need from the table, type them into the two red rows in the spreadsheet and you get the required quaternion in the yellow box - well, at least that's the plan.

Edit D'oh should have checked the wiki, i found a page that gave the formulas on how to generate quaternions around a single axis for any angle, i've added that into the spreadsheet so it should now be possible to generate single axis quaternions for any angle and axis and combine them in the multiplier.

I've uploaded it here:-
http://www.box.net/shared/l31tyj4i39 14Kb

It's been put together in Excel in Microsoft Office2003, but hopefully openoffice should be able to open it too, i've saved out an excel95 and an excel 97 version too.


Top
   
 Post subject: Docks
PostPosted: Wed Nov 25, 2009 9:09 am 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Tue Jan 02, 2007 12:38 pm
Posts: 2043
Right, just to clarify what i've learned from building my Nuit station...
if you wanna do a new fancy-looking dock :-

- i used dock-flat.dat as a template for sizes : use your modeller to create a box of the same size/shape, and then delete the front face, ie the entrance. Then turn the goddamn thing inside out, or you won't be able to see it.
this box has to be modelled at the origin, (0,0,0). This is the important bit that was doing my head in. for some reason Oolite seems not to recognise a displaced dock model - you have to create it where it expects it to be, and then tell it in the OXP that it has been moved :-/

- do the usual stuff, skinning, DAT converting etc. your ship/station model should obviously have a gap in its wall/hull the same size as the dock entrance.

- in your OXP shipdata plist, the dock will be included as a subentity of the ship/station. give it a name that includes the word "dock", and use the positioning variables to shift the model from the origin to its correct place; this may take a bit of trial and error.
eg:
" subentities = (
"dock-nuit -11.5 3004 421 1 0 0 0","

- the dict definition itself is straightforward. i gave mine the word "dock" in its role too.

and that's basically it.

_________________
KW
/X\oo/X\


http://wiki.alioth.net/index.php/Isis_Interstellar


Last edited by Killer Wolf on Sat Jun 26, 2010 10:18 am, edited 2 times in total.

Top
   
 Post subject:
PostPosted: Sat May 01, 2010 12:08 am 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Thu Dec 24, 2009 12:30 am
Posts: 771
Location: Sydney
Hah, wish I knew about this thread earlier, I learnt most of the stuff in this thread through trial and error, I had things like docks appearing inside out, facing weird directions, not working at all, upside down, etc.

But now I get the docks working all the time hehe.

_________________
Wiki Page with my OXP's
my Box.Net
Image


Top
   
PostPosted: Sun Feb 17, 2013 12:02 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Tue Dec 25, 2012 7:20 pm
Posts: 291
Hello everybody,

This might not be the best place to put this question, but I didn't find any better one. So here it comes:

:?: What are the preferred properties for mission screen background images?
More precise, I'd like to know:
  • what formats are supported (.png, .jpg, ...) and which is the preferred one?
  • is there an optimal resolution? (from an error message I learned that length and height should be dividable, e.g. 1024*512)
  • any other things to keep in mind?
I'm currently using some self-made images in .png-format and 1024x512 resolution. But they make the oxp rather big... :?

Should I use .jpg and/or lower resolutions instead? :?:

Thanks in advance for all your answers! :)

EDIT: corrected typo

_________________
忍 knowing that enough is enough, you'll always have enough.

Running Oolite 1.77 on Ubuntu Linux 12.04 LTS


Top
   
PostPosted: Mon Feb 18, 2013 9:02 am 
Offline
Intergalactic Spam Assassin
Intergalactic Spam Assassin
User avatar

Joined: Thu Dec 14, 2006 9:08 am
Posts: 9520
Location: a Hacker Outpost in a moderately remote area
Quote:
  • what formats are supported (.png, .jpg, ...) and which is the preferred one?
PNG only.
Quote:
  • is there an optimal resolution? (from an error message I learned that length and height should be dividable, e.g. 1024*512)
As you already found out, all dimensions must be powers of two. So, for a rectangular picture, you could also use 512*256 or 256*128. For a square picture, you should be fine with 512*512 or 256*256.
Quote:
  • any other things to keep in mind?
At least as far as texture PNGs are concerned, they must not be saved in interlaced mode. I don't know whether this is as strict a requirement for background images, but it certainly doesn't hurt to save them non-interlaced.

_________________
The Story — The Career — The OXPs


Top
   
PostPosted: Mon Feb 18, 2013 12:50 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Tue Dec 25, 2012 7:20 pm
Posts: 291
McLane, thank you very much for your answers! They helped me alot!
Quote:
Quote:
  • is there an optimal resolution? (from an error message I learned that length and height should be dividable, e.g. 1024*512)
As you already found out, all dimensions must be powers of two. So, for a rectangular picture, you could also use 512*256 or 256*128. For a square picture, you should be fine with 512*512 or 256*256.
:idea: Didn't know that! :o I misinterpreted it that the numbers must simple be dividable (so I thought it would have been possible to do a 1000x500 pic or so)! Thanks alot! :mrgreen:

This will help me to considerably reduce the size of my oxps! :mrgreen:

_________________
忍 knowing that enough is enough, you'll always have enough.

Running Oolite 1.77 on Ubuntu Linux 12.04 LTS


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 21 posts ]  Go to page Previous 1 2

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 20 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Limited