Guild icon
DDraceNetwork
DDraceNetwork / off-topic
Any languages allowed
Between 2024-10-17 00:00 and 2024-10-18 00:00
Avatar
Avatar
Gumba
its a bot
Теперь ты бот
nobot 1
02:42
02:42
Avatar
Avatar
Jupstar ✪
@TsFreddie I played some Minecraft VR and some other games. Gotta admit, I didn't know VR works that well. I once tested VR with my phone as screen, but that was pretty pixelated and bad FOV. A real VR headset... WOW 😄 Looks really amazing that everything feels so 3D and almost as if you are part of the world. And I feel sick now after jumping from some cliffs xD
i mean....
03:13
duh
03:13
too bad i don't work for VR anymore
03:13
lost interest
03:14
until my non compete agreement expires i guess lol
Avatar
its a bot lol don't need to lie here silly teerokek
Avatar
Avatar
Ryozuki
after some consideration i changed my blog from CC-BY-SA-ND to CC-BY-SA
A rare CC BY-SA-ND in a wild...
Avatar
Avatar
Ryozuki
ppl arleady translated my blog posts in random chinese webs anyway
oh no you don't want that
Avatar
cc by sans
Avatar
Avatar
Jupstar ✪
Do you get used to the sickness factor? You as dev should know xD
Some of it I did get used to, like walking around while sitting irl. However, falling is one I never really "got over". My stomach drops when I take a vr fall still 😄
Avatar
Avatar
Твоя дудочка☺
Ну египтяне вообще конченные
gigachad 1
Avatar
Avatar
EGYT
Click to see attachment 🖼️
always thought it meant kiss your sister
06:15
now i get what i did wrong through the years
Avatar
Avatar
Derek
always thought it meant kiss your sister
usually it means "kill yourself", but I am not that kind of a person 👼
Avatar
bro i know
06:16
it was a so called joke
06:16
>.>
Avatar
Avatar
Jupstar ✪
Do you get used to the sickness factor? You as dev should know xD
kinda
06:17
i can do locomotion in VR now, but only if i didn't care. immersion often make you more prone to sickness actually
06:18
but i still think teleporting is the best if designed properly around it.
06:19
but we did make a game where you literally do jumping similar to pole vaulting, spent way to much time optimizing the movement to decrease the motion sickness factors.
Avatar
Avatar
Learath2
Some of it I did get used to, like walking around while sitting irl. However, falling is one I never really "got over". My stomach drops when I take a vr fall still 😄
cuz most game don't know how to make falling lmao
06:24
InsaneCat we did some R&D just on how to accelerate players. we found 0.8g or lower in VR is actually quite good for motion sickness based on some survey. if that feels too slow we also fake it by teleporting the player down when they move their head. people hardly notice we are not even accelerating them to the ground.
06:25
they paid me way too less for these.
Avatar
Attached: 1 image A friendly reminder that if you have EU citizenship, YOU CAN SAVE GAMING. Kinda big deal. https://stopkilinggames.com I signed the EU initiative, and you should too. Games being bricked after you bought them should be illegal, it's that simple. Please tell your friends - this needs over a million signatures, but we're in t...
Avatar
Avatar
TsFreddie
InsaneCat we did some R&D just on how to accelerate players. we found 0.8g or lower in VR is actually quite good for motion sickness based on some survey. if that feels too slow we also fake it by teleporting the player down when they move their head. people hardly notice we are not even accelerating them to the ground.
Wow that's actually interesting
07:13
not that i care about it or anything
Avatar
Is 90hz screen refresh rate really enough?
07:14
Seems kinda low
Avatar
72hz on quest 2 is ok
07:14
honestly
Avatar
How
Avatar
idk
07:14
but i don't feel like 72hz is too low
Avatar
On desktop 60hz is basically unusable
Avatar
90 or more definetly feels a lot better
07:15
but 72 is servicable
07:15
i don't feel weird looking at 72 content
Avatar
I've never used a proper VR headset unfortunately
Avatar
also they usually have 120hz screen. you can just render your content at 72 or lower but do space warpping on device i guess
07:16
you will notice low refresh rate if you look at your hand closely and wave it around. but just moving your head is fine because the space wrapping thing (edited)
07:17
although space warpping also complicates locomotion. but it still feels ok at 72, and pretty good at 90
07:18
some game renders at 36 just to push more graphics but i don't like that method tbh. maybe it works fine for standing content. moving content probably not
Avatar
Obviously the solution is to render the game at 1/4 the resolution and upscale it with AI + generate entirely new frames in between
Avatar
upscaling on mobile is expensive
07:20
a lot more expensive than you thought
Avatar
And it looks shit
07:20
Even dlss is shit
Avatar
we can't even do FXAA
cammo 1
07:21
for tiled mobile gpu, reading back the screen to do post processing is the most expensive thing you can do unintentionally
07:22
if you read the screen buffer you lose like 3ms immediately even if you don't do anything with it
07:22
if you want to do that on mobile VR. you better make tons of post processing to make it worth it
07:23
InsaneCat
Avatar
Portable headsets are nice but a gaming PC will be better right
Avatar
ye but mobile VR is kinda freeing
07:26
no tether and stuff
07:26
you can just walk around without worrying about tripping yourself
07:27
there is wireless pc streaming but it kinda kills CPU performance on PC so it isn't that great on CPU heavy titles
Avatar
Avatar
pilonpl
Wow that's actually interesting
also optimizing that it's just one of those things where the manager ask you to "fix" motion sickness because players are complaining about it even though you've warned the production team that it WILL happen if they proceed with game ideas that requires locomotion so you end up spending extra work hours just to research so you can implement some counter-mesures and all managers have to say about it is "told you it could be done"
07:28
HUH
Avatar
Is it a big issue to render the scene from two perspectives?
Avatar
Avatar
pilonpl
Is it a big issue to render the scene from two perspectives?
you can render it once
07:32
forgot how exactly that works, but it is like uploading the buffer once and draw twice. saves a lot draw calls
Avatar
Well i have no idea how graphics work lol
Avatar
you can also just draw two camera but that's as expensive as you can imagine
Avatar
But i would assume you have to take into account the fact that eyes aren't parallel when looking at things up close
Avatar
although drawing two cameras saves tons of headache because it works with every rendering tricks you throw at it. but for instanced single pass you need to make sure all your shaders works with instanced drawing
Avatar
Avatar
pilonpl
But i would assume you have to take into account the fact that eyes aren't parallel when looking at things up close
you don't worry about that, because it is physically impossible for you to focus close up objects so we don't bother
07:35
if you brain thinks you are looking at something close, you eyes focus near. but the display is still really far away so you vision is blurred
07:36
so in VR we don't really bother with close ups because it is just not worth it
Avatar
I mean it's not impossible to focus your view on a different point than the one you're looking at
07:39
There are those cross view images
07:39
Where you can see in 3d by crossing your eyes and it's really cool
Avatar
different thing i think
07:40
if you grab something and put it close your face. your brain will focus near
07:40
that's just how brains work i think
07:47
This is so fun to look at
07:49
And it does require you to focus on the screen while looking at a point in front of the screen
Avatar
vibe ye that's different
07:50
Avatar
chancho
08:22
wiu wiu wiu
08:22
Avatar
¿
09:11
e
Avatar
Blazingly fast Entity-Component-System microframework ⚡📦
Avatar
k
Avatar
Even today, Half Life: Alyx feels like it came from an alternate game industry we never got. A hard overcommittment to the tech and techniques of 2000s-2010s gamedev, instead of just accepting the expected modern pipeline at face value.
Avatar
how can i iterate over all premutations of digits 1 through 9 in a random order?
15:47
what would even be the approach
Avatar
your standard library is somewhat likely to have a random shuffle function
15:51
just give it the list [1, 2, 3, 4, 5, 6, 7, 8, 9]
15:51
oh wait all permutations
15:51
I'm dumb
Avatar
but all permutations would be like 3mb of memory for basically nothing
Avatar
yeah give me a second
15:53
there should be a way to give each permutation an index but it's not obvious to me right now
Avatar
yeah
Avatar
Thinking about this a bit and I think I've got something resembling a solution in my mind
Avatar
i need it to generate sudoku puzzles
16:01
right now sometimes my program loops forever when constraints cant be satisfied with any permutation
16:01
and i have to detect that
16:02
i think it just makes sense to generate whole rows at a time to satisfy one of the constraints for free
Avatar
MilkeeyCat 2024-10-17 16:26
@Learath2 any ideas what proc macro to write to test if it works? :DD
Avatar
MilkeeyCat 2024-10-17 16:34
At first I was trying to do something like Rust does, to use TokenTrees but in the end I just copied enum from lexer the only different is that it has #[repr(C)] :\
Avatar
@pilonpl ok I figured it out def permutation_by_index (items, idx): if idx >= math.factorial(len(items)) or idx < 0: raise Exception("uh-oh") remaining = items.copy() remaining_index = idx result = [] for i in range(len(items)): divisor = int(math.factorial(len(items) - i - 1)) result.append(remaining.pop(remaining_index // divisor)) remaining_index %= divisor return result (edited)
16:36
index 0 gives you the list in the original order, index factorial(len(items)) - 1 gives you inverse order
Avatar
i think i am too tired to figure out how this works right now lol
Avatar
think of the number range from 0 to 10! - 1
16:37
first we split that range into 10 pieces, and whichever piece our index fits into decides the first element
Avatar
then the piece we landed on gets further split into 9 pieces, and so on
Avatar
thats actually a really useful thing to do a lot of time
16:38
that approach can even be used for compression
Avatar
I think the idea came to me from a math video I watched that was somehow related to compression
16:39
so good intuition :P
Avatar
by changing the sizes of slices you can set probabilities of certain data and therefore compress it
16:39
it can also be used to assign chess games to every number
16:40
in a certain range
Avatar
If you think of the range 0-1 you can also use it to assign any node in any tree a number
16:41
as long as the branches immediately coming out from any single node are finite (kinda have to assume that for anything to make sense lol) (edited)
Avatar
I also looked at this to figure it out https://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle
The Fisher–Yates shuffle is an algorithm for shuffling a finite sequence. The algorithm takes a list of all the elements of the sequence, and continually determines the next element in the shuffled sequence by randomly drawing an element from the list until no elements remain. The algorithm produces an unbiased permutation: every permutation is ...
16:52
I do the same algorithm except instead of generating random numbers repeatedly I extract the numbers from the index given at the start
Avatar
yeah thats what i am using right now
Avatar
@TsFreddie hi
17:07
wat program do u use for vpn? (edited)
17:07
v2rayn or nekoray?
17:09
and do u use hosting at all?
17:09
for vpn
Avatar
rudo ryu
Sadge 1
Avatar
It's a well know fact that roller coster tycoon was written in assembly
17:49
But the actual hard way would be to write it in a hex editor
22:17
imagine using chrome
Avatar
Works on chromium still for me
Exported 148 message(s)
Timezone: UTC+0