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

Reply
 
Thread Tools Display Modes
Old 07-18-12, 03:51 PM   #1
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

You're off to a nice start Mate.


Objects like AirCraft can use Normals but I don't recall why they do at the moment.
Subs and Ships cause problems with the Caustics controller though.
You get what I call 'Rainbow Bright' effect.
Never checked to see if SH5 also has that with imported SH4 Units.

There's a few tricks to reduce the size of the model but I'll save those for later.
  Reply With Quote
Old 07-18-12, 04:47 PM   #2
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Good start Trevally!

Quote:
Originally Posted by privateer View Post
There's a few tricks to reduce the size of the model but I'll save those for later.
I think you refer to poly count, Privateer, but on a side note: is there a scale factor or any other method that you know of for reducing meshe's size within the dat file, without having to export the model, resize it in a 3d editing program and reimport it?

By the way, I've empirically calculated that 0.094 Wings 3D/Blender units is equal to about 1 mt in SH world. Maybe, paraphrasing a common italian phrase, I've just discovered the warm water, but I thought to share anyway this little piece of information.
gap is offline   Reply With Quote
Old 07-18-12, 05:04 PM   #3
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

You can not reduce scale in the dat.
Only scale it properly then import.
I have a handy scaleing object created by DivingDuck long ago that will help if you need it.

Mostly I just remember that anything going into files should be reduced by a factor of 10 IF you scaled your model to meters.

The scaleing, if you look at it, is .1 = 1 meter

On reduceing polys (actually triangle count of the 3D mesh)?
That is an advanced subject that pretty much I have been the only one to take advantage of for SH3 in the GWX mod.
It works for any dat file you care to try it on.
To this date I've never seen anyone follow the example except for Hans in HAHD.

And I had to explain and provide an example.
But that's what I do.
Explain and show examples of advanced tricks and such.

On render, all the object are shown.
On loading however, there are not several things loaded that are the same basic object!

Have I confussed you yet?
  Reply With Quote
Old 07-18-12, 05:17 PM   #4
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,448
Downloads: 166
Uploads: 28


Default

Thanks guy

I am starting to struggle to follow you privateer


__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 07-18-12, 05:29 PM   #5
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

That's good Mate.

I'm going to use your barrage ballon as the perfect example to follow along with.
(If you don't mind)

You have 3 parts on that model that are the same.
The fins.
Each is the same from images I see posted here.
When you load that model into any SH version?
All 3 get loaded into memory at one point or another because it's one 3D mesh.

Now, if we only load one fin into the dat you've lost alot of overhead on loading.

How do you think SH Games can reproduce many Ship with only one simple model?

It's called instanceing.

We create not a new 3D mesh but an instance of an existing 3D mesh.

So for the barrage balloon?
Only one fin is in the dat file.
We create the other two by instanceing it in that dat file and rotating thier positions.

Now I know your lost, correct?
  Reply With Quote
Old 07-18-12, 05:55 PM   #6
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by privateer View Post
That's good Mate.

I'm going to use your barrage ballon as the perfect example to follow along with.
(If you don't mind)

You have 3 parts on that model that are the same.
The fins.
Each is the same from images I see posted here.
When you load that model into any SH version?
All 3 get loaded into memory at one point or another because it's one 3D mesh.

Now, if we only load one fin into the dat you've lost alot of overhead on loading.

How do you think SH Games can reproduce many Ship with only one simple model?

It's called instanceing.

We create not a new 3D mesh but an instance of an existing 3D mesh.

So for the barrage balloon?
Only one fin is in the dat file.
We create the other two by instanceing it in that dat file and rotating thier positions.

Now I know your lost, correct?
I hope not. There's a chance that I see your point, now

This how I would do it:
I would create a separate fin model, putting it into the library folder (with its dat, val and zon files). Then I would link it to the balloon using 3 different instances of dummy nodes within the dat file of the main model, each with its position and rotation.

Is it that method that you were suggesting?
gap is offline   Reply With Quote
Old 07-18-12, 06:02 PM   #7
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

No Mate.

I'll provide the perfect example as soon as I can upload it.
It's one of the Forts from GWX I created.
Now remember I did this all by hex editing as there was no S3D to work with back then!!
Once I post the link and you get the file?
Open it with S3D.

Study how the towers and all the walk planks were built.
You'll see what I am on about.
Trust me as the proof is in the dat!


Download and be amazed.
http://www.mediafire.com/?nwuf110ldejefk1

And notice I did this so anyone can see what is, and has been in the open for years!

Note that there is a totally stock SH3 file that I learned from.
I don't recall what file it is though.
  Reply With Quote
Old 07-18-12, 05:24 PM   #8
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by privateer View Post
You can not reduce scale in the dat.
Only scale it properly then import.
I have a handy scaleing object created by DivingDuck long ago that will help if you need it.
Okay, thank you. Good reason for scaling 3d models properly before importing them

Quote:
Originally Posted by privateer View Post
Mostly I just remember that anything going into files should be reduced by a factor of 10 IF you scaled your model to meters.

The scaleing, if you look at it, is .1 = 1 meter
Okay, close enough to the conversion factor I had found myself

Quote:
Originally Posted by privateer View Post
On reduceing polys (actually triangle count of the 3D mesh)?
That is an advanced subject that pretty much I have been the only one to take advantage of for SH3 in the GWX mod.
It works for any dat file you care to try it on.
To this date I've never seen anyone follow the example except for Hans in HAHD.

And I had to explain and provide an example.
But that's what I do.
Explain and show examples of advanced tricks and such.

On render, all the object are shown.
On loading however, there are not several things loaded that are the same basic object!

Have I confussed you yet?
yes, i can't complain: you got me pretty well confused!

Out of jokes, if you don't mind, I would suggest the concerned ones to use the public forum instead of PM's for posing/answering questions on units creation.
In this way you wouldn't be forced to answer the same questions more than once, and there would be a chance even for "accidental" readers to contribute to the topic or to learn something from other's experience.

My two cents opinion indeed
gap is offline   Reply With Quote
Old 07-18-12, 05:31 PM   #9
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,448
Downloads: 166
Uploads: 28


Default

In game the balloons are lying on the beach rather than loating in the air

Enough from me for tonight - I will try again tomorrow
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 07-18-12, 05:33 PM   #10
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,448
Downloads: 166
Uploads: 28


Default

Quote:
Originally Posted by privateer View Post
Now I know your lost, correct?


__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 07-18-12, 05:35 PM   #11
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Trevally,
Your always welcome to send me your files to look at.
I could make corrections and send them back so you can learn.
That's pretty much all I do now days is help others.
  Reply With Quote
Old 07-18-12, 05:43 PM   #12
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

@gap,

I only work by PM when someone requests it remain that way.
Yes. I am a weird one at times on my responces and so forth.
That's just the way I am even in real life.


Go beyound the jokey, simple stuff and see the techie stuff?
You'll see the details quite clearly.

It's just that you and many others need teachin'


Once that part is done did in?
You'll love it all.
That's a promise!
So hang in there and don't look at my sig below.
OK?
  Reply With Quote
Reply

Thread Tools
Display Modes

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:08 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.