Which "Mesh" to use

General discussion about Celestia that doesn't fit into other forums.
Topic author
Derek
Posts: 64
Joined: 18.12.2007
With us: 16 years 11 months
Location: Pretoria South Africa

Which "Mesh" to use

Post #1by Derek » 07.09.2008, 15:57

Hi,

A bit of advice or preference as to which "mesh" is better to use ".cmod" or ".3ds" and perhaps the advantage of using one or the other.

thanks
Derek

BobHegwood
Posts: 1803
Joined: 12.10.2007
With us: 17 years 1 month

Re: Which "Mesh" to use

Post #2by BobHegwood » 07.09.2008, 16:51

Derek wrote:Hi,

A bit of advice or preference as to which "mesh" is better to use ".cmod" or ".3ds" and perhaps the advantage of using one or the other.

thanks

I will sometimes create an ASCII cmod from a 3ds file in order to repair a texture which is not behaving as it should.
Of course, if I could figure out how to change the texture names using Anim8or, or some other 3D creation program,
this would probably be unnecessary. I do very often use this technique to create first, ASCII models, and then binary
cmods when I'm finished correcting any problems though. The cmods are simply much easier to deal with when you are
having to modify something and you don't know what you are doing with a 3D program. :wink:
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN

ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 19 years 9 months

Re: Which "Mesh" to use

Post #3by ElChristou » 07.09.2008, 18:16

Cmods are much faster within Celestia (better loading time, better FPS)...
Image

linuxm@n
Posts: 139
Joined: 14.02.2006
With us: 18 years 9 months
Location: Montpellier France

Re: Which "Mesh" to use

Post #4by linuxm@n » 09.09.2008, 11:33

ElChristou wrote:Cmods are much faster within Celestia (better loading time, better FPS)...


Yes it is faster in Cmod, i use now them in my addons but the final file is very big, for example Discovery.3ds = 8 mb
and i use this script to convert it ( wine mean that i use it on linux )

wine 3dstocmod.exe discovery.3ds>discovery.cmod

wine cmodfix -b discovery.cmod discovery.cmod

wine cmodfix -u -w -n -s 45 discovery.cmod discovery.cmod

wine cmodfix -o dave.cmod dave.cmod

The final file: Discovery.cmod = 30Mb

Is that the good way ?

(Discovery.cmod 30Mb run faster with best fps)

Linuxman
StarWarSaga 2001 odyssey Back in USSR by linuxman

http://celestiasws.free.fr

AMD-64x2-6000 4 gb DDR2-800 geforce GTX460 1gb Asus M2N-sli-d Apple cinema display 23" Linux Gentoo 64 bits Vista pro 64 bits celestia 1.60 official

ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 19 years 9 months

Re: Which "Mesh" to use

Post #5by ElChristou » 09.09.2008, 11:50

I don't use the command lines so I don't have them in mind, but what is important to reduce the final file size is to use the 'Eliminate duplicate vertices' and 'Optimize triangle lists to strips'. Also a Binary will be lighter than a text Cmod...
Image

Reiko
Posts: 1119
Joined: 05.10.2006
Age: 41
With us: 18 years 1 month
Location: Out there...

Re: Which "Mesh" to use

Post #6by Reiko » 29.09.2008, 22:07

BobHegwood wrote:
Derek wrote:Hi,

A bit of advice or preference as to which "mesh" is better to use ".cmod" or ".3ds" and perhaps the advantage of using one or the other.

thanks

I will sometimes create an ASCII cmod from a 3ds file in order to repair a texture which is not behaving as it should.
Of course, if I could figure out how to change the texture names using Anim8or, or some other 3D creation program,
this would probably be unnecessary. I do very often use this technique to create first, ASCII models, and then binary
cmods when I'm finished correcting any problems though. The cmods are simply much easier to deal with when you are
having to modify something and you don't know what you are doing with a 3D program. :wink:

You wouldn't happen to have a tutorial on how to make an ASCII cmod from a .3ds model? I've been trying to convert .lwo modes to .3ds but the texture names often need to be changed or altered.

rthorvald
Posts: 1223
Joined: 20.10.2003
With us: 21 years 1 month
Location: Norway

Re: Which "Mesh" to use

Post #7by rthorvald » 29.09.2008, 23:16

Reiko wrote:You wouldn't happen to have a tutorial on how to make an ASCII cmod from a .3ds model? I've been trying to convert .lwo modes to .3ds but the texture names often need to be changed or altered.

For OSX there is a nice 3ds>cmod converter by dirkpitt, and there is a similar tool for windows also somewhere in the forums. But you don?t need this just to fix texture names - just get a hex editor (several freeware ones around) and open the 3ds files in that. Then it is a simple search-replace. But of course, cmods are a better deal if you are going to use your model with Celestia.

- rthorvald
Image

Reiko
Posts: 1119
Joined: 05.10.2006
Age: 41
With us: 18 years 1 month
Location: Out there...

Re: Which "Mesh" to use

Post #8by Reiko » 29.09.2008, 23:18

rthorvald wrote:
Reiko wrote:You wouldn't happen to have a tutorial on how to make an ASCII cmod from a .3ds model? I've been trying to convert .lwo modes to .3ds but the texture names often need to be changed or altered.

For OSX there is a nice 3ds>cmod converter by dirkpitt, and there is a similar tool for windows also somewhere in the forums. But you don?t need this just to fix texture names - just get a hex editor (several freeware ones around) and open the 3ds files in that. Then it is a simple search-replace. But of course, cmods are a better deal if you are going to use your model with Celestia.

- rthorvald
You know of a good HEX editor to recommend?

rthorvald
Posts: 1223
Joined: 20.10.2003
With us: 21 years 1 month
Location: Norway

Re: Which "Mesh" to use

Post #9by rthorvald » 29.09.2008, 23:30

You know of a good HEX editor to recommend?
I am on OSX, and use HexEdit. If you are on a different platform, i am afraid you?ll have to turn to Google.

- rthorvald
Image

Avatar
Fenerit M
Posts: 1880
Joined: 26.03.2007
Age: 17
With us: 17 years 8 months
Location: Thyrrenian sea

Re: Which "Mesh" to use

Post #10by Fenerit » 01.10.2008, 22:43

Just a tip: do not create tangents when are not required (all the situations in which the "ray tracing" is not important as well as bumps); the end file will be much more small.
Never at rest.
Massimo

BobHegwood
Posts: 1803
Joined: 12.10.2007
With us: 17 years 1 month

Re: Which "Mesh" to use

Post #11by BobHegwood » 01.10.2008, 22:58

Reiko wrote:You wouldn't happen to have a tutorial on how to make an ASCII cmod from a .3ds model? I've been trying to convert .lwo modes to .3ds but the texture names often need to be changed or altered.

Reiko,

For Windows you can find a very easy to use converter on the Motherlode at the following URL.
http://www.celestiamotherlode.net/catal ... ities.html

Is very easy to use. For non-Windows systems, please reference the other advice listed above.
Thanks, Bob
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN

Reiko
Posts: 1119
Joined: 05.10.2006
Age: 41
With us: 18 years 1 month
Location: Out there...

Re: Which "Mesh" to use

Post #12by Reiko » 02.10.2008, 19:34

BobHegwood wrote:
Reiko wrote:You wouldn't happen to have a tutorial on how to make an ASCII cmod from a .3ds model? I've been trying to convert .lwo modes to .3ds but the texture names often need to be changed or altered.

Reiko,

For Windows you can find a very easy to use converter on the Motherlode at the following URL.
http://www.celestiamotherlode.net/catal ... ities.html

Is very easy to use. For non-Windows systems, please reference the other advice listed above.
Thanks, Bob

Thank you. :)


Return to “Celestia Users”