Posts by Janus

by Janus
23.04.2020, 16:33
Forum: Development
Topic: A Forking Commit Thread.
Replies: 100
Views: 27914

Re: A Forking Commit Thread.

Okay, here we are with some more fun. Still in the beta stage, so glitches are expected. Once I am sure everything works, I will be removing the extra verbage from the data, but for now, I use it. My RaDec function now searches solar system bodies. Uses closestsolarsystem function, be careful where ...
by Janus
22.04.2020, 01:53
Forum: Development
Topic: Question for those who compile: Which OS & Compiler.
Replies: 2
Views: 1670

Question for those who compile: Which OS & Compiler.

This question is asked out of simple curiosity. Perhaps it should be a poll, but I do not know how to do those. Strictly for those who compile Celestia themselves. Which OS & Compiler do you use? I myself am currently using WIn7 64-bit & VS2015. Wondering what others use, and how many people...
by Janus
21.04.2020, 03:52
Forum: Development
Topic: Celestia 1.7.0 Development Thread
Replies: 1079
Views: 402059

Re: Celestia 1.7.0 Development Thread

Besides needing to copy/paste the exact ttf font name into the cfg file.
I found that I needed to copy the ttf file into /fonts for it to be found.


Janus.
by Janus
18.04.2020, 19:08
Forum: Development
Topic: A Forking Commit Thread.
Replies: 100
Views: 27914

Re: A Forking Commit Thread.

The question raised by SamwiseBrave in the 1.70 development thread got me thinking. After getting my RaDec command working finally, A thought occurred to me. In /src/celengine/marker.h Symbol is defined as an enum. It along with size, color & label are what define the visible marker attributes. ...
by Janus
17.04.2020, 14:41
Forum: Development
Topic: A Forking Commit Thread.
Replies: 100
Views: 27914

Re: A Forking Commit Thread.

@selden I always want to hear about problems. I can't fix what I don't know is broken. First, this is an alpha test, perhaps beta, on a celx function written from scratch. The 1st distance value is not from the earth, it is from the observer, move forward or back and it changes. In my private fork(s...
by Janus
17.04.2020, 05:24
Forum: Development
Topic: A Forking Commit Thread.
Replies: 100
Views: 27914

Re: A Forking Commit Thread.

Sorry about that, I forgot to turn optimizations back on. Debugging with them on doesn't work very well. Besides, this was about tinkering with a new function, seeing if people like it. The following should take you to Arcturus. local qst qst = celestia:RaDec(214,19) celestia:print("qst:" ...
by Janus
17.04.2020, 00:58
Forum: Development
Topic: A Forking Commit Thread.
Replies: 100
Views: 27914

Re: A Forking Commit Thread.

Okay, here is a new one. Big difference this time is in celx. For people like me, here is a new tool. celestia:RaDec(RA, Dec); (Degrees only, not hour minute second.) There is a third optional parameter, 'Type', which is not implemented yet. Right now it searches stars, returning the closest one to ...
by Janus
15.04.2020, 18:18
Forum: Development
Topic: Celestia 1.7.0 Development Thread
Replies: 1079
Views: 402059

Re: Celestia 1.7.0 Development Thread

A possible way to achieve this is with a script. I know it probably won't match exactly. The following is adapted from a script for one of my mod sets, betwixt:between:RaDecDist, which lets me do distance calculations easily. This particular one searches for stars of particular types near each other...
by Janus
11.04.2020, 16:23
Forum: Help Central
Topic: Order that Celestia loads files.
Replies: 8
Views: 2011

Re: Order that Celestia loads files.

Scratch that. After getting a good look at what has been done, I am rewriting it for my own fork. The loading routines now use fs::recursive_directory_iterator which makes a very effective random loading order function. This is the sort of thing I normally remove when I find it, along with any other...
by Janus
11.04.2020, 04:01
Forum: Help Central
Topic: Order that Celestia loads files.
Replies: 8
Views: 2011

Re: Order that Celestia loads files.

@LukeCel
It took me a while to find it in my backups, but I have it.

However, there have been changes since I made it.
directory.cpp is now fs.cpp, and structured somewhat differently.

I can either post what I did back then, or I can reimplement it, then post the updated code.

Your choice.


Janus.
by Janus
10.04.2020, 23:01
Forum: Help Central
Topic: Order that Celestia loads files.
Replies: 8
Views: 2011

Re: Order that Celestia loads files.

Exact loading order defined by the combination of OS, Caching, & entries in file system. Hence there is no method to control, influence or even effect the load order. I fixed this in one of my mods, (At selden's request.), and I personally prefer it. Selden if I remember correctly, noted that it...
by Janus
09.04.2020, 03:12
Forum: Development
Topic: Need help with compiling Celestia
Replies: 16
Views: 3875

Re: Need help with compiling Celestia

@SevenSpheres Let me be clear, I AM NOT A VS EXPERT, just someone faking their way through. I spend more time in assembly than C & C++ combined, and prefer it. It gets tiring dealing with C/C++ dialects, and the latter's love of virtualization & indirection. Open the sln with VS. Across the ...
by Janus
09.04.2020, 00:55
Forum: Development
Topic: Need help with compiling Celestia
Replies: 16
Views: 3875

Re: Need help with compiling Celestia

Welcome to assertion H$LL, C++ purgatory.

I never build debug if the source contains asserts.
Checks for errors yes, but asserts have never been worth messing with for me.
If you need to trace, do a traceable build with pdb, map & debugable assembly.

Have fun.


Janus.
by Janus
08.04.2020, 04:00
Forum: Development
Topic: Need help with compiling Celestia
Replies: 16
Views: 3875

Re: Need help with compiling Celestia

@SevenSpheres You did better than I did when I tried to get vcpkg working. I got absolutely nowhere with it. The system I was handed by customer as a loaner has VS2015/17/19 on it, but vcpkg.exe is nowhere. Besides, unless it can keep separate repositories for each VS version, it accomplishes nothin...
by Janus
07.04.2020, 22:39
Forum: Development
Topic: Need help with compiling Celestia
Replies: 16
Views: 3875

Re: Need help with compiling Celestia

I can't help you with the vcpkg & cmake issues, which is what you are fighting. I can however offer you a VS2015 static link source tree, (Commit 5772), with support libraries ready to compile. You can use it directly if you install and select the VS2015 compiler setup for VS2019. I have not use...
by Janus
07.04.2020, 06:19
Forum: Development
Topic: A Forking Commit Thread.
Replies: 100
Views: 27914

Re: A Forking Commit Thread.

@onetwothree Sorry, I should have been specific. I have been trying to get the celestia-dome code to compile. I got the 1.4.1 code to compile in VS2015. However, I am unable to do the same with the dome code. A shader is compiled in initsim using some external library (glx?) in a context I am unable...
by Janus
06.04.2020, 19:21
Forum: Development
Topic: A Forking Commit Thread.
Replies: 100
Views: 27914

Re: A Forking Commit Thread.

@onetwothree Thanks for the warning. A quick look indicates there is a static link option. However, I will likely have to create a VS sln/vcxproj for it in order to do anything with it. The reason is the default build is with mingw. Which I will not be able to use until I finish making a wxwidgets f...
by Janus
06.04.2020, 07:54
Forum: Development
Topic: A Forking Commit Thread.
Replies: 100
Views: 27914

Re: A Forking Commit Thread.

Okay, been a while, been busy. With all the fun lately, I have finally caught up. Also, lots of free time, I mean lots of free time. Been trying to make good use of it. As per a request, here is commit 5772, with some of my tweaks. The first shows Ra, Dex & Dist. The second, as above, but also h...
by Janus
24.03.2020, 15:54
Forum: Development
Topic: Spherical Mirror Projection?
Replies: 47
Views: 13335

Re: Spherical Mirror Projection?

I am finally back to working on this, had to fix some hardware with kinetically accelerated failure states. Lost months of private work, had to reinstall from scratch. //Details like monies to be settled by others, for now I am on spare hardware. The feedback you provided above answers one question ...
by Janus
20.03.2020, 18:12
Forum: Development
Topic: Celestia 1.7.0 Development Thread
Replies: 1079
Views: 402059

Re: Celestia 1.7.0 Development Thread

@selden I just checked and the cursor is visible in full screen on my system. At the moment it is dual screen W7 64-bit using open shell & 7+ taskbar tweaker, with classic theme selected and 3d/shadows enabled. Will only full screen on primary monitor, which is annoying, I wanted to test both. S...

Go to advanced search