SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
02-01-17, 05:30 AM | #1 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
About the rock, I would prefer a flat base from which some reliefs are emerging. Something like that, but smaller of course :
Good tutorial here : https://www.darkcreations.org/hoddmi...hout-photoshop |
02-02-17, 10:38 AM | #2 | |
Navy Seal
Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
Downloads: 793
Uploads: 10
|
Quote:
Do you want them visible instead? |
|
02-02-17, 11:26 AM | #3 |
Navy Seal
Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
Downloads: 793
Uploads: 10
|
One last comment for now (sorry for spamming your thread Kendras ): from MLF's and SquareSteelBar's screenies (thank you guys!) it is pretty obvious that the ambient occlusion texture is not rendered on top of the diffuse texture. I suspect the AO texture map to be blocked by the SpecularMask controller also applied to the reef material. Can someone please remove that controller together with its container from the file and/or move them below the "Reef1AO.tga" texture map, and repeat the test?
Another suspect is the "in-memory DX2/3 texture compression" flag that I checked both for the main and for the AO textures, but let's try with the SpecularMask controller first... |
02-02-17, 11:49 AM | #4 |
Weps
Join Date: Sep 2002
Location: SW France
Posts: 361
Downloads: 137
Uploads: 0
|
Hi Gap,
I assume there was a clash between ID's in your file and something in my set-up. Therefore I remapped IDs and all worked. The 2nd CTD was my being dumb - hadn't noticed that Kendras had included a Locations.cfg in his mod. Think his called up something not available in my setup. I found that by changing the Node-Reef1 Node Positioning Translation Y value I could lower and raise the reef in the water, actually submerging it altogether, or having it float in the air. Here is the your modified .dat file:- https://www.mediafire.com/?6h7401kv6ca55op MLF PS: - didn't see your last post re the ambient occlusion texture. Will give it a go, but maybe tomorrow.
__________________
Je pense donc je fuis! |
02-02-17, 02:31 PM | #5 | ||
Navy Seal
Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
Downloads: 793
Uploads: 10
|
Quote:
Quote:
Thank you MLF, take your time |
||
02-03-17, 09:17 AM | #6 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
Results of tests
So, I placed your reef model and texture in my first mod. The file is placed in data/Terrain/Location, and placement written in data/Terrain/Locations.cfg. I have reworked your 3D model : 150% on Y axis, and 0 height at sea level. In Locations.cfg, if I set "On land=true", then the reef is not visible at all in game. So, I let on "false".
In GAME: Here at depth = -17 m (checked in Mission editor). Note that the texture is not applied, the land is grey, but with a stone aspect. Now, at depth = -28 m, and specular mask deleted. The same texture is applied above and underwater. Other thing : the sea surface is the same on the reef: Crash test OK: |
02-03-17, 10:06 AM | #7 |
Weps
Join Date: Sep 2002
Location: SW France
Posts: 361
Downloads: 137
Uploads: 0
|
Hi Kendras
Did you use the file I gave link for, or Gap's original file? I did as Gap asked, moved specular mask down under the "Reef1AO.tga" texture map - no change noticed. I then deleted the specular mask controller - again no difference noticed. I then created a Reef1AO Ambiant Occlusion controller - still no difference. Possibly there has been a change, and in my ignorance I've missed it , so what exactly should I be expecting to see? I have compared my original screenshots with the results of each change and no difference has been noticed. Can you explain what you did in more detail from your statement "I have reworked your 3D model : 150% on Y axis, and 0 height at sea level. In Locations.cfg, if I set "On land=true", then the reef is not visible at all in game. So, I let on "false".". What do you mean by 150% on the Y axis?
__________________
Je pense donc je fuis! Last edited by MLF; 02-03-17 at 10:53 AM. |
02-03-17, 11:28 AM | #8 | |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
Quote:
|
|
02-03-17, 11:32 AM | #9 |
Sea Lord
Join Date: May 2006
Location: U-73
Posts: 1,638
Downloads: 618
Uploads: 0
|
|
02-03-17, 11:53 AM | #10 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
|
02-03-17, 11:41 AM | #11 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
|
|
|