Author Topic: smoothing in blender  (Read 3434 times)

0 Members and 1 Guest are viewing this topic.

Offline Topgun

  • 210
smoothing in blender
is there any way to keep it?

 

Offline akenbosch

  • Pretentious Noob
  • 29
  • doesent care about canon
"set smooth"

export> .x

convert>.cob


well, that and PCS2 auto-smooths converted models. (i consider it annoying, because some models i dont want smoothed)

Burn the sucker out of the sky!
EAT PHOTONS INFIDEL! MAY THE HEAT OF A THOUSAND SUNS CONSUME YOU! :mad2:


snail gives a debriefing: http://www.hard-light.net/forums/index.php/topic,48825.msg991954.html#msg991954

 

Offline Vasudan Admiral

  • Member
  • 211
    • Twisted Infinities
You got PCS 2 to convert with full smoothing? What texture settings did you use?
My recent tests seem to suggest full smoothing isn't possible with PCS2 ATM, and I'm trying to gather info on it before bug-reporting. I'm not really sure if the things I'm seeing are a result of a bad test model or bad smoothing interpretation. :\


And Topgun, no not from what I've seen. It may be possible, but I doubt it.
Get the 2014 Media VPs and report any bugs you find in them to the FSU Mantis so that we may squish them. || Blender to POF model conversion guide
Twisted Infinities

 

Offline akenbosch

  • Pretentious Noob
  • 29
  • doesent care about canon
not full smoothing, more like semi-smoothing. but smoothing, none the less.

Burn the sucker out of the sky!
EAT PHOTONS INFIDEL! MAY THE HEAT OF A THOUSAND SUNS CONSUME YOU! :mad2:


snail gives a debriefing: http://www.hard-light.net/forums/index.php/topic,48825.msg991954.html#msg991954

 

Offline Topgun

  • 210
well then, what should I use to smooth my models?

 

Offline akenbosch

  • Pretentious Noob
  • 29
  • doesent care about canon
MAX, rhino, or wings3d, i guess.

Burn the sucker out of the sky!
EAT PHOTONS INFIDEL! MAY THE HEAT OF A THOUSAND SUNS CONSUME YOU! :mad2:


snail gives a debriefing: http://www.hard-light.net/forums/index.php/topic,48825.msg991954.html#msg991954

 

Offline Roanoke

  • 210
not full smoothing, more like semi-smoothing. but smoothing, none the less.

"semi smoothing"  ??

 

Offline akenbosch

  • Pretentious Noob
  • 29
  • doesent care about canon
i dont know the proper word for it  :doubt:

Burn the sucker out of the sky!
EAT PHOTONS INFIDEL! MAY THE HEAT OF A THOUSAND SUNS CONSUME YOU! :mad2:


snail gives a debriefing: http://www.hard-light.net/forums/index.php/topic,48825.msg991954.html#msg991954

 

Offline Vasudan Admiral

  • Member
  • 211
    • Twisted Infinities
well then, what should I use to smooth my models?
If you're currently opening up the model in TS to do hierarchy, then that'd be where you set up smooth groups too. (If don't know how, just ask) :)
Get the 2014 Media VPs and report any bugs you find in them to the FSU Mantis so that we may squish them. || Blender to POF model conversion guide
Twisted Infinities

 

Offline Topgun

  • 210
I don't know how.

 

Offline Water

  • 210
VA - That script I got you to test does export smoothing. It's set to auto smooth with an angle of 0 deg
Choices are Faceted, Auto-smooth+angle and Smooth

If you let me know the best choice/guess I can have that done for tomorrow. It will be on a full model basis (global), so may not be much use to you.

 

Offline Vasudan Admiral

  • Member
  • 211
    • Twisted Infinities
Water:
Oh, it can too - nice. :)
I was more refering to being able to read what smoothing you set up in the .BLEND file and correctly interpret that when saving the .COB, but this is still cool.

As to what it should be as default, Auto-smooth with an angle of 32 is a good default I'd say. :)


Topgun:
Ok, when you have the model open in TS, bring up the material editor. (Should be a paint pallet icon bottom of the screen)
In the material editor window, one button up from the bottom is the smoothing control. Click and hold it and it will show you the options: Faceted, Auto-Faceted and Smooth. If you select Auto-Facet and then right click it, you will be given the option to change the autofacet angle. (32 is usually good for most things)

Every time you change the smoothing at all, TS will consider it to be a different material, but PCS2 will only look at what texture map it uses. What this means is that you could have one material applied to the whole ship, and then heaps of different smoothing types all over.
Say your ship had a cylindrical part that needed smoothing, while the rest was supposed to be auto-faceted. You would first set the material to auto-facet and apply it to the whole model. Then you would change to smooth and paint over the texture on the cylindrical part.
When you convert with PCS2, you should find that the model is autofaceted with the cylinder smoothed - and there you have two smoothgroups. :)
Get the 2014 Media VPs and report any bugs you find in them to the FSU Mantis so that we may squish them. || Blender to POF model conversion guide
Twisted Infinities

 

Offline Water

  • 210
Export script for Blender:
Smoothing set to auto @ 32 degrees. You may need to download Python to get it to run.
You can't open the cob file in PCS2 yet as hierarchy is not exported properly.
Object centers are in the correct place.
Just drop .py file in the Blender scripts directory.
truespace_FS2_basic-export.zip

 

Offline Vasudan Admiral

  • Member
  • 211
    • Twisted Infinities
You can open the cobs in PCS2 actually - and because PCS2 allows you to modify the hierarchy, with some careful setup you can export fully operational models via tinkering. :)

It really only needs to able to export hierarchy before it's powerful enough to entirely replace TS, but it's flippin' close as is - and that is just brilliant. :D

The cockpit mesh in the layout thread was converted using only Blender and Water's script for example, which reminds me of the last point. With this script, one Blender unit is equal to one Truespace meter, so the standard PCS 2 conversion scaling factor works exactly as it should.
Get the 2014 Media VPs and report any bugs you find in them to the FSU Mantis so that we may squish them. || Blender to POF model conversion guide
Twisted Infinities

 

Offline Water

  • 210
Update: truespace_FS2_basic-export.zip

Changed the script to export auto smoothing angle per mesh object.

 

Offline akenbosch

  • Pretentious Noob
  • 29
  • doesent care about canon
is this exclusively for the 2.44, or will it work on 2.42 as well? because the only one i have with 3.ds import is 2.42.

Burn the sucker out of the sky!
EAT PHOTONS INFIDEL! MAY THE HEAT OF A THOUSAND SUNS CONSUME YOU! :mad2:


snail gives a debriefing: http://www.hard-light.net/forums/index.php/topic,48825.msg991954.html#msg991954

 

Offline Vasudan Admiral

  • Member
  • 211
    • Twisted Infinities
All of the versions have the 3ds import and export scripts. This script also should work in all versions. If it fails, you probably need to download the latest version of python as Water suggested: http://www.python.org/download/releases/2.5.1/
Get the 2014 Media VPs and report any bugs you find in them to the FSU Mantis so that we may squish them. || Blender to POF model conversion guide
Twisted Infinities

 

Offline Water

  • 210
is this exclusively for the 2.44, or will it work on 2.42 as well? because the only one i have with 3.ds import is 2.42.

Give it a try and let me know.  ;)

 

Offline akenbosch

  • Pretentious Noob
  • 29
  • doesent care about canon
yeah...but it exports bad geometry on 2.42.

Burn the sucker out of the sky!
EAT PHOTONS INFIDEL! MAY THE HEAT OF A THOUSAND SUNS CONSUME YOU! :mad2:


snail gives a debriefing: http://www.hard-light.net/forums/index.php/topic,48825.msg991954.html#msg991954

 

Offline Water

  • 210
yeah...but it exports bad geometry on 2.42.
Your saying 2.42 and this script exports bad geometry?

What sort of bad geometry?