|
Busy, busy, busy ... done.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I'm looking for the original trava.fbx model for an old XNA game called Legenda o Zmaju programmed by Ivan Šoštarko. The source code with assets is available for download from GitHub but the model in question is missing. I've tried to use some other grass models availabe for download from the Internet instead the original but with no success. They just doesn't work even if I modify texture paths on them to point to the original texture file path. The texture coordinates still remains wrong so the result is not as expected (in the game world). So now if someone has the model file I would really do appreciate it if he or she put the file available for download to some site for example to here.
|
|
|
|
|
I'd start by raising this with the GitHub author: it may be an oversight, or they can tell you more easily than we where to start looking. Or it could be you built it wrong, we don't know!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
There are several models in the project in question which does not build right because of texture paths points to wrong places but those can be fixed simply by using blender and a hex editor. But it's bretty much sure you can't build anything which is missing, in a wrong way.
What I think this is not depending on GitHub but the author. I've tried to contact the author by email because making a pull request is blocked at his github blog, but without any success yet.
No problemo anymore, I converted a grass.fbx model to ascii format and manually changed wrong coordinates to fit the game world and then converted it back to binary and renamed. Now the game works fine.
|
|
|
|
|
Griff will understand what you did, but be careful not to irritate the ignorant Java Scriptors too much.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
|
I vaguely remember writing Rolex: Unicode Enabled Lexer Generator in C#[^]
Well, I needed some code from it for Reggie[^] , which is a code generation tool that generates C# code to match strings using a non-backtracking Regex engine so it works over fast forward-only streams of any size (unlike .NETs) and it's faster than .NETs regex so it's really good for scraping data, and also good for validating that passed in strings match the expressions (for doing things like form field validation)
Anyway, I was ripping the code out of Rolex and I'm amazed at how clean it is despite its complexity.
I have this tool called deslang.exe that does most of the heavy lifting so it exports whole code blocks (written in C#, rendered in language independent code (vb/c#/etc) and macroizing them so it's simple to make all the classes, and heckin maintainable despite writing code in various languages. There's only one copy of the code templates to maintain and they are in C#. It all happens as part of the build process. Deslang is just a build tool that makes code macro magic.
I only kind of remember doing this. And yet I understand it after picking it up well after the fact. Win.
Plus the "FastFA" engine I made is just smart. I thought I ran into a bug with it, and I was terrified because it meant Rolex (long since released) was generating bad code, but nope. It was my present self using it wrong (silly mistake on my part, i was calling the wrong function). It's fast, to the point, and can render itself to pretty graphs for debugging purposes, so it was easy to find my mistake, and determine that it didn't come from this engine.
Clean. Clean. Clean. And solid. Very few comments because it doesn't need much.
This doesn't happen to me very often. I love this code.
It's nice to be able to wake up in the morning and dig through an old project and find everything works as expected.
It's not intended as a brag, I'm just.. I'm having a really good day so far. Everything I touch is gold apparently. I should buy a lotto ticket
Real programmers use butterflies
modified 24-Oct-21 15:22pm.
|
|
|
|
|
Good on ya
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
|
|
|
|
|
honey the codewitch wrote: I should buy a lotto ticket Do it, who knows...
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
honey the codewitch wrote: I'm having a really good day so far
More to come
"The only place where Success comes before Work is in the dictionary." Vidal Sassoon, 1928 - 2012
|
|
|
|
|
If you do, watch the vid.
But be aware that the "F-word" appears on screen several times, because it was included in the game code comments - and I can understand why ... that's about the one time I'd let it pass in my code as well.
Fast Inverse Square Root — A Quake III Algorithm - YouTube[^]
That is so obvious once you've seen it! (The vid deserves a like purely for the quality of the explanation.)
And a damn good introduction to IEEE 754 as well.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I love this stuff.
Real programmers use butterflies
|
|
|
|
|
Herself didn't understand why I was laughing out loud.
She really didn't understand when I explained what I was watching ("IEEE 759, the International Standard for floating point number representation in computers" and a "square root calculating function") and that I was laughing with joy.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
That's probably the best explanation for that algorithm I've seen so far
|
|
|
|
|
I loved that video, he should do more as he's very talented in explaining complex stuff.
GCS d--(d-) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
It's just so rare to find anything on YT where the author knows what he's talking about, and can explain it so well.
He should do more.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I have a bunch of channels I love.
MVG - Modern Vintage Gamer usually speaks about homebrew / how console were cracked;
Coding Secrets is the channel of Sonic the Hedgehog programmer and explains how they did some "impossible" tricks on SEGA Genesis or PS1 hardware;
Dring 4 Answers taught me more about engines, cars, turbines than I could ever imagine;
Yarnhub, SimpleHistory and the Armchair Historian got me deeper into history than ever.
I also follow an unholy number of gun channels and a bunch of swordmanship / medieval weapons channels.
GCS d--(d-) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
Have a look at ThisOldTony as well - he's an amateur metalworker who explains things really well.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I see we speak the same language
GCS d--(d-) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
den2k88 wrote: I also follow an unholy number of gun channels and a bunch of swordmanship / medieval weapons channels.
And appear on sooooo many "antiterrorism lists" ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I got used to that the day I looked for some fun takes on N*zi propaganda (i.e. the video of Born to be Alive with Mr. Moustache "dancing" to it) but of course YouTube collected it under N*zi videos.
Alongside black metal, swords, guns, explosives. So yeah, I am on at least a dozen no-fly lists.
GCS d--(d-) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
Tom Scott's channel is highly recomended, esp if your a brit.
|
|
|
|
|
I watch his videos occasionally, he's fine but a bit all over the place, I prefer very specific channels with in depth explanations. Though Tom Scott often piques my curiosity with interesting trivia.
GCS d--(d-) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
If you like music, you should check out Rick Beato, especially the "what makes the song great" series.
|
|
|
|
|
Check out bigclive - very good.
|
|
|
|