SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
06-05-12, 08:41 AM | #46 |
Black Magic
|
|
06-05-12, 08:48 AM | #47 |
Grey Wolf
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
Here i have relocate the UVW of a large texture 1024*128->1024*1024
(i have not finished the fish texture,just for testing) The fish move as the plant (oscilate) But for make more realiste we can see how work the seagull (if anyone know where i can found them ) other we must see is a way to use dito the charactere ( with waypoints )
__________________
~~~~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, 08:53 AM | #48 |
Officer
Join Date: May 2010
Location: Germany
Posts: 237
Downloads: 167
Uploads: 0
|
Great! I am really happy to see this evolving!
Thanks for your hard work! |
06-05-12, 09:01 AM | #49 |
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 | #50 | |
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 | #51 |
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:24 AM | #52 |
Sparky
Join Date: Jan 2010
Posts: 152
Downloads: 6
Uploads: 0
|
This may be a problem...the models in undersea.gr2 are animated with a custom vertex shader, so any animations you make for them won't show...so this can be a showstopper.
|
06-05-12, 09:33 AM | #53 | ||
Grey Wolf
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
Quote:
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 | #54 | |
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 | #55 |
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 | #56 |
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 | #57 |
Black Magic
|
|
06-05-12, 11:41 AM | #58 |
Grey Wolf
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
Ok ,But i have attach to plant to make it more real ( and to have the annimation from plants)
Do you think is possible to add an other random .GR2 (Fishs.GR2) If yes,we need to know if we can rename the undersea.GR2 and his .sim to Fish.GR2 ,Maybe we need just to change the adressing in
__________________
~~~~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, 12:43 PM | #59 |
Navy Seal
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
|
|
06-05-12, 12:50 PM | #60 | |
Navy Seal
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
|
Quote:
But isn't the fish in your screenshot a cold water fish: a trout or something like that? |
|
|
|