![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#91 |
Ace of the deep .
|
![]()
What i would like to do is clone the Arch tunnel from the CR Room and use it on the CT Room . How ?
I seen a post where a ships funnel was replicated and moved , dont know wher the post is . ![]() ![]() |
![]() |
![]() |
![]() |
#92 |
Black Magic
![]() |
![]()
I see people are still having fun with this! Excellent
![]() Work has been keeping me real busy. I get a little time every now and then to work on the app. I have a version that currently fixes the rendering problems with the last one (dealing with rendering with shaders and lighting). I hope to post it up in a couple of days. If you all can compile a list of current bugs/problems that would be great cause then I can investigate them while I'm on airplanes to kill time. Please post them in the GR2 Editor/Viewer thread. At home finally for a couple of days and then I'm catching a flight out of the country again. Hopefully things will slow down around mid February. Carry on ![]() |
![]() |
![]() |
![]() |
#93 | |
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
|
![]() Quote:
![]() As for your request I've encountered some issues. I don't really know if they are caused by my lack of experience, or by a coding bug by you. If you want to have a look at them, they are listed in posts # 80 to 90. Regarding the missing FX links, I will do a quick test right away and post the results in the GR2 Editor/Viewer thread ![]() |
|
![]() |
![]() |
![]() |
#94 |
Navy Seal
![]() |
![]()
He is back
![]() ![]() |
![]() |
![]() |
![]() |
#95 | |
Black Magic
![]() |
![]() Quote:
You can turn on/off meshes and materials. Go to the materials or meshes tab and select/deselect the ones you want to see/hide. You can change a meshes geometry either by exporting it, changing it in 3D editor, and then reimporting it or you can modify it in real time with the app. There are many ways to do this. You can modify the scaling of it (bring up the help screen and it will tell you how to do this - you have to select the mesh by double clicking it on the screen) or you can change rendering to solid and points. Then double click a point to select it. Now you can drag the point around to change the geometry. |
|
![]() |
![]() |
![]() |
#96 |
Black Magic
![]() |
![]()
Yes it will. You can change any or all of the materials if you wish. You can even add/remove materials.
|
![]() |
![]() |
![]() |
#97 | |
Black Magic
![]() |
![]() Quote:
The app does not reassign IDs. In fact there are no IDs per se in a GR2 file. IDs are derived from the object's name. So if you rename an object you change it's ID. |
|
![]() |
![]() |
![]() |
#98 |
中国水兵
![]() Join Date: May 2010
Location: BY
Posts: 271
Downloads: 80
Uploads: 1
|
![]()
Hi, TheDarkWraith.
![]() ![]() The fact is that it prevents (visually). It would be nice to temporarily disable it. Sorry to write here. |
![]() |
![]() |
![]() |
#99 | |
Black Magic
![]() |
![]() Quote:
![]() Post a picture of what you're asking about in that new thread. I can't picture in my mind what you're asking (probably because I've been away from the game for over 2 months ![]() |
|
![]() |
![]() |
![]() |
#100 | ||||
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
|
![]() Quote:
Quote:
Quote:
Quote:
![]() |
||||
![]() |
![]() |
![]() |
#101 | |
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
|
![]() Quote:
![]() |
|
![]() |
![]() |
![]() |
#102 |
Black Magic
![]() |
![]()
You need to add these essential strings to the GR2 file. It is ok to do. The app is telling you that these strings are missing from the GR2 file. They are just embedded strings and pose no harm to the file. If the app (game) using the file has no need for these strings then it doesn't use them. The app needs them so that the textures can be displayed properly
![]() |
![]() |
![]() |
![]() |
#103 |
Black Magic
![]() |
![]()
Partly correct. Add the missing strings and you'll see some textures. Not perfect yet because I haven't found where in the extended data of a material where it says to use the alpha channel.
|
![]() |
![]() |
![]() |
#104 | ||
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
|
![]() Quote:
Quote:
![]() |
||
![]() |
![]() |
![]() |
#105 |
Black Magic
![]() |
Here I'll detail how to manipulate an object's geometry with the mouse.
Let's work with the NAMC_Penguin GR2 file. Fire up the GR2 Editor/Viewer. Ensure you are using at least v1.1.277.1 File-->Open Navigate to \Silent Hunter 5\data\Sea\NAMC_Penguin Select NAMC_Penguin to open it Press H to bring up help menu Press M to show mouse actions. This mouse actions menu is dynamic. It will change based on what you are doing. Note what it currently says. Select the FillMode tab and select Solid & Wire & Point. This now renders the 3D model(s) as solid objects and also renders all the points (vertices) and all the triangles made by those vertices. Right click and hold and mouse forward. This will move the camera closer to the object. Keep doing this till you are very close to the hull (make your screen look like the screenie) Now click and hold center mouse button and move mouse right. This will move the camera to the right. Make your screen look like the screenie. Now right click and hold and mouse forward again till just one point (vertice) is showing on the screen. Make your screen look like the screenie. The camera has to be very close to a point in order to select it. Now place the mouse cursor on the point and click once. Notice the mouse cursor changed to a crosshair (your mouse cursor may already be a crosshair). This means you are in the selecting mode. Now place the center of the crosshair directly on the point (vertice) and double click it. By double clicking we are telling the app we want to select this point (vertice). If the camera is not close enough then it will fail to select. Once selected you will see a lock diamond surround the point (vertice). Select the Status tab. You'll notice that the app tells you which vertice you selected of which mesh (User selected Mesh NAMC_Penguin_hull_03: Vertex 2366). This same information is displayed in the status bar at the bottom of the app on the left hand side. By selecting a point (vertice) we are telling the app we want to manipulate it. But what are we allowed to manipulate? If you look at the status bar second from the bottom of the screen on the right hand side it says: Locked | Object | XYZ | |. This means the camera is locked in place (Locked), any manipulating will be done on the Object (vice the camera), we have X, Y, and Z freedom of axis, but we have no translation, rotation, or scaling available (the last blank box). In order to be able to translate the object (or point aka vertice) we have to enable that. We'll come back to this in a bit. Now look at the help menu for mouse actions (left side of screen). It has changed to indicate the new actions available to the mouse since we selected (locked) an object. You can press the space bar to clear the selected item (unlock). You'll see the mouse actions menu change again. Go ahead and reselect the point (vertice). Now press C to unlock the camera. Notice the status bar changed from Locked to Unlocked. Object changed to Camera. Freedom of axis is still X, Y, and Z. But now we are able to Rotate (R) and Translate (T) the camera. Now right click and hold and mouse back to move the camera backwards from the object. Then left click and hold and move the mouse to the left to rotate the camera to the right. Make your screen look like the screenie. Now press C to lock the camera. Notice the status bar changed from Unlocked to Locked. Camera changed to Object. Freedom of axis if still X, Y, and Z. We are now unable to do any translation, rotation, or scaling. Let's fix that. Look at the help menu on the right side of the screen. Notice the keys R, S, and T and what they do. Press the T key to enable Translation. Notice that the status bar know shows a T (for translation enabled). Select the Meshes tab. Now since the camera is locked, the status bar says Object, axis of freedom is X,Y, and Z, and Translation is enabled (T) then any mouse movements with the mouse buttons will affect the object. Let's limit translation to only the X axis. Press Y then Z to disable the Y and Z axis. Notice that the status bar shows only the X axis of freedom available now. Notice that the Position, Rotation, Scale, Changes, File, and Uvs box's buttons are all greyed out (unavailable). Place the mouse in the render window. If the mouse cursor is not a crosshair click the left mouse button once (only once!). Notice that the mouse cursor is now a different kind of crosshair. This tells you that you have an object selected and you are able to do some kind of manipulation (translate, rotate, or scale) on it. Notice the left help menu (mouse actions). We currently only have translation available and only on the X axis. According to the menu if you click and hold the middle mouse button down and move the mouse left or right you will translate the object (point or vertice in our case). Try it. When you have the object (point or vertice in our case) where you want then release the middle mouse button. You have just manipulated the geometry using the app! NOTE: there is NO way currently to reverse the changes you make by manipulating points (vertices). I will probably code that in in a future version. Now press the space bar to unselect the object (vertice). Select the Status tab. Notice the app said you unselected the vertice (User selection cleared) Now let's manipulate a mesh. Select the FillMode tab and select Solid. Select the Camera tab and push all the buttons under Reset-->Designed to place the camera back to as designed values. Select the Meshes tab. Place the mouse cursor in the render window and click once. This will turn the mouse cursor into a crosshair. Place the mouse cursor in the middle of the funnel (smoke stack). Double click the middle of the funnel. Notice that the status bar says Mesh NAMC_Penguin_cos. This means we have selected this item for manipulation. Press C to lock the Camera. Status bar says Locked, Object, X, SRT. Let's give all axis of freedom back so press Y and then Z. Now we only want the ability to scale the object so press R to remove the ability to rotate and then press T to remove ability to translate. The only one left should be S (for scaling). Notice the left side help menu (mouse actions) says that if you hold the middle mouse button while at the same time holding the Ctrl button down and move the mouse left or right you will scale all the axis of the object. Try it. Congratulations you just scaled an object using the app! Notice now that the Scale buttons are not greyed out anymore. This means you have adjusted the scaling on this selected object at some time. By pressing the buttons you can reset the scaling back to it's previous value. Ah, but what is the previous value? If this is the first time to manipulate the object with scaling then it will default to as loaded values. If it's not then it depends on whether you have pressed the Update button of the Changes box. By pressing the Update button you are telling the app this is the object's new default values (for scaling, translation, and rotation). By setting new default values then the reset buttons will use these new default values. Press the Update button of the Changes box. Notice the buttons in the Scaling box are now greyed out. This means you are currently at it's 'default' values. Now notice the Store and Reset buttons of the Changes box are active. Pressing Store will set the new as-loaded values for the object (different than default values). If we wanted to reverse the scaling changes we did earlier we can press the Reset button. Try it. Funnel scales back to it's as-loaded values. Re-scale the funnel using the mouse. Press the Update button in the Changes box to save these values as it's new default value. Now if you press the Store button in the Changes box you will set these values as the new as-loaded values (thus pressing Reset will set the values to what they currently are). Go ahead and press it. Notice that all the buttons are now greyed out. You have told the app there are the object's new as-loaded values! There's no way to back-out once you press the Store button besides closing and re-opening the GR2 file! In order for your changes to persist in the GR2 file you must press the Store button for each object you have manipulated. NOTE: objects in SH5's GR2 files are NOT designed at the object's origin. They are offset and placed where they would actually be. This is different from the way most items (objects) are designed. Most objects are designed at model origin (0,0,0) and are placed in position via a scaling, rotation, and translation matrix. Because SH5's objects are not at model origin this causes them to move position wise when you scale them. It is not the apps fault for them moving, it's because they were not designed at model origin to begin with. For manipulating bones the same procedure basically applies but you can only translate bones. In order to manipulate bones you have to go to the Bones tab and select Render bones. NOTE: if render bones is selected (checked) then you are unable to select meshes or vertices. You have to unselect render bones to manipulate meshes/vertices. Last edited by TheDarkWraith; 01-15-13 at 09:20 PM. |
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|