![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#1 |
Old Gang
|
![]()
Hey...
I just had a crazy idea about something, and I need some help to figure if it's possible. The old gang here might gimme a hand... I thought about making reflections of the stars on the water. I thought the stars were only part of the sky, fixed there, not real objects. If so, they can't have reflection. But then I thought... "what if they're objects?" Cos in Scene.dat, there's a node called "SkyObjRadius". The stars are included. So, if they are actually objects, they can have reflections on the water no problem. They just don't have a node. It's necessary to create a node called "Stars" and another inside, with definitions for "water reflection". Just like the moon. The question is: Are stars objects? Is it possible? If so, how do I do it? I never messed up with creating new nodes and fixing ID's. Well, once, months back, with Rubini, we were modding the lifeboats. But I forgot everything about it, and honestly I didn't had much time on the last few months for sh3. Just some hours, used to create simple mods. So, any help is appreciated! ![]()
__________________
To each his own |
![]() |
![]() |
![]() |
#2 |
Seasoned Skipper
![]() Join Date: Apr 2008
Location: Canada
Posts: 682
Downloads: 17
Uploads: 0
|
![]()
The great thomson has found something...... must help him!!
Reflected image on the sea cool! ![]() |
![]() |
![]() |
![]() |
#3 |
Watch Officer
![]() Join Date: Jan 2007
Posts: 339
Downloads: 76
Uploads: 4
|
![]()
I don't have an answer for you PT, but I want to say go for it! I was going to request this feature as I think it is very noticible that it is missing. However, I didn't want to ask too much of you.
Just encouraging you to enrich our experience all the more. |
![]() |
![]() |
![]() |
#4 |
XO
![]() Join Date: Nov 2007
Location: Canada
Posts: 424
Downloads: 45
Uploads: 0
|
![]()
Hi, nice thought..:hmm: but I've never heard about stars reflection on water.. The water must be absolutely calm, the sky deeply black and clear to permit stars have enough light and contrast to reflect onto water surface..
so, we may ask to expert RL seamen if they can see stars on the water by night in the middle of Athlantic.. ![]() |
![]() |
![]() |
![]() |
#5 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
The Star base is hard coded information.
As such, they are not objects as we are use to working with. If you add objects and call them stars? You'll still have the original Star field. Yours would reflect and the original wouldn't. |
![]() |
![]() |
#6 |
Rear Admiral
![]() Join Date: Jul 2008
Location: SPACE!!!!
Posts: 10,142
Downloads: 85
Uploads: 0
|
![]()
This would be a pretty cool mod, and make the sea look even better.
![]() ![]() (By the way, cool Avatar Privateer.)
__________________
Task Force industries "Taking control of the world, one mind at a time" |
![]() |
![]() |
![]() |
#7 |
Grey Wolf
![]() Join Date: Jan 2002
Location: Holland
Posts: 785
Downloads: 122
Uploads: 0
|
![]()
Before you put all the effort in. As it is hardcode, will we then not have problems like: the stars don't move properly or the stars can be seen during the day?
Last edited by rik007; 11-07-08 at 12:47 AM. |
![]() |
![]() |
![]() |
#8 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
Now stars reflection on the water is a ****y idea! Stars are too small to leave any reflection on the water in RL. Too much reflections stinks either! :P
|
![]() |
![]() |
#9 |
Pooped from posting
![]() ![]() |
![]()
i thought the stars where listed in the materials.dat
and have a tga file:hmm: anyways i gave them reflection ..nothing ![]() |
![]() |
![]() |
![]() |
#10 | |
Old Gang
|
![]() Quote:
But do you know if the stars even exist as hardcoded objects or it's just a "paint" in the sky? I tried giving reflection to the entire sky node, but still a no go. Guess we wait for Sh5, huh... :hmm: Thanks anyway, mate! ![]()
__________________
To each his own |
|
![]() |
![]() |
![]() |
#11 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
I did not post to offend you.
It's a proven fact that the Stars are hard coded. They are not objects in a 3D sense. They are laid out in code as a mathimatical grid. What you see is what you get. The only way to change it is to hack the code. THAT, as We all abide by, is a NO NO! |
![]() |
![]() |
#12 |
Sea Lord
![]() Join Date: Mar 2005
Location: Grid CH 26, Spain ,Barcelona
Posts: 1,857
Downloads: 204
Uploads: 0
|
![]()
Is a good idea but in real life stars are too faint to make reflections in the water, except some planets like jupiter, saturn, venus, and stars like sirius . (up to +2 mag).
only venus is so brilliant that it can cast shadows sometimes and become visible at day if you know where you have to look.
__________________
But this ship can't sink!... She is made of iron, sir. I assure you, she can. and she will. It is a mathematical certainty. Strength and honor Last edited by Hartmann; 11-07-08 at 10:41 PM. |
![]() |
![]() |
![]() |
#13 | |
Old Gang
|
![]() Quote:
A grid huh... :hmm: The sky is actually the lack of materia, the emptiness. The blue of the sky is nothing but a paint, a tga file. At night, no paint, just a pitch black empty space. Just like in real life. So the stars must be... holes in the emptiness? Or little white dots painted, in the... If it's emptiness, nothing can be painted at... So my theory is wrong. Maybe it is a half globe 3D object painted in black. The stars are not 3D, for obvious reasons. Just painted there. If they are painted, by adding reflection to the whole "sky" object, we would have reflections of the stars at night. So either the sky is not an object, or the stars physical appearance is acutally a lack of small spaces in the black globe, with a white "something" holding everything in the back. Thinking autocad, what's behind everything we see in sh3? What's behind the sky, and below the land? Forget it... I'm just too curious.
__________________
To each his own |
|
![]() |
![]() |
![]() |
#14 |
Sea Lord
![]() Join Date: Mar 2005
Location: Grid CH 26, Spain ,Barcelona
Posts: 1,857
Downloads: 204
Uploads: 0
|
![]()
what file have the stars data ??
another interesting idea is increase the stars number and make the sky more realistic, like in real life. i´m sure that in the dark night of the atlantic the milk way is visible.
__________________
But this ship can't sink!... She is made of iron, sir. I assure you, she can. and she will. It is a mathematical certainty. Strength and honor |
![]() |
![]() |
![]() |
#15 | |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]() Quote:
|
|
![]() |
![]() |
|
|