![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
03-18-12, 05:54 PM
|
#1 | |
|
Black Magic
![]() |
Quote:
Rotating the mesh will be difficult because it's not at world center. It's some distance away. So think about it visually: if you have an object say 5 feet to your left and the plane of rotation is about your center and you rotate say 45 degrees the object will rotate differently than if the object was at the plane of rotation. |
|
|
|
03-18-12, 06:09 PM
|
#2 | |
|
Lieutenant
![]() Join Date: Nov 2006
Location: St. Petersburg, Russia
Posts: 264
Downloads: 73
Uploads: 0
|
Quote:
Thanks for the rotation tip, I think I'll manage. I am trying to rotate it because people are complaining that the watch crew point their binos onto the water, rather than onto the horizont. Simple mesh rotation issue it is - rotate the binos slightly and they will appear looking at horizont. |
|
|
|
03-18-12, 06:14 PM
|
#3 | |
|
Black Magic
![]() |
Quote:
|
|
|
|
03-18-12, 06:20 PM
|
#4 |
|
Lieutenant
![]() Join Date: Nov 2006
Location: St. Petersburg, Russia
Posts: 264
Downloads: 73
Uploads: 0
|
It is impossible to rotate it correcty around the world center unless it goes out of the char's hand, pity.
|
|
|
03-18-12, 06:23 PM
|
#5 | |
|
Black Magic
![]() |
Quote:
Just look at the object axis. Think about how you need to rotate it. I found you have to rotate the X and Y axis in 1 step motions (press shift so the steps are small). In between those X and Y steps pairs you have to reposition (translate) via Z axis one small step (shift enabled)
|
|
|
|
03-18-12, 06:31 PM
|
#6 | |
|
Lieutenant
![]() Join Date: Nov 2006
Location: St. Petersburg, Russia
Posts: 264
Downloads: 73
Uploads: 0
|
Quote:
![]()
|
|
|
|
03-18-12, 06:21 PM
|
#7 | |
|
Black Magic
![]() |
Quote:
|
|
|
|
03-18-12, 10:24 PM
|
#8 | |
|
Black Magic
![]() |
Quote:
testversion 1.1.122.1 available here: http://www.mediafire.com/?p3kec6eme5vy2am NOTE: STILL IN ALPHA STATE! |
|
|
|
03-19-12, 02:00 AM
|
#9 |
|
Black Magic
![]() |
I was moving/rotating meshes around and it was hard to determine how far or how much I repositioned the mesh from it's original position and orientation so I decided to take care of that little problem:
Add a new box to the meshes tab: Shallow clones These are shallow clones (uses the original mesh just repositioned) that will show you the original position/orientation of the mesh. As soon as you reposition/rotate a mesh a new node will appear under the mesh in the meshes treeview: Render shallow clone. If checked it will render the shallow clone. Once any of the Changes, Positions, Rotations, or Scale buttons are pressed (if everything is reset) that node will disappear and the shallow clone will not be rendered anymore. You can set the opacity of the shallow clone via the opacity box. VERY USEFUL ![]() test version 1.1.123.1 available here: http://www.mediafire.com/?r9i95vboy82i0tk NOTE: STILL IN ALPHA STATE!
|
|
|
03-19-12, 01:22 PM
|
#10 |
|
Grey Wolf
![]() Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
Hi TDWThank you for this addition, it will be easier for me to redo the TDC needles
__________________
~~~~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 |
|
|
03-19-12, 02:33 PM
|
#11 |
|
The Old Man
![]() Join Date: Aug 2006
Location: Aberdare, Wales, U.K.
Posts: 1,551
Downloads: 190
Uploads: 3
|
Pretty damn slick TDW
__________________
***THE GENERAL*** |
|
|
03-19-12, 09:14 PM
|
#12 | |
|
Black Magic
![]() |
Quote:
Also changed when they can render. They (shallow clones) only render when the mesh is selected (barring you have them enabled of course). The adding of new materials is coming along nicely: The links for Texture and ExtendedData work Though I currently 'grabbed' the pointer from an existing material's extendeddata just to see if it worked or not. Now I have to have my allocater allocate the extendeddata space in the GR2 file for the new material and then write data into that space. Thus giving the new material it's own extendeddata (and not borrowed like I did with this test version)You can verify for yourself in Granny Viewer: http://www.mediafire.com/?k21eu8glk4ogl3o |
|
|
|
03-19-12, 10:02 PM
|
#13 |
|
Black Magic
![]() |
Learned something new today about the GR2 file. I always thought that the layout of the items for each type (texture, material, mesh, etc.) in the GR2 file determined it's load order (and how they are seen in Granny Viewer). That was a totally incorrect assumption except for the bones. They are loaded in sequential order as found in the GR2 file.
I know about the root pointers for each type. I know the root pointers point to a list of pointers for that type. I never put 1 and 1 together to get 2 It's the order of these list of pointers that determine load order. I found this out because when creating the new materials I forgot to update the list of material pointers I keep track of in the file's Sentinel. I created a second material and when I saved and reloaded the file in the app the newest material was shown above the other new material in my materials treeview. Verified this against Granny Viewer. Then it hit me |
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
