SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
07-17-17, 12:18 PM | #241 | |||
Weps
Join Date: Sep 2002
Location: SW France
Posts: 361
Downloads: 137
Uploads: 0
|
Quote:
Quote:
ClipHeight = 0 Reflection = 1 Refraction = 1 FrustumTest = False (What IS that???) MaxVisDistance = 0.0 MinVisDim = 0.02 MaxVisDim = 0.2 Basically I think they were the settings Kendras used on his lighthouse at the beginning of the thread so I used them as they worked. It's actually a 3DsMax model at the following link:- https://free3d.com/3d-model/light-ho...ble-96732.html Not sure what light house it is, but it looked so decrepit I thought it would be a good one to start with. It still needs work, especially with scaling. really need to get my head around Blender as my 3Ds Student license has expired. I've attached another screenshot with La Plate in the distance (same positions as La Veille and La Plate) and it's obvious the scale is out. Any observations and suggestions would be appreciated. Also the texture, although I tried to include OA seems a bit flat - all trial and error. Quote:
regards, MLF
__________________
Je pense donc je fuis! |
|||
07-17-17, 12:33 PM | #242 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
I think the easiest way is to set all 3D models as land units, or all 3D models as terrain objects.
|
07-17-17, 12:59 PM | #243 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
Even with values without decimal digits in .mis file, and corresponding values without more than 6 decimal digits in locations.cfg, both models are not aligned.
Long=-571143 ----> -4.759525 Lat=5764737 ----> 48.039475 |
07-17-17, 01:31 PM | #244 |
Navy Seal
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
|
During your tests, was the heading for both rock and lighthouse set to 0?
|
07-17-17, 03:39 PM | #245 | ||
Navy Seal
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
|
Quote:
I won't update the spreadsheet until we discover where the slight error is coming from (hoping that we do). In the meanwhile you can see the formula of my spreadsheet by unprotecting it (Menu 'Review' => 'Unprotect Sheet'). No password is set Quote:
If we don't, we will set the rock as a land unit rather than as a location, or as a library equipment, similar to the lantern and other subobjects. Something I would be interested to know is: did your many failed tests change at least a bit the relative position of the two parts (making the alignment a bit worse or a bit better, moving the rock from one side of the lighthouse to the other, etc.), or not? |
||
07-17-17, 04:13 PM | #246 | |||
Navy Seal
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
|
Quote:
Curiously, the version of WaterReflection I am using has not MaxVisDistance parameter. Are there two versions of the controller? Might the version you are using lead to a better visual quality of the effect? Other than that, I can only think that I have checked the DX2/3 compression flag of the texture used for reflection. This, indeed, might have an impact on their quality Quote:
Quote:
That's true. Texture map settting is much more complicated, unreliable and restrictive in SHIII than in it is in SHIV and 5. The good thing is that the more we make mistake, the more we learn. With this mantra in mind, I also plan adding specular and bump maps to the La Plate model (as you might have noticed, the AO map is overlapped to the diffuse map), but I am leaving those as the last task |
|||
07-18-17, 02:26 AM | #247 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
|
07-18-17, 02:57 AM | #248 | |
Weps
Join Date: Sep 2002
Location: SW France
Posts: 361
Downloads: 137
Uploads: 0
|
Hi Gap,
Quote:
http://www.michaeljohngrist.com/2011....JT0vfXZD.dpbs Nice to know it "exists" Regards, MLF
__________________
Je pense donc je fuis! |
|
07-18-17, 03:54 AM | #249 | |
Weps
Join Date: Sep 2002
Location: SW France
Posts: 361
Downloads: 137
Uploads: 0
|
Quote:
You are using controller 10/-1 as am I, with a child node of 6/0 WaterReflection property yet the one I use has this added parameter.....very strange. None of my textures have the DX2/3 compression checked - I seem to recall a post somewhere where this was stated as causing a problem????? Regards, MLF
__________________
Je pense donc je fuis! Last edited by MLF; 07-18-17 at 04:23 AM. |
|
07-18-17, 04:17 AM | #250 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
How to properly choose and calculate coordinates
So, I've finished to test all possibilities, and here are my conclusions :
- In locations.cfg, coordinates D (in degrees) must have no more than 6 decimal digits. - In .mis file, coordinates M (in meters) mustn't have any decimal digits. Even if the converted number in degrees (D) has exactly 6 decimal digits. As D should be equal to M/120000, the minimal move for a land unit is 3 meters (0.000025 or 25.10^-6 degrees), in other words M must be a multiple of 3. But there is more ! When you convert the coordinate M (in meters) to D (in degrees), you must apply this formula : for longitude : D = M/120000 - 6.10^-6 for latitude: D = M/120000 + 6.10^-6 Last edited by Kendras; 07-18-17 at 04:36 AM. |
07-18-17, 04:25 AM | #251 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
If you want to test yourself new coordinates, here is a little tool :
http://www.mediafire.com/file/54akqo..._-_mast_ref.7z The land unit is a red mast (stored in environmental folder) The terrain object is a blue mast |
07-18-17, 05:51 AM | #252 |
Weps
Join Date: Sep 2002
Location: SW France
Posts: 361
Downloads: 137
Uploads: 0
|
I have amended the reflection propertie's parameters, and also removed the DX2/3 compression checks on all nodes in LLH_LaPlate.dat and Lighthouse_Parts.dat. In my view the reflection now looks stronger bringing the light house into the sea rather than on it?
regards, MLF
__________________
Je pense donc je fuis! |
07-18-17, 06:04 AM | #253 | |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
Quote:
Could you also add some reflections nodes for the sub parts ? |
|
07-18-17, 06:28 AM | #254 | |
Weps
Join Date: Sep 2002
Location: SW France
Posts: 361
Downloads: 137
Uploads: 0
|
Quote:
I added the reflections to all nodes in the lighthouse_Parts.dat - when I zoom in on the reflection they are there, but fainter, possibly because they are further away from the sea which is possibly more realistic than having the reflections all the same strength. I'll see if I can improve on them but need to go out now for a couple of hours. regards, MLF
__________________
Je pense donc je fuis! |
|
07-18-17, 07:42 AM | #255 | |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
Quote:
|
|
|
|