Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
Evert Vorster
@evertvorster
Fantastic news! So, I can start posting screenshots?
Loki1950
@Loki1950
You should be able to.
Evert Vorster
@evertvorster
Fantastic news!
www2000
@www2000
yep i need to crack a md5 hash for upgrading the galarie software
Evert Vorster
@evertvorster
I am not even going to ask...
www2000
@www2000
hehe
Stephen G Tuggy
@stephengtuggy

So, I have been trying once more to get Vega Strike running on Windows. It has been about as frustrating as ever.

I got vcpkg going, and I got CMake to configure and generate the project files without errors, which I was very pleased with. But the resulting code still doesn't compile. The MS compiler can't seem to find the header files, even though when I right-click them in the code in the Visual Studio IDE, I can open those same header files just fine. It's pretty strange.

At least most of the warnings are gone. That's major progress. There were so many tens of thousands of warnings before, that Visual Studio would hang literally overnight trying to process them all.
Now the /W0 switch has taken effect, and silenced almost all of those warnings.
Evert Vorster
@evertvorster
Wow. @stephengtuggy I have just pushed a new commit on the PR I was busy with... you know the one where you commented on some of the changes I made to the code. Would you mind taking a minute and seeing if I did not mess it up further?
Stephen G Tuggy
@stephengtuggy
@evertvorster vegastrike/Vega-Strike-Engine-Source#326 ? Looks good.
I have approved it
Evert Vorster
@evertvorster
Thanks... I decided to go for making a copy constructor in the end.
Stephen G Tuggy
@stephengtuggy
:+1:
Evert Vorster
@evertvorster
I have a feeling that a lot of the memsets and memcpys can be done away with when we have proper constructors.
Stephen G Tuggy
@stephengtuggy
Yes, I think you're right.
Evert Vorster
@evertvorster
Sorry it took so long to get my head around it... thanks for the patience.
Stephen G Tuggy
@stephengtuggy
No problem.
Evert Vorster
@evertvorster
Now we just need Benjamin to approve the requested changes.
Stephen G Tuggy
@stephengtuggy
Yep.
Roy Falk
@royfalk
For those interested, I took a look at the Mac side of things. There's some weird stuff happening with the math libraries. If there's an issue for Mac, I'll post it there.
Also, @BenjamenMeyer can you approve #325 ? You commented that you approve but haven't actually done so. Thanks.
Benjamen Meyer
@BenjamenMeyer
already done ;)
last thing was confirming sufficient play testing
Roy Falk
@royfalk
Hmm. Page didn't refresh properly.
I'll do one more run of the test suite and merge.
Benjamen Meyer
@BenjamenMeyer
+1
Evert Vorster
@evertvorster
@BenjamenMeyer I've updated my pending PR with your requested changes. Would you mind taking a look to see that I have not messed anything up?
Evert Vorster
@evertvorster
@royfalk Just play-tested your branch now. At slow speeds I am able to fly through an asteroid....
Roy Falk
@royfalk
That makes sense. Remember, I exchanged one set of bugs for another and clearer code. Depending on the mass of the asteroid, it may not damage you enough and right now, the bounce on collision code doesn't work.
But the advantage of the new code is that someone can reasonably look at it and figure out how to do this.
Evert Vorster
@evertvorster
OK... understood. It just feels that there is no push-back from bumping into something. In real life, when you bump into something the elastic deformations cause an opposite force to propel you backwards. Bump hard enough, and those elastic forces become permanent. Then there is also the mass of the two bouncy objects to consider.
So, you should not be able to push an asteroid around unless you have some combination of serious horsepower and time on your hands
However, if you bump into something roughly your own weight it also needs to have some motion applied to it.
But I suppose we'll get there easier with this newer code, right?
Benjamen Meyer
@BenjamenMeyer
that's the hope, no?
Evert Vorster
@evertvorster
;)
Roy Falk
@royfalk
Yep.
www2000
@www2000
I add back the redirect from vega-strike.org to www.vega-strike.org
the redirects from the other sites are soon
www2000
@www2000
all the domains redirect to the www.vega-strike.org
J. S.
@ministerofinformation

OK... understood. It just feels that there is no push-back from bumping into something. In real life, when you bump into something the elastic deformations cause an opposite force to propel you backwards. Bump hard enough, and those elastic forces become permanent. Then there is also the mass of the two bouncy objects to consider.

Haven't looked at what's there now, but when last I touched it, the collision code computed the 100% elastic and 100% inelastic collisions via the momentum conservation method, applied a blend factor in terms of how elastic/inelastic the collision was, computed the resulting new vectors, and then applied the difference in kinetic energy as the damage.

J. S.
@ministerofinformation
If you're not bouncing, then my chief suspicions would lie either with the normals that are being used to define the point of collision, multiple collision detections between the same two objects interfering with each other in some novel way, or with the particulars of how the resultant forces that need to be applied are derived from the expected post-collision vectors.
Evert Vorster
@evertvorster
@ministerofinformation The code has recently been refactored, so it's not handling the same anymore. A description of how it was achieving the desired bounce would be helpful, of course.
Evert Vorster
@evertvorster
@www2000 I had a try at uploading a screenshot, but this functionality does not seem to be working yet. Good job on getting the certificates sorted, the wiki and forum now works for me.
www2000
@www2000
can you try now? i forgot install php-gd
@evertvorster any luck else i go reboot my server (update)
Evert Vorster
@evertvorster
I've just tried, no luck still.
www2000
@www2000
oke i go to reboot the server
Evert Vorster
@evertvorster
The file looks like it uploads, and I am able to add a name and so on, but when I click on the thumbnail it shows me a slideshow without my picture in it
I suppose I have to tell you that I am trying to upload a wallpaper
Evert Vorster
@evertvorster
Did it break? The page is not loading at all now