SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 12-18-11, 02:26 AM   #11
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Implemented picking. Currently you can 'pick' a mesh on the screen by double clicking it's bone origin and:
- render is set so solid or solidwire
- lighting is disabled

I will convert it over to just being able to double click the mesh itself but I just wanted to see if my idea worked or not. The stipulations of render set to solid or solidwire and lighting disabled will still hold

The item 'picked' will turn a beige color and the meshes tab will show the item as the currently selected item. If you select another item in the meshes tab then the currently 'picked' item will change to the item selected. A message is posted in the status box letting you know that you 'picked' a mesh:


Double click an empty part of the screen to 'unpick'.

I will implement picking for verticies also so I can implement the ability to edit/change verticies of a mesh. I will have it coded that in order to 'pick' a vertice you have to be in a render mode that has points (because each point is a vertice).
TheDarkWraith is offline   Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 04:56 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 1995- 2026 Subsim®
"Subsim" is a registered trademark, all rights reserved.