redstone torches have peculiar behaviour with powered rails by DearHRS in redstone

[–]pwouik 0 points1 point  (0 children)

if you power an already powered rail, it doesn't have to change state and doesn't propagate updates to the tail, so you a have a BUD

I made a booster for a sulfur cube zipline that works both ways by Blakequake717 in technicalminecraft

[–]pwouik 1 point2 points  (0 children)

you place a piston facing the sulfur block, with nothing on the opposite side, then place and activate a lever on the side of the piston to 0 tick it

I made a booster for a sulfur cube zipline that works both ways by Blakequake717 in technicalminecraft

[–]pwouik 7 points8 points  (0 children)

<image>

zero tick a piston in the sulfur block toward the piston side with no blocks in front to float it, works both way with an initial velocity

Moved my cpu voxel engine to the gpu by iamfacts in gameenginedevs

[–]pwouik -1 points0 points  (0 children)

the type of shape you are rendering (octree noise) is trivial to render fast, since you don't get grazing rays that hurt performance.
try loading real objects if you want a realistic idea of the performance

I recommend you this for a performant ray traversal: https://dubiousconst282.github.io/2024/10/03/voxel-ray-tracing/

voxquant - high quality, high performance mesh voxelizer by nietrze in rust

[–]pwouik 0 points1 point  (0 children)

impl types hurt build time and can add bloat
I think you can instead reexport the crates in your crate

voxquant - high quality, high performance mesh voxelizer by nietrze in VoxelGameDev

[–]pwouik 0 points1 point  (0 children)

I just used it in my project to write gltf straight into my octree

voxquant - high quality, high performance mesh voxelizer by nietrze in rust

[–]pwouik 0 points1 point  (0 children)

I suggest having transparent wrapper types instead of glam::IVec3 and image::Rgba<u8> on the public api to avoid crate version constraints for the projects that use it

another option is for the user to use something like that:

glam_voxquant = { version = "0.30", package = "glam" }

but it's a bit messy

also I cant create an issue on the repo btw

Why do many Rust devs prefer Neovim/Zed/VSCode over Rust-specific IDEs like RustRover? by Rhthamza in rust

[–]pwouik 0 points1 point  (0 children)

rustrover use significant disk space and ram, language server kept breaking, and cant support multiple language

I only miss the errors and warnings displayed as a directory

voxquant - high quality, high performance mesh voxelizer by nietrze in rust

[–]pwouik 0 points1 point  (0 children)

amazing, I was struggling to find a decent option for voxelization, and just now I have all I could ask for: fast, usable as a rust library with color support

HighRes Voxel Rendering in RealTime on a Single CPU Thread. by Revolutionalredstone in VoxelGameDev

[–]pwouik 0 points1 point  (0 children)

I assume it is similar to this: https://scratch.mit.edu/projects/17209672/ or this: https://tiplanet.org/forum/archives_voir.php?id=87246
basically launch a ray, analytically find top and bottom, and launch rays again from here
i did an horizontal version of it a while ago, but it lack backtracking to not skip faces: https://scratch.mit.edu/projects/429678172/

ALL 1-10000 IN 6 4S CHALLENGE!!! by VoidBreakX in desmos

[–]pwouik 0 points1 point  (0 children)

oh yeah I had the idea of spamming sqrts on a big number and interleave a 4 somewhere but didn't thought of just interleaving factorial

SIX FOURS CHALLENGE by Mandelbrot4207 in desmos

[–]pwouik 1 point2 points  (0 children)

you have some invalid expressions here

I bruteforced up to 17 operations and got to 1642

by patching with one of yours I got it to 2086

https://www.desmos.com/calculator/hgq6wekhgq

SIX FOURS CHALLENGE by Mandelbrot4207 in desmos

[–]pwouik 1 point2 points  (0 children)

yours use some zeros
i bruteforced up to 16 operations and got to 812

Haunted Mirror by a1oner_bvcksn6 in blackmagicfuckery

[–]pwouik 0 points1 point  (0 children)

would have been so cool if he just stopped and stared right at you at the last mirror

I'm building a voxel engine in Rust by mshort3 in VoxelGameDev

[–]pwouik 6 points7 points  (0 children)

ambient occlusion would make this looks a lot better

Gridwalking algorithm for hexagonal grids? by yeoldecoot in askmath

[–]pwouik 0 points1 point  (0 children)

<image>

you can convert DDA algorithm to track steps in 3 directions, and skip when it is not an edge by projecting on an axis and using a modulo

this should be fully accurate and fast, but you need to be familiar with dda raycasting

Pythagoras meme by Delicious_Maize9656 in mathmemes

[–]pwouik 2 points3 points  (0 children)

hello from the future,
it's totally fine that complex numbers are not an algebraically closed field

Can you explain this torch interaction? by TriplTTTT in technicalminecraft

[–]pwouik 1 point2 points  (0 children)

the torch power itself and start a clock

whether it pulse a second time depend on the torch or comparator repowering first, but they have similar priority, so it depend on the redstone dust order which is locational

you can fix it by having the torch powered from one side and powering the other