Win32 Executable from SVN

The place to discuss creating, porting and modifying Celestia's source code.
Avatar
Topic author
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 2 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Re: Win32 Executable from SVN

Post #61by cartrite » 11.10.2008, 19:57

CAP-Team wrote:Hi Cartrite,

I just tried your latest build (4493) on Vista x64, it shows the startup logo, but then.. nothing.
Build 4407 works just fine (I just changed the executable back to this version).
It worked on XP.
Dumb question here. Did you read the ATTENTION file? The one titled ATTENTION-READ_THIS_BEFORE_INSTALLING.txt? Did you change celestia.cfg?
cartrite
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

CAP-Team
Posts: 194
Joined: 27.12.2006
Age: 49
With us: 17 years 10 months
Location: Vriezenveen, the Netherlands
Contact:

Re: Win32 Executable from SVN

Post #62by CAP-Team » 12.10.2008, 09:44

Yes I did read (and applied) the changes in the config.
But I made an error in adjusting it :oops: , it's working now.
Windows 7 Ultimate x64, Intel Core i7 2600K 3.4 Ghz, 4 GB RAM, 120 GB SSD + 1 TB hdd, nVidia GTX460 1 GB, Celestia 1.6.0.xxxx
Download my latest SVN Build

Derek
Posts: 64
Joined: 18.12.2007
With us: 16 years 11 months
Location: Pretoria South Africa

Re: Win32 Executable from SVN

Post #63by Derek » 21.10.2008, 12:31

Hi Cartrite,

Are there still problems with your website as I've tried a number of times during this last weekend. I get to the site click to download the svn but nothing happens??
Derek

Avatar
Topic author
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 2 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Re: Win32 Executable from SVN

Post #64by cartrite » 21.10.2008, 16:02

Derek wrote:Hi Cartrite,

Are there still problems with your website as I've tried a number of times during this last weekend. I get to the site click to download the svn but nothing happens??
I just checked both sites and they both worked. The new site had a very slow connection though. It was slower then dialup. The website icon here at shatters points to my old site and that had a good connection. Over 300 kbs. Apparently, the new site still has problems. I did try it a second time and the download speed was better. But still about half the download speed from my old site.
cartrite
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

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

Re: Win32 Executable from SVN

Post #65by Reiko » 22.10.2008, 04:30

I apologize if this isn't the right thread for this bug report.

I'm using SVN 5412 and the asteroid.cms and roughsphere.cms models render extremely tiny to the point where you can barely see them. The strange thing is it only does this if you place them in another solar system. :(

The .cmod and .3ds models seem to render fine, it's just the .cms models that I've noticed this on.

Avatar
Topic author
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 2 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Re: Win32 Executable from SVN

Post #66by cartrite » 22.10.2008, 12:42

This sounds like you may need to add this line to your scc file.

Code: Select all

NormalizeMesh true

I'm not sure. It is supposed to be "true" by default but .cms may have been overlooked.
cartrite
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

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

Re: Win32 Executable from SVN

Post #67by Reiko » 22.10.2008, 15:51

cartrite wrote:This sounds like you may need to add this line to your scc file.

Code: Select all

NormalizeMesh true

I'm not sure. It is supposed to be "true" by default but .cms may have been overlooked.
cartrite
Do I need to add that line to every scc file that uses .cms models? Also, do I need to add that line before each .cms reference in a scc file?
I ask because I have asteroid belts full of them. :?

Avatar
Topic author
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 2 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Re: Win32 Executable from SVN

Post #68by cartrite » 22.10.2008, 16:17

I'm sorry but I don't know how to answer that. It all depends on what your scc files look like. I suggest that you try to add it to one asteroid and see if it works. Then I guess, for now, you may need to add the line to every asteroid. But if adding the line to one asteroid gets that asteroid to work, then I suggest that you start a post in the bugs forum to catch Chris's attention. Maybe this can be fixed in the code and you don't have to change anything after the fix. That is if this is a bug.
cartrite
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

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

Re: Win32 Executable from SVN

Post #69by Reiko » 22.10.2008, 16:35

cartrite wrote:I'm sorry but I don't know how to answer that. It all depends on what your scc files look like. I suggest that you try to add it to one asteroid and see if it works. Then I guess, for now, you may need to add the line to every asteroid. But if adding the line to one asteroid gets that asteroid to work, then I suggest that you start a post in the bugs forum to catch Chris's attention. Maybe this can be fixed in the code and you don't have to change anything after the fix. That is if this is a bug.
cartrite
I tried to add it to one asteroid and it didn't work. The .cms models look fine if I load them with a svn 4367 or older version of celestia.

Avatar
Topic author
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 2 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Re: Win32 Executable from SVN

Post #70by cartrite » 22.10.2008, 16:40

Post a portion of one of the scc files and I'll take a look.
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

Avatar
Topic author
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 2 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Re: Win32 Executable from SVN

Post #71by cartrite » 22.10.2008, 16:55

Reiko,
I did a quick ssc file that added an asteroid to Wolf 359. It used the roughsphere.cms as the mesh and all looked fine. I was using r4510 on Linux KDE though. I also did not have to add the "NormalizeMesh true" line.

Code: Select all

"Ida" "Wolf 359"
{
   # Data for Dactyl taken from:
   # Petit et al.: The Long-Term Dynamics of Dactyl's Orbit
   # (Icarus 1997: 130; 177-197) - linked in the InfoURL

   InfoURL "http://www.lpl.arizona.edu/~hurfordt/research/papers/Icarus130.pdf"

   Class "asteroid"
   Texture "asteroid.jpg"
   # Use the same color as for Ida--uncertain if this is correct
        Color [ 1.000 0.901 0.815 ]
   BlendTexture true
   Mesh "roughsphere.cms"
   Radius   0.7

   EllipticalOrbit
   {
   Epoch        2449228.2028  # 1993 Aug 28 16:52:05UT
   Period             0.96534 # stable 5:1 resonant orbit (Petit et al.)
   SemiMajorAxis     83.5     # stable 5:1 resonant orbit (Petit et al.)
   Eccentricity       0.13    # stable 5:1 resonant orbit (Petit et al.)
   LongOfPericenter 310       # stable pericenter at 90:E Ida longitude (Petit et al.)
   AscendingNode     90       # VERY approximate - chosen to place Dactyl north
                                   # of Ida's equator, as seen at time of Galileo encounter
   Inclination        8       # estimated at 7-9 degrees (Petit et al.)
   }

   UniformRotation
   {
   MeridianAngle   123       # place prime meridian facing Ida
   }

   Albedo 0.2
}


cms-test.jpg


cartrite
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

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

Re: Win32 Executable from SVN

Post #72by Reiko » 22.10.2008, 17:19

Funny you used wolf 359 because that is what I just used to illustrate what I'm talking about.

This first one is with the 4367
Image


This is with the 5412. Same file, same star etc.
Image

In the first screenshot I am 1,684.4km from a 292.45km radius asteroid. That is with the 4367.

Look how close I am in the second shot. 38.9 meters from a 292.45km radius asteroid. That is with the 5412.

Same file, same cms model, different versions of Celestia.

Avatar
Topic author
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 2 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Re: Win32 Executable from SVN

Post #73by cartrite » 22.10.2008, 17:22

I can see the size difference. But I need to see the ssc file. Maybe I can see what you may need to change. It must have something to do with the radius you are using.
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

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

Re: Win32 Executable from SVN

Post #74by Reiko » 22.10.2008, 17:29

ok

Code: Select all

"testroid" "wolf 359"
{
   NormalizeMesh true
   Mesh "asteroid.cms"
   Class "moon"
   Texture "gc_moons_02.jpg"
   Color [ 0.56 0.67 0.62 ]
   BlendTexture true
   Radius 292.45
   EllipticalOrbit {
      Period            18.2805
      SemiMajorAxis     7
      Eccentricity      0.0002
      Inclination       -8.0033
      MeanAnomaly       145.77
   }
   RotationPeriod 0.98
   Obliquity 1.62
   Albedo 0.54
}

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

Re: Win32 Executable from SVN

Post #75by Reiko » 22.10.2008, 17:30

P.S. I tried both with and without the NormalizeMesh true line.

Avatar
Topic author
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 2 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Re: Win32 Executable from SVN

Post #76by cartrite » 22.10.2008, 17:55

The ssc file I did used a radius of 0.7 or 700 meters. When this is used, the asteroid is full size. When I used your radius of 292.45 km, the onscreen text confirmed that the size was 292.45 km but the model was tiny. "NormalizeMesh true" or "NormalizeMesh false" had no effect on size. But adding the line

Code: Select all

MeshScale 292.45
got the model to render the correct size. I'm not sure but this may be a bug. I'll start a thread in the bug forum.
cartrite
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

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

Re: Win32 Executable from SVN

Post #77by Reiko » 22.10.2008, 18:00

cartrite wrote:The ssc file I did used a radius of 0.7 or 700 meters. When this is used, the asteroid is full size. When I used your radius of 292.45 km, the onscreen text confirmed that the size was 292.45 km but the model was tiny. "NormalizeMesh true" or "NormalizeMesh false" had no effect on size. But adding the line

Code: Select all

MeshScale 292.45
got the model to render the correct size. I'm not sure but this may be a bug. I'll start a thread in the bug forum.
cartrite
Thank you for looking into it. This happens with any cms model, not just that one and it doesn't seem to matter how many you have in a ssc file.

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

Re: Win32 Executable from SVN

Post #78by Fenerit » 26.10.2008, 14:15

Cartrite, just FYI, no problems found until now with your new patch. I ask to me if my personal procedure of deleting al the time the shaders.log before to load any new patch is a ridiculus operation or can help in "free the road" for a stable response. :)
Never at rest.
Massimo

CAP-Team
Posts: 194
Joined: 27.12.2006
Age: 49
With us: 17 years 10 months
Location: Vriezenveen, the Netherlands
Contact:

Re: Win32 Executable from SVN

Post #79by CAP-Team » 31.10.2008, 19:23

I've been running Vista 64 bit for a couple of weeks now, I was wondering if it is possible to compile a 64-bit executable for Celestia. And ofcourse would this differ in performance?
My system has 4 GB of RAM.
Windows 7 Ultimate x64, Intel Core i7 2600K 3.4 Ghz, 4 GB RAM, 120 GB SSD + 1 TB hdd, nVidia GTX460 1 GB, Celestia 1.6.0.xxxx
Download my latest SVN Build

Avatar
Topic author
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 2 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Re: Win32 Executable from SVN

Post #80by cartrite » 31.10.2008, 21:28

CAP-Team wrote:I've been running Vista 64 bit for a couple of weeks now, I was wondering if it is possible to compile a 64-bit executable for Celestia. And ofcourse would this differ in performance?
My system has 4 GB of RAM.
I also have a 64bit processor but I don't use the Windows64 bit OS. I'm still using Windows32 bit XP on my computer. I do have Linux x86_64 Open Suse 10.2 also installed on my computer (dual boot) and compile Celestia regularly. But I suspect it is still compiling 32 bit code. Almost all the packages installed on my computer's Linux system has 64 bit and 32 bit versions.

I don't think Celestia's code is 64 bit so you'll probably still be generating 32 bit code with Vista64. Still, I don't think I have the necessary knowledge to answer your question accurately.

My system performance is about the same on both OS systems and they use the same hardware. I think the Linux system is a little faster though but this may be because it is using a 64 bit driver for the graphics card.

cartrite
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4


Return to “Development”