FSIC Messageboard
  Tech Talk
  Did yomeone ever tried to make a sun ? Well I did !

Post New Topic  Post A Reply
profile | register | preferences | faq | search

UBBFriend: Email This Page to Someone! next newest topic | next oldest topic
Author Topic:   Did yomeone ever tried to make a sun ? Well I did !
Laika 801
Pilot
posted 05-12- 10:12 AM     Click Here to See the Profile for Laika 801   Click Here to Email Laika 801     Edit/Delete Message   Reply w/Quote

Well, looks very crappy now. It was just a rough test:

I added a flat poly with a transparent texture to the "pilot" object (viewpoint) and moved it a bit upwards (0.5 feet). This is the sun (90 deg). Two problems : the size of the quad is wrong, it should fill out the whole screen (when you look into the "sun" you should not see anything else ), not really a problem, I´m just too lazy to resize it. Second thing is that the "sun" object rotates with the plane/pilot, i.e. the sun is at 90 degrees (pitch) and when you roll the plane the sun "rises" or "goes" down. Might be not a big problem: the sun just needs a gyro: it could work fine when I (or better someone else) add 3 "intruments" --> qryHeading (parent) - qryPitch (child A) - qryRoll (child of child A). With the right DOF´s the "sun" should allways stay in the same position/angle relative to the ground. Not ? I´m not sure.

LK

Anyway - I need a rest - "sun is shining...weather is sweet...make you want to move...your dancing feet..."

IP: Logged

Pachy
Pilot
posted 05-12- 10:37 AM     Click Here to See the Profile for Pachy   Click Here to Email Pachy     Edit/Delete Message   Reply w/Quote
AWESOME
So you need a rest? Enjoy this sunny weekend Laika!

Cheers!

IP: Logged

Spanky the Mad Dog
Pilot
posted 05-12- 10:40 AM     Click Here to See the Profile for Spanky the Mad Dog   Click Here to Email Spanky the Mad Dog     Edit/Delete Message   Reply w/Quote
Spanky here..

Thats a wacky IDea
looks kinda cool though

a little flashy but it works with the kinda bright colors of the SDOE terrain
what bout hills and stuff though?
will it go behind them?

IP: Logged

Ronin
Pilot
posted 05-12- 11:55 AM     Click Here to See the Profile for Ronin   Click Here to Email Ronin     Edit/Delete Message   Reply w/Quote
Laika 801:

Awesome job! I've been thinking about that type of solution. But, you got around to doing somehting! Thanks! I'm sure that something can be done with this concept!

Ronin

IP: Logged

Laika 801
Pilot
posted 05-12- 01:04 PM     Click Here to See the Profile for Laika 801   Click Here to Email Laika 801     Edit/Delete Message   Reply w/Quote
Spanky you´re right. I´t looks not so good now and it wont go behind hills - but hey did you ever see dawn or dusk in SDOE ?

Clouds are a problem, but what I wanted to do is more a "blind-effect" like in Red Baron than a nice looking sun, so you can't see the enemy when he comes "out of the sun". Of course I don´t know how to tell this to the AI's...I only know that when I use the vehicle TAG I.D. I can't lock planes wich are behind the hills, I dont think this works also with the sun-object.

LK

LK

IP: Logged

Laika 801
Pilot
posted 05-12- 01:05 PM     Click Here to See the Profile for Laika 801   Click Here to Email Laika 801     Edit/Delete Message   Reply w/Quote
Of course you we could combine two "suns" one for the effect and one for the look

IP: Logged

Nat
Pilot
posted 05-12- 03:36 PM     Click Here to See the Profile for Nat   Click Here to Email Nat     Edit/Delete Message   Reply w/Quote
You do know ofcourse that there is a Tif for the sun in the par files that came with SDOE right?

Why we have the Tif, but no sun I don't know though

IP: Logged

Nat
Pilot
posted 05-12- 03:39 PM     Click Here to See the Profile for Nat   Click Here to Email Nat     Edit/Delete Message   Reply w/Quote
thinking about it...... I could actually add the sun to the PAC terrain with a little bit of fiddling around....

I'd just add that flat poly to the terrain, billboard the TIF, and put it real high above the terrain.. then it'll be locked in position and only be there if you look at it... now, if we knew how to add a dof to it to make it move of it's own accord really slowly it'd cross over the terrain aswell..

Nice idea Laika.... always good for starting off new ideas

~Nat~

IP: Logged

JT
Pilot
posted 05-12- 04:14 PM     Click Here to See the Profile for JT   Click Here to Email JT     Edit/Delete Message   Reply w/Quote
Won't it be invisible if it is beyond the fog/horizon distance?

IP: Logged

Jerry
Pilot
posted 05-12- 05:42 PM     Click Here to See the Profile for Jerry   Click Here to Email Jerry     Edit/Delete Message   Reply w/Quote
How does it look if the mission calls for cloudy overcast? (Doesn't the gray sky above the clouds look terrible?)

IP: Logged

Laika 801
Pilot
posted 05-12- 06:26 PM     Click Here to See the Profile for Laika 801   Click Here to Email Laika 801     Edit/Delete Message   Reply w/Quote
Hmm - I just say it again :

please read
The main reason for my small test was to get a "blend-effect" for the sun. I.e. you look into the sun and the screen turns into a bright white - OK ? So you can attack other planes out of the sun and they can`t see you right !?!

Most of you mean just a sun object for a better look of the whole world/terrain. Adding this is not really a problem: just add a yellow or white round poly and make a dof for it with a runtime of 12 hours but this is a sun wich wont make you blind when you look into it - right ?

So I added a small quadratic poly with a transparent texture to the pilot object. This object is the viewpoint (appears as a orange arrow in OPS). I moved my "sun" or "blender" object a half feet upwards (just an example, you could move it in any position you want it, but allways close to the view point of the pilot/crew member) so the sun is at 12 o' clock upwards. The effect is that when you look upwards (90 deg - right into my sun) you will see a bright yellow-white screen (faded to the outsides). OK ? Only problem is that the pilot is a child object of the plane and my sun is a child object of the pilot, so when the plane turns or rolls, my sun moves too. Thats why it needs some balance - a gyro - easy (I hope it is easy ) to do, just 3 dof's like I explained it above (my sun would be the child of the last dof...). Now the sun is allways in the same position. Of course it should be no problem to add another dof with a runtime of 12 hours minus the "actualtime" (also in hours) for ultra realism

The sun should be a single .sm file so that all pilots could use one reference file = all got the same sun.

Nat - Of course you could add a "normal" sun object to your terrain, but it would be hard to align both suns together. Also mind what JT said !

JT - No - because it is (with my method) only a half feet away from the viewpoint

Jerry Yes! Thats a problem. I know that there is a "msnCloud" property. If there is a way to call this value from a plane/vehicle it wouldn't be a problem (in BASIC- if msncloud ="strOvercast" then sun=sunmodel_4 (no sun) ). Unfortunatly I don´t know if this is possible in OP - maybe with obData or so - I really don`t know.


Just my thoughts - I think, when it works right, it would be a good adition for the next planepack/online standart - is still someone interested or did you think this is crap ???

LK

IP: Logged

lfbpro
Pilot
posted 05-12- 06:35 PM     Click Here to See the Profile for lfbpro   Click Here to Email lfbpro     Edit/Delete Message   Reply w/Quote
hi Laika (and others)
it s not a crappy idea i like it a lot
i remember me reading a post that told it was impossible and now guess what?...

------------------
-=BAB=-lfbpro

IP: Logged

jedi
Pilot
posted 05-12- 07:24 PM     Click Here to See the Profile for jedi   Click Here to Email jedi     Edit/Delete Message   Reply w/Quote
OK, we're well into areas of which I am clueless now, but what about using the concept of the "cloudGlass" object? Somehow, that thing reacts when you're in a cloud, and becomes visible so that your canopy is "fogged" slightly.

Would it be possible to create a "sunGlass" that somehow "glared" your canopy when you look at the sun object?

Spinning out of control....

------------------
--jedi--

IP: Logged

Laika 801
Pilot
posted 05-13- 01:55 AM     Click Here to See the Profile for Laika 801   Click Here to Email Laika 801     Edit/Delete Message   Reply w/Quote
Jedi - this a fckng GREAT idea !! I still don't know anything about cloudglass object but that should no be that problem - GREAT !

IP: Logged

Hawker
Pilot
posted 05-17- 09:53 PM     Click Here to See the Profile for Hawker   Click Here to Email Hawker     Edit/Delete Message   Reply w/Quote
I dunno alot about this stuff but what if ya tied the sun to a ground object intead that could be placed in a mission??????

IP: Logged

Laika 801
Pilot
posted 05-18- 06:15 AM     Click Here to See the Profile for Laika 801   Click Here to Email Laika 801     Edit/Delete Message   Reply w/Quote
I dont know if I understand what you want hawker - but if I get you right I would say it is no problem to add the "sun" to any viewpoint in the game. I did not test it further than explained above, but the crew members in the Peshka beta should come with a "working sun" (or not)...

LK

IP: Logged

BULLET
Pilot
posted 05-20- 07:04 AM     Click Here to See the Profile for BULLET   Click Here to Email BULLET     Edit/Delete Message   Reply w/Quote
If you all laugh at this I'll understand. If it were a flying object, could it be launched at one end of the terrain, go to maximum altitude float across the sky and land at the other end? That may be a little far fetched.

IP: Logged

Laika 801
Pilot
posted 05-20- 09:28 AM     Click Here to See the Profile for Laika 801   Click Here to Email Laika 801     Edit/Delete Message   Reply w/Quote
If it where a flying object it would first be invisible when it is behind the fog, like JT said. Second thing is that you could look into the sun and still see "normal" - you`re not blended in any way, quiet unrealsitic ! I got no time now to show (and before build )you a working sun, but I think it is possible with good results !

IP: Logged

ReaperMan
Pilot
posted 05-20- 10:02 AM     Click Here to See the Profile for ReaperMan   Click Here to Email ReaperMan     Edit/Delete Message   Reply w/Quote
What about a combination of the two? The sun object itself would go behind clouds and it's DOF could be controlled by the time of day (functioning like the clock on the instrument panel). Then Laika's idea could be added to the pilot's viewpoint, and if possible, through some complicated stuff involving time, yoke/rudder input, etc. the pilot view "sun" object could be moved around. Probably a bit too complicated to actually work, but I dunno.
BTW, this is great work Laika!

------------------
-=TheReaper=-


IP: Logged

All times are CT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | Fighter Squadron Information Center

(This site Copyright (c) 1999 Inertia LLC)

Powered by Infopop www.infopop.com © 2000
Ultimate Bulletin Board 5.45c