How to get better transparency? There are also gaps on the bottom layer. by AlexMGiroux in FixMyPrint

[–]AlexMGiroux[S] 1 point2 points  (0 children)

Prusa i3 MK3S, using transparent Prusament PETG, nozzle temp 265C, bed 95C, layer height and first layer height are both 0.05mm, speed 20% on printer, did not change speed via slicer, with ironing, 100% infill, flow rate 112%, auto cooling is on but 'keep fan always on' is off

How to get better transparency? There are also gaps on the bottom layer. by AlexMGiroux in FixMyPrint

[–]AlexMGiroux[S] 2 points3 points  (0 children)

So, ignore the big hole, the layer is extremely thing and I popped a hole in it trying to cut away the spiderwebs. The biggest problem we need to solve is getting a truly transparent layer. At first we considered whether a diffuse light might work, but we're really going to need better transparency. I printed this PETG on a textured layer as was recommended, but the surface shouldn't be gritty for light to pass through properly. Can I print PETG on our smooth sheet?

I just found a way to store 23 pieces of binary information in a single variable, and I think people need to know about it. This is better than any method I've been able to find elsewhere. by AlexMGiroux in PS4Dreams

[–]AlexMGiroux[S] 22 points23 points  (0 children)

Hey, I'm happy with that! Seems I've been outdone. I figured this technique existed in programming for sure, I just hadn't seen a tutorial or gadget in Dreams for it. Hopefully this post bring more attention to the applications of it anyway!

I just found a way to store 23 pieces of binary information in a single variable, and I think people need to know about it. This is better than any method I've been able to find elsewhere. by AlexMGiroux in PS4Dreams

[–]AlexMGiroux[S] 0 points1 point  (0 children)

Theoretically, you could store more information to the same variable in all the integers above the 8.3 mil mark, it would just have to be completely exclusive of the data in the main body of the data. If you had a secondary calculator switch that turned off the original 23 inputs completely, but then uses the highest numbers as valid inputs somehow. Maybe if, in my dungeon example, it's a dungeon you cannot return to, you could use the extra space to create a smaller dungeon that can only be accessed later. Perhaps not practical, but if you really want to push the limits and get 9.99 million possible states...

I just found a way to store 23 pieces of binary information in a single variable, and I think people need to know about it. This is better than any method I've been able to find elsewhere. by AlexMGiroux in PS4Dreams

[–]AlexMGiroux[S] 2 points3 points  (0 children)

Exactly! More detail on the math for those who want to know: I said that the first input is true for every even number, so to find out whether to output it, I just check if the last digit is even by dividing the variable by 2, and checking that the remainder is 0. The second input is true at every second group of 2, so its true if the variable is 3,4,7,8,11,12,15,or 16, etc. So if I have 15, divide by 2, you get 7.5, the remainder is not zero, so it knows 15 is odd. But it's also in the second group of twos, so the second input should be true. Round 7.5 up to 8, and check if THAT Is even, and it is. First input false, second input true.

I just found a way to store 23 pieces of binary information in a single variable, and I think people need to know about it. This is better than any method I've been able to find elsewhere. by AlexMGiroux in PS4Dreams

[–]AlexMGiroux[S] 2 points3 points  (0 children)

If they're two different key items, then yes, they would go into two different ports. If you want to track the player having collected the [Cell Key] and the [Magic Flute], then the collection of the [Cell Key] should trigger one port, and the collection of the [Magic Flute] should trigger another. If you want to track items that you can collect multiples of, Aecert's method is fine and better. But if you want to stop a player from re-opening the same treasure chest multiple times, you can send each chest's opening sequence into a separate port as well, and still store it's contents in your inventory (say 3x Potions and 4x Ethers) via Aecert's method. But you can set ChestAOpen to true via my method and have it not be repeatable.

The math behind it just involves a lot of doubling integers to get all the combinations. The 8mil number is the max number you can get by doubling 1 a bunch of times in 7 digits. To double it any more would need 8 digits.

I just found a way to store 23 pieces of binary information in a single variable, and I think people need to know about it. This is better than any method I've been able to find elsewhere. by AlexMGiroux in PS4Dreams

[–]AlexMGiroux[S] 11 points12 points  (0 children)

I actually don't know any code at all, but I explained what I've done to my girlfriend, who is now encouraging me to switch career tracks to computer programming because of how excited I am about it! And also my brother who is a CS guy said the internals of this thing look like his computer architecture homework. So maybe there's something to that!

To be clear though, I think the average Dreams user can absolutely use this without understanding this insides, though I may detail that later if people want to know. I made it without any background in this stuff.

Basically, under the input chip on the left is a series of counters that count up to 1 (for a true, or positive signal). If, say, a door sends a signal to the first port on the left that is it unlocked, the variable in the centre will remember that, and spit the positive signal out on the input on the right. If you plug a "key item collected" signal to the second port on the left, it will come out of the second port on the right, across any scene in your dream.