![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
06-05-12, 09:01 AM
|
#1 |
|
Grey Wolf
![]() Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
For TDW
I noticed that the data Tr, Tf and maybe even illum are not exported in .mtl But there are imported into the editor (I have to change. Mtl for the correct rendering)
__________________
~~~~BigReg~BigRegOne~~~~ ![]() "Better watch where you do not go, because where were going, we will know what it is when we get there, and anyway, it will never be only water." Proverbe Shadok |
|
|
06-05-12, 09:05 AM
|
#2 | |
|
Black Magic
![]() |
Quote:
- Ns - Ka - Kd - Ks - Ke - map_Ka - map_Kd - map_Ks - map_bump and bump I still have to review the document you posted about the MTL file
|
|
|
|
06-05-12, 09:14 AM
|
#3 |
|
Grey Wolf
![]() Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
I'm sure of what I say, the datas for transparency (tr or tf) are imported into the editor
, I have to delete them of the .Mtl, otherwise, the objects are transparent or black
__________________
~~~~BigReg~BigRegOne~~~~ ![]() "Better watch where you do not go, because where were going, we will know what it is when we get there, and anyway, it will never be only water." Proverbe Shadok |
|
|
06-05-12, 09:33 AM
|
#4 | ||
|
Grey Wolf
![]() Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
Quote:
i don't understand this morning at first attemp the object was transparent with the tr,tf data in .mtl,i have retry and now all is normal ![]() Quote:
and there are animated with ... lost controllers in goblin and s3d
__________________
~~~~BigReg~BigRegOne~~~~ ![]() "Better watch where you do not go, because where were going, we will know what it is when we get there, and anyway, it will never be only water." Proverbe Shadok Last edited by BIGREG; 06-05-12 at 09:58 AM. |
||
|
|
06-05-12, 10:39 AM
|
#5 | |
|
Sparky
![]() Join Date: Jan 2010
Posts: 152
Downloads: 6
Uploads: 0
|
Quote:
#ifdef GRASS_ANIMATION float frequency = max(0, min(1, Input.Position.y)) * g_animationTime.y; Input.Position.xyz += float3(g_animationTime.x, 0.0, g_animationTime.x) * sin(frequency); #endif However only the plants are animated and the gr2 contains both rocks and plants. I think it's a name convention, the plants have a certain name that differentiates them from the rocks, so the rocks are not rendered with this shader. |
|
|
|
06-05-12, 11:20 AM
|
#6 |
|
Grey Wolf
![]() Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
Thank Pintea
![]() I see that you know better than me, the process of annimation ![]() For now, I try the different controllers used in .Sim ![]() I'll post the list as soon as I finished ![]() A small question, how are placing plants and rocks
__________________
~~~~BigReg~BigRegOne~~~~ ![]() "Better watch where you do not go, because where were going, we will know what it is when we get there, and anyway, it will never be only water." Proverbe Shadok |
|
|
06-05-12, 11:28 AM
|
#7 |
|
Sparky
![]() Join Date: Jan 2010
Posts: 152
Downloads: 6
Uploads: 0
|
The rocks & plants are displayed in a circular area around the player's current location.
The algorithm chooses random rock and plant sub-models from the gr2 and places them like I said above. For the fish to stop being animated like the plants you have to rename the fish model like one of the rocks, something like rock9 or whatever... |
|
|
06-05-12, 11:40 AM
|
#8 |
|
Black Magic
![]() |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
