#programming
1 messages · Page 252 of 1
Anyone know the difference between python and micropython
oh i get it
cpus have more sophisticated branch prediction, things like out-of-order execution and extra caches and run at much higher clock speeds

gpus do have pretty smart schedulers but it's nowhere near the cpu's ability
branch prediction
the main benefit of gpu's, is when you have a massive amount of calculations that don't need input or output from other calculations. the needed data already exists and we just have millions of outputs we want
however i wouldn't be surprised if the x86_64 spec has a thing for calculating powers either directly or semi-directly
they go all in on parallel execution
a single math operation on a cpu is an order of magnitude faster on cpu cuz of the higher clock speeds
i should fix my chapter on gpu programming 
if you need to do that operation 10 million times you'd use a gpu cuz it gets dfone in less clocks
so cpu cores are higher clock speeds too
yeeah but its like
700-900 mhz
vs 4 ghz
so not actually x1000
more like x5-10
i just remembered numbers from that old laptop i had which i tried to overclock once
it has 700 mhz i did 750 and it died in a month
okay yeah some laptop gpus will be this low
so technically gpus are ghz too now
my 5070 ti boosts to 2.8ghz or so
they've been making big jumps lately
lower end gpus sit comfortably above 3ghz too
either way
i wrote a controllable 3d renderer for the CPU once tho.. but i had to do some wierd complex stuff to basically calculate about 10 different things with just 1 cycle by basically merging the data and split it apart in the other function where the piece of data was needed
basicly, cpus are sequentual, gpus are parallel
i hate my dumb little processor it doesn't make sense 
i needed to multi thread it too cuz otherwise it still wouldn't make a difference
they have an official guide https://docs.nvidia.com/cuda/cuda-c-best-practices-guide/index.html
The programming guide to using the CUDA Toolkit to obtain the best performance from NVIDIA GPUs.

i hate my smart little processor it doesn't make sense
how do they do branch prediction
black magic
what even is branch prediction
its not like its actually carrying boxes or something
and it picks up the box before it was ordered
or is it?
40 series did the big jump, 50 series barely did anything
5070 is almost same as 4070
exactly what it sounds like, it predicts the branch your program will take next
it does
speculative execution is wild
yes
what do you mean? 5070 is almost the same as 4090
at the very least it'll prefetch the next instructions/data
lots of statistics and heuristics
Nvidia marketing garbage
5070 can't be even close to 4090
Nvidia was comparing FP4 on 5070 compared to FP8 on 4090 or DLSS + MFG on 5070 with nothing on 4090
and a bit of voodoo magic
in pure flops performance, a modern gpu will outdo a modern cpu. my 3090 does 35.5 TFLOPS while my 5950x does 1.2 TFLOPS
its just that sending data to the gpu, using a whole SM, and getting the data back from the pgu, just isnt worth it for non parallel math
No that's 80 class for 50 series
5080 is mid-range
It's literally quite close to precisely half of a 5090
oh thats why it costs x2
80 class used to be good
hmm
dw they'll give you a 5080 super for the cheap price of 1600€
5080 should have been 24GB
those are 2 completely different categories of cards
6000s are non-gaming cards iirc
based cppreference
just because of memory i guess
even if its 2nd, the distance between 5080 and 5090 is too big to call it high-end
pricy workstation cards with a ton of VRAM
technically work for gaming but just way overpriced and probably with slightly worse performance
imo
But how would we rate this out of 10? (the code not the actual design of the product)
#programming message
#programming message
the actual competitors to the dgx spark 
kinda, yeah
i have no clue what that is so i give it frog/10
🐸
🐸
it's kind of a no-brainer when you can buy almost 3 of those for the price of a single rtx pro blackwell 
my own web framework i made out of boredom
AFTER long think about
I decide i will upgrade my server 4 gb ram to 16 gb ram
A new gpu
the fun part is that, purely in terms of aggregate compute available, multiple of the top consumer cards absolutely crush the workstation cards in terms of price to performance ratio
you just have to deal with less VRAM + no NVLink
Well turns out VRAM on board a GPU is very imporetant
AGREE
I don't intrest on gaming so I will go server build
turns out that you still get more VRAM per dollar on consumer cards
That's crazy
I need more GPUs
But poor
According to Elvyn 48GB 4090D is good but it's also like really expensive


same
but this is nice, we finally get NTFS updates
The old read-only ntfs code is much cleaner, with extensive comments,
offers readability that makes understanding NTFS easier. This is why
ntfsplus was developed on old read-only NTFS base
indirectly calling out ntfs3 code for being shit
Public utilities include fsck[2]
actually huge
chkdsk probably still does more than this implementation but AFAIK Linux just didn't have a way to recover from NTFS errors before

yeah it kind of just falls over and gives up 
literally just goes "hey so this drive is kinda broken, go run chkdsk and come back"
yeah
failing to mount a broken filesystem is still the correct behavior, but fixing it shouldn't require starting Windows just for chkdsk
there's ntfsfix but that will also just tell you to boot into Windows half the time
i know coil whine is harmless, but it sometimes scares the shit out of me. im just moving my viewport in blender, you're getting 16 floats sent to the gpu. you don't need to make noise over 16 floats
idk what's wrong but i get automatic chkdsk each time i boot. also "restart to fix drive issues" notification spam. as far as i checked absolutely nothing is actually wrong with the drive
i just accepted it lmao
windows logs don't say anything useful either
haven't encountered the need to mount the fs in linux
would imagine it never works
I don't think it'll mount right now if it's marked as requiring chkdsk, ye
i remember when i first used my ntfs games drive on linux it complained about the drive being corrupted so i just used ntfsfix to clear that bit and make it shut up
still hasn't blown up 

guitar is a bit high poly atm, but its fine imo
2907 tris total. 1637 of those in the bass guitar
you've gotta be kidding me
Introducing our new browser, ChatGPT Atlas.
Sam Altman, Will Ellsworth, Adam Fry, Ben Goodger, Ryan O’Rouke, Justin Rushing, and Pranav Vishnu introduce ChatGPT Atlas — our new browser. Now available globally on macOS. Windows, iOS, and Android are coming soon.
openai browser
they need to have some type of exceptional feature for me to use it over firefox
chabgtp
let me guess
voice control
search enhancements
"jarvis show me really good youtube video"
and AI for everything ig
they do, it's an exceptional feature for them that it's way easier to analyse your habits 
rip
i love when diagrams have measurements, and just don't follow them
drums 
ba dum tis
🥁 
Nice
Wtf is that !
GOOGLE CHROME IS AMONG FAVOURITE OF ALL TIME
Half of LocalLlama: we want open models with thinking
The other half: we don't want thinking, don't waste our tokens
What do you want for open models that can run locally?
Worth a vote @cosmic sphinx
That very tough questions
I hate to go hardware side
ANYONE HAD HAIR DRYER?
i have used a hair dryer before yes
I will use hairdryer to heat back cover of phone and remove battery
be carefull
why are "wasted tokens" a problem when you run it locally
i understand when you pay for tokens
but
is local version limited too?
or this is regarding the electricity bill
most linear algebraic math, bit shifts, arithmetic
all are done in vectors and matrices though since they're SIMD
i personally wouldn't even consider them "cores". they're just arrays of ALUs. i'd consider the actual core being the scheduler itself
I like experiment on my phone
Hard break phone okay i revive it
cpus are far more complicated since you need to do instruction set fetch, decode, execute and store and some other pipelines are way more complicated than that even. and streaming lines are a thing as a method of acceleration, something that you can't also do in GPU cores
but... cant you turn everything into matrices and vectors?
Me when MATLAB
Question 1
If 3000 cores in one CPU
All just clocked at 5.ghz do u use it ?
not exactly accurate, CPU cores also have vector instructions and multi FP unit activations (IPC)
Now URE my favourite guy
ye but so do gpus no?
yesn't 
fun lil fact, elvyn's threadripper does 12.8 TFLOPS, similar to a 3060
top 3. 4090 still 2nd
there are vector built-ins but they're mostly for efficiently reading memory rather than doing calculations on those
which do you prefer
9
9
2
fn(x: i32): i32 return 101
so basicly, cpu's havce optimizations so they dont have to do the full 2 million pixels / 16 cores as amount of times needed to run, but they're still slower
more like, half runs actually locally
the other one gives up trying to implement locally and resorted to import openai
nah, gpus have higher cluster and is more optimized for uniformity for each schedulers
cpus are more flexible, but their vector unit is wayyyy smaller
get out my walls
avx 2 is only 256 bit

that's just 8x 32 bit unit... per one expensive core
whereas each SM/CU on a GPU is packed with 4 schedulers usually, each having 32x 32bit units
Mods can we ban koko for spying on me?
im pretty sure thats illegal or something
Every day I go more and more crazy about pitch curves AAAAAAAAAAAA
WHICH episode?
Let gooo
well good luck
to even getting them running on 5ghz you need a bunch of acceleration hardware, of which already takes die space. stream based pipelines is favorable but its also quite power hungry
then do the same to 3000 cores trying to maintain 5GHz then ig you'll need mega watts of power.... and high flow liquid nitrogen loop
The way NeuroSynth is picky on pitch but also flexible at the same time
It makes it so now that I'm doing more advanced tuning I do like 1 part and then go back and redo 10 because suddenly it doesn't sound good enough
AaAaAaAaAaAaAaAaAaAaAaAa
Soo accurate ans
-# I can hear the vibratoed As
-# Surely I'm not crazy
is oil cooling a good idea for pc
like they do in transformators
i think i seen a video long ago how someone filled pc case with oil
There's No Point™
i mean for overclocking
will it still burn in that single point regardless cause not enough heat being taken away
you can cool things by submerging them in mineral oil yes, but its only really practical for large permanent installations
Hopefully soon enough I'll be able to do good pitch curves one-shot more consistently
does mineral oil even cool anything
different substances have different thermal conductivity
like water cooling but more dense
mineral oil is much less conductive to heat than water
like, by 5 or so times
additionally its more viscous
so its slower under convection which means that the heat isnt moved away as fast

nono lets say we cycle it
i guess you just have so much of it to kind of make up for it
no convection
Anyway now to take a break from NeuroSynth, osu or dataset?
do i not get convection word right
did you miss the part where the thermal conductivity of water is about 5x more than than mineral oil
additionally it being more viscous makes it impractical for usage in a heat pump
will distilled water work
no, you cannot submerge a machine in distilled water
Still I'm school
it will rust components and then it wont be distilled anymore

and then it will become conductive and destroy all of your parts
even if you do, distilled water only remains distilled without the presence of atmosphere
vacuum
U can summerge into some oils
still wont work, electricity will cause electrolysis in the water


but distilled water isnt affected by electrosis 
its the whole point
it has no ions
TIME (11:46 PM ) OR 23:46
Bye
it must rust to get them but as i said we can use rust proof things

idk plastic and gold
because it has ions out of imperfect distillation
who will carry the electric current
nothing except a true vacuum is perfectly insulating
neutral water molecules?
the water molecules
it will decompose into hydrogen and oxygen over time
then those will become ions in solution
why will it decompose
with the presence of electricity
my god did you listen to what i just said
yes
you said that water will decompose because electricity will run through it
while electricity cant run through it without ions
contradiction
no, even pure water is still somewhat electrically conductive
i said this 3 or so times already
yes because its not pure
eggnog
The self-ionization of water (also autoionization of water, autoprotolysis of water, autodissociation of water, or simply dissociation of water) is an ionization reaction in pure water or in an aqueous solution, in which a water molecule, H2O, deprotonates (loses the nucleus of one of its hydrogen atoms) to become a hydroxide ion, OH−. The hyd...
it will undergo electrolysis
i will not say it again

ook this closes it i guess you are right
but it cant be fast
i guess?
is it even good
i would expect directly submerging a pc in water would be worse than using a heat pump

diamonds

water is 700 times worse than copper 
but copper doesn't convect, and it also has a very limited heat capacity
water fixes both of those
time to put my pc in boron arsenide

the heat doesn't move into the water super fast, but the water stays relatively cold for a LOT longer, and it can just move away when it's hot
but copper is so conductive we can keep one side of it gigacold and it will spread the heat to that
dissolving the heat
the future of cpus
this bad boy has all the thermal conductivity
it's also too electrically conductive smh
submerging pc in oil does actually work, and quite well
im not suggesting to submerge it into liquid copper
putting it in a solid block of copper is still an issue though, no?
also: heat pipes transfer heat faster than just a line of raw copper
thermal conductivity isn't everything
heat pipes have gas inside them
gas / fluid
wicking effect is neat
phase changes
How does netherite abode?
Half of it is gold, so also has an electric problem
This will set back computer hardware by 1000 years
didnt know I missed something like this today
https://fixupx.com/OpenAI/status/1980685602384441368
Meet our new browser—ChatGPT Atlas.
︀︀
︀︀Available today on macOS: chatgpt.com/atlas

The actual answer will probably depend on what mods you have, sadly. Like in silent gear it is applied to be electroplated, also the same mod somehow puts it in a glass. One of the create addons for generators (maybe both) have netherite have a higher tier (in this case coils) then gold. Nothing off the top of my head for heat.
its soooooo sloooooow though at this stage

should i download
probably about 500, netherite is known for withstanding high temperatures, not conducting them
gold is like 310 and i dont imagine "ancient debris" has too high of thermal conductivity
does being able to withstand high temperatures mean it conducts them badly?
nvm
not necessarily but netherite tools still have wooden handles
underneath
ok ye, but they also have daimond underneath
yep
i thought the point was netherite, not netherite sword or whatever
ok but
cactus
if i throw a bucket of lava in a catus, the cactus wins
if i throw a cactus into lava, the lava wins
does netherite cover the handle of the sword?
the color of the handle is different on the netherite ones so i would assume so
im having a fight with gemini about this rn
fancy ahh
gemini likes contradicting itself
ill ask chatgpt instead

this looks so stupid
ew
gemini kept saying it wasn't different and then said that it was visibly darker
chatgpt jsut agreed that the handle is in fact coated
Use an alternative frontend, like T3 Chat
btw yes they want you to use chatgpt as the search engine
hell no
for desktop/home computers
it's their browser ... this isn't chatgpt.com this is New Tab 
Ew
then its probably c ye
That's why they wanted to buy Chrome so bad. Scrapping Google data for ChatGPT Search
It would fail so bad if they locked it to GPT though
at least its not firefox
I can see some fanboys pushing themselves to use it, see how SearchGPT fails, and then use the same browser for a Google Search query
You're joking
Does it stay closed if you hide it until you re-open it? Or does it re-open by itself every next query?
its just global, you close it and it stays closed, you open it and it stays open
Cringe but liveable
As a vertical tabs user, that is nothing new. But boy do I wish it had the option to be combined with tabs.
also opening a chat from the sidebar opens chatgpt.com
ye i can't turn back i force myself to use zen even though it's ff and ff is miserable
It's not about the sidebar. I love the sidebar in Chrome/Edge. And I love how Arc/Zen incorporate it too.
It's about the fact that it looks like a chat on ChatGPT.
vibe coded browser
Thanks for being the sacrifice for Neurocord. We'll never use this junk
considering you can have both tabs and chats open, unless you double the menu options. it will be insanely jank no matter how you organize it (or lack of such)
Probably coded by ChatGPT itself for marketing points
I can imagine Sam going on the stage and saying something like:
I bet you didn't think that Atlas was actually wholly generated by GPT6! Well, guess what?
i don't think you can
wait you can it opens the latest chat when you click the "ask chatgpt" thing
We already have LLM extensions in Edge. They could literally just make it an optional window with the mobile UI in it.
Most wouldn't expand it anyways, and some would start using it because it's Atlas.
That's genuinely what I thought their browser would be like: Chromium packed with LLM extensions that were made in 2023
Google Assistant from 2018 could do that
Oh my god I just found out why NeuroSynth has been lacking range for so long
I got A#5 and more
A#5
it's pretty bad
i do not see any point whatsoever
comet clears because it can actually do stuff
ai browsers are stupid anyways. just seems like a scheme to make people use chatgpt more
depend on it more
grok send hatemail to all of my enemies 
jarvis go to my block list, then for each account unblock them and send a hate reply to 10 of their latest posts then block again
✅
i dont think i have many people blocked
if at all
its only art bots or scammers
and scammers dont count as people
back when twitter rebranded i used to try to fight the barely related tiktok spam engagement bait slop in replies by hiding replies from those accounts
i dont use twitter 
every reply section i opened was just walls and walls and walls of [This reply is from an account you muted.]
That singular change to one line in one config file made NeuroSynth like 5x more powerful
@tender river you know too much about c++ for your own good, is it even worth avoiding virtual functions assuming i don't need to call them like crazy 
i'm very much tired of doing shit like this 
"virtual functions"? 
oh apparently atlas actually can do it, it just requires you to have a chatgpt pro subscription because of course
i mean click stuff for you
and shi
one way of doing interfaces 
adds some runtime overhead since you need to find and call the right function pointer

is this like how in python you can pas a function as an argument? or am i misunderstanding?
uhhh
i suppose kind of, it saves the pointers to the implementation in a vtable behind the scenes
the alternative is template hell 
if you have that many type params cant you bundle them into a single type
i'd very much suggest you to avoid virtual funcs on a gpu though
i think i should just scrap the idea of keeping the implementation in the class and keep the kernel completely separate
also a lot of the time you can just hardcode the constants but idk if thats the case for you
I had zero people blocked before the bird was axed. I have 3k+ of them now, and all are bots
grouping them into a struct is a good point actually though
oh look it's the new ui
Get strapped because it will arrive to everyone.
They were disappointed that they couldn't switch related videos and comment sections to promote engagement because of the community backlash, so now they made it so in the new UI you cannot scroll down in full-screen mode and have to open a panel of related videos instead with comments on the right, just like on mobile
they tried to move comments?
there is no room for debate on this
to the right??
they tried to put comments on the right and related videos underneath if i understand correctly
Yup. And in the new UI they're on the right in full-screen also
It just collapses the video to the left
if they move it i will find an firefox add-on to put it back
💀
im getting absolutely fuckign sick of youtube changing something every 2 weeks
it was good how it was
stop
i dont like changes
I hate their new icons too
meh
the only good thing about yt's new video ui
is that it doesnt gray out anything when you hover over it anymore
ui visibility is fucked, but works for me
The management did
oops
unfortunate spelling
Its always the management
my bad
lol its fine
pls understand, that one manager really needed their promotion
what was it
ye i cant really say it can i
!! BAD TUNING WARNING !!
NeuroSynth holding A#5 and hitting C#6 with no dropped notes
Why are these notes difficult
Isnt it just different frequency or smth
Or is it something like "too high" or too low
Well I had a config set wrong, so the training environment and inference environment mismatched
With this magical config NeuroSynth goes from average to insane
C#6 is insanely high
hmmmm.
Comet Browser 2 
Oh btw, just found a really nice model that somehow totally passed me by on release
ahahaha
ahahahaa
ahahhhahhahahha
metaprogramming in hblang allows you to do uh
i don't get it, is as_ref automatically set by dyn.Dyn
yeah cause it is 
yes because uhh you cant add declarations to types yet

if i could it would look like this:
Test := Dyn(struct {
a := fn(^@CurrentScope(), i32): i32;
})
Obj := struct {
$a := fn(this: ^Obj): i32 return 101
}
main := fn(): i32 {
a := Test.as_ref(&Obj.())
return a.a()
}
and the way this could be used is for runtime polymorphism
does this version have runtime overhead?
A := fn(x: Test): i32 {
return x.a()
}
Obj1 := struct { ... }
Obj2 := struct { ... }
A(Test.as_ref(&Obj1.()))
A(Test.as_ref(&Obj2.()))
now that makes more sense
yes
oh
its the same in principle as any kind of dynamic dispatch
3 mew messages
fair enough
if you want no runtime overhead you have
$is_test := fn($T: type): bool {
return @has_decl(T, "a") // pretty much a stub here
}
Test := @Any(is_test)
A := fn(x: Test): i32 {
return x.a()
}
the reason to choose between runtime overhead and no runtime overhead is usually code size but it can also be for environments where you dont know the types of something at compile time

the runtime version just has one function, but the compile time version generates a new function for each type
this is the same way it works in most languages
so if i wanted do run either function 1 or 2, based on a bool, it could be compile?
well, yes, in hblang you could do it two ways
too bad i dont use hblang
she's a 10
but she's not blazingly fast (🚀), not memory safe and doesn’t have zero cost abstractions
is a thing i willingly typed out into my notes on july 20th 2022 at 21:16 utc

// compile time dispatch using function values
A := fn($x: fn(): i32, $y: fn(): i32, det: bool): i32 {
if det {
return x()
}
return y()
}
// runtime dispatch using function pointers
B := fn(x: ^fn(): i32, y: ^fn(): i32, det: bool): i32 {
if det {
return x()
}
return y()
}
A(fn0, fn1, true)
B(&fn0, &fn1, true)
same deal really, one dispatches at compile time one at runtime
in principle you can do the same in c or c++
though it wont look as nice as this

the next note 40m later is just this image
but i cant fully read hblang either so i have to try really hard to understand the code examples
self.prehopjpokpppppppppppppppppppp
its ok no one can
do you want to read the code for the vtable 
idk what vtable is

oh cool discord won't let me download the file 
maybe i should look into what broke after all
skill issue, it worked for me
me
idk what this is, i just see a lot of ifs inside whiles
that's a vtable alright
a vtable is what a vtuber sits at to eat vburgers while watching vyoutube
yuppers
there is an easier way of doing this now mabe
soon
surely vtubers watch vtube
Its something about runtime dispatch
✅
Does it contain things you can use
During this dispatch
Like a list
A.. table 
who puts a table in their cpu?
the simplest vtable just contains pointers to all the functions a type contains
more complex vtables are used in languages with classes, like c++, to do runtime inheritance

who wants to tell him
LUTs are cool 
At least its not oil
paging table 


what
what
if a table is a matrix, then i use glm i guess
what
Is it not an interface
what
Why not put it inside of the program right away
?????
Here.
dont worry i am too
nonsense words
Let me backread ill formulate it better
- define interface
- implementations fill in vtable
- interface calls functions inside vtable
✅
what is a lut?
look-up table
So implementations fill the table, its not filled right away
you can have default implementations but yes
Ooh
images are just luts for your gpu 
i don’t me joke
What is lut 

i am feeling so mischievous today
Oh
I missed that part of chat 
i thought i didnt hit my head when i epicly crashed my bike this morning, but maybe i did
Vtable is lookup table
got it
so what is special about a vtable that makes it have a special name?
Virtual methods only or smth
i have never heard “lut” being used to refer to anything except for these
which is a lookup table
but for colors
everything you program is virtual tho
because they dont exist
they arent type checked
Is it runtime vs compile time?

you have lookup tabels too in games for color pallet textures. a decent amount of those 4 bit colour type games have them
you tell the compiler "trust me this is the right function signature"
and then it dispatches at runtime
That one Finnish university?
i love how bs function pointers are
its pretending that an arbitrary location in memory is code essentially
So its just a pointer
like how you can literally just cast a buffer to one and it'll happily take it
and this is what allows us to do runtime polymorphism
you also may or may not encounter them when working on post processing for a 3d game
like the exact kind i sent
as long as the functions accept the same ABI they can be used for many types
“just make your textures good”
thats built into both opengl and vulkan bro
you dont need to do that
what

do you know what color grading means
i dont think so
Gradienting


you define your texture as srgb and then its not your problem anymore if the user has wrong display settings

What does s stand for in srgb
standard

Color grading is a post-production process common to filmmaking and video editing of altering the appearance of an image for presentation in different environments on different devices. Various attributes of an image such as contrast, color, saturation, detail, black level, and white balance may be enhanced whether for motion pictures, videos, o...
read 
how many problem are solved by people just using wikipedia
so many
In computer programming, a virtual method table (VMT), virtual function table, virtual call table, dispatch table, vtable, or vftable is a mechanism used in a programming language to support dynamic dispatch (or run-time method binding).
Whenever a class defines a virtual function (or method), most compilers add a hidden member variable to the c...
there are environments where rgb is not just 3 numbers 0..255?
In object-oriented programming such as is often used in C++ and Object Pascal, a virtual function or virtual method is an inheritable and overridable function or method that is dispatched dynamically. Virtual functions are an important part of (runtime) polymorphism in object-oriented programming (OOP). They allow for the execution of target fun...
hdr
ok but like, why would i ever do this in a game?
@trim valve eviscerate
oh my god
im not gonna make the gpu do more work on every single frame cuz i fucked up my textures
We can wikipedia everything and then discuss nothing
not fun
lmaoooo
the real reason is that srgb is a specific way of mapping the 0..255 to actual brightness values
good luck i guess

same vibes as superbox saying mastering songs is stupid
So it will change accordingly to different monitors to look better 
what most people consider "rgb" is actually "linear rgb", but srgb is corrected to be standardised across all monitors, specifically with the range of 0..255 brightness levels
no, its more like
all monitors have to do it the same way
so that images look the same
i don't do music so i have no clue.
but like, i don't get why you wouldn't just edit the texture if you don't like the colour????
Oh so the opposite? "Do this without any postprocessing"
They do it the same way but it can look different
Since different monitors
right?
"lets edit the textures for the entire game just once irreversibly" 
vs
"lets adjust the colours of our game with parameters to make it more visually appealing"
why wouldn’t you just change the lighting if you don’t like what the cameras capture
yes, the theory goes if your monitor uses srgb it should look the same on another monitor, but in practice it looks different
just bake the lighting into the texture, of course
Running some tests on a nice local model I overlooked a while ago
Anyone got a good proof I can run by it?
Different approach different result
then change the lighting, no need to do colour correction of the rendered frame?
i was more referring to actual film
like
irl
im not
yes let’s change the color of the atmosphere and the shape of the clouds and the intensity of the sun
Some old games look great with that 
yes, but it also makes them a pain to work with ✅
we were talking about textures
like ye no you cant change the textures on irl
how is baking lighting at all related to color grading
not at all
in a game you totally can
Just simulate full raytracing in runtime at all situations 
no
look let’s put it this way
if 99% of professionally developed 3d games do color grading, maybe there is a reason to?
Who knows maybe they are just lazy
thats just phalasy of authority
i dont care if 99% of people do it, if it doesnt make sense to me i dont see why i shoudl do it
phalasy is crazy work
Sand coast phalasy
this isnt my fault, im ESL
root word is now very different
let’s not
embed fail
The first 100 people to use code ACEROLA at the link below will get 60% off of Incogni:
https://incogni.com/acerola ! #ad
Digital color theory is a mysterious black box that few resources bother explaining, but how does it all work? Where did it all come from? And why are the color pickers in the art programs you use so bad?
Topics covered inc...
youtube 
AAAA new youtube UI jumpscare
One minute it was the old UI the next it was this ;-;
Its fine we will get accustomed like we did 500 times already 
Looked into this btw, apparently you have to pay for the agent to work for stuff like that
Paid browser 
i dont want to get accustomed to it
real talk, for me it makes complete and total sense because:
- it is the same pipeline as film. all film is color graded. especially if you strive for photorealism. idk about unity (it should have that too) ue and GODOT have “cinematic” primitives for camera shit
- achieving a certain mood and feel does not require you to individually color grade every texture in the scene (why do you think this is better????) having your textures be graded as ground truth just makes sense
- if you do “fix” the textures, good luck dynamically changing them depending on location etc.
We will eat the bugs
and we will be happy
this is like when my room's lights die and i install a new light and its way brighter than before and it bothers me for a full 2 months before i have a sense of normalcy again
i live in constant agony
i did mention that a bit later ye
here
sam i understand being stubborn about brackets and stuff but here you’re just being straight up unreasonable
a film is shot irl and you cant change the colour of the sun or anything tho. in a game its way easier to make everything the colour you want than to filter it every single frame. you're essentially doing work on the gpu, and then redoing all your work again on he gpu.
and ye changing your textures isn't ideal but you can very easily change the lighting you use instead.
and you can very easily to just loop through all your textures and apply a filter to them
Okay that's really cool actually
They released a fork of the base version of the model I'm testing that wasn't trained on any synthetic data
i would rather change the light in my scene from 255,255,255 to 255, 221, 64, than to do this 4 million times, every frame for every pixel
i dont see why you would do it the expensive way
Is your color grading pass unusually expensive? Almost every AAA game has a multitude of full screen postprocess passes, and many of them can hit 60Hz, 120Hz, etc... Some of them can be combined into one pass.
Color grading is super useful, I would hesitate to try to throw it away for some hypothetical performance claim.
It is possible to get the same effect, but it can be very hard. It's going to involve a combination of changes to base textures, material parameters, and lights - and it can just be very difficult to make changes to lights which affect multiple objects, and then try to tweak all of the textures too, to get some particular effect.
- deleted reddit user, 3y ago
im not exactly aiming for 60fps
MF READ
idk
i still feel like i dont really care about colour correction
to me this feels like 3D printing something in red and then painting it blue. just print it in blue
Avoid most of the effects then but color controls are usually not that expensive.
You should probably keep the option of a LUT, global tint, brightness, contrast and gamma. Which are all very cheap shader wise.
from the same thread
the op had the same mindset as you but ended up changing their mind
well i havent
idk
brightness i can understand, but thats jsut cranking up the values
not "correcting" the colours




when you say colour im thinking hue and saturation
brithness and contrast are value and have nothing to do with colour
black and white same color confirmed ✅ 👍
Sam
they're not colours
are you doing colour correction via changing the textures
he’s suggesting that’s the way to do it
im not doing colour correction at all
but if the colour looked wrong, its the fault of the texture
or the lighting
my pipeline is srgb texture goes in -> colour comes out
that will in fact not be your pipeline
you are not wrong on this at all. if one texture jumps out and looks off that is definitely the correct conclusion
HOWEVER
because that doesn't make sense
if you want your scene to look a certain way color wise you need to color grade
especially if you need it in one specific instance, like an area/dungeon/quest/etc
there is some lighting calcualtions ye
no but like
your lighting calculations aren't happening in a magical "colour" colour space
srgb
they're most likely happening in a linear srgb colour space
mhm
keep in mind his brazy definition of color which excludes brightness
hell I think I literally got you to add the conversation from linear to standard srgb into your engine at some point
for some fucking reason
you mean the ^0.45?
ye you can just ask vulkan or opengl to do that for you
yeah, if you do that's ideal
or well technically that not really correct for srgb but w/e
I trust that vulkan will do the right thing
what even is the argument atm in so confused
I woke up dehydrated 10 minutes ago
and got ambushed with colour
“no need for color grading because i change lighting and texture”
currently the colour stuff just looks like this.
the pointlight stuff is not implemented well in Vulkan rn so it just does colour * dotproduct of normal with y-axis
so it basicly gets darker the further from the Y-axis the face is pointing
ussualy you'd do some stuff with colour of the light
doesn't that introduce negative colours
im maxing to 0
ah

i would like to add that you've been arguing about colour for 40 min with someone who is colourblind
which is why i can agree on contrast and brighntess
but if you want to do a mexico filter just make all the lights in your scene piss yellow
color is every component which makes a color idk why you’re saying brightness is separate
no need to to filter
hue, saturation, value
what if you need something a bit more complex than a mexico filter
yes value is there
contrast and brightness are value
i can agree on doing those as filters
but hue
idk
thats a lighting issue
just hue shifting the whole image is one thing
i am swearing in my native tongue irl
out loud

fucking he’ll this is frustrating

idk why you'd go through the pain of changing the lighting
though it really depends on the context in the game
ig
if you know what you're gonna change about the image with a filter, than you might aswell just apply that to the light colour
do i have any of my renders pre graded on hand
let me look if there’s anything i can show you
Sam if you already know what the output of sin(constant) is gonna be in your code, do you replace it with the value of the function
yes

i forgot i render to .hdr
better for this case
how do i default tonemap to srgb in photoshop
well it depends on if its temporary. but if im like "yup looks good, full send" then im hardcodign that shit
especially in shaders
idk
if you calculate your constants everytime you run a shader then you're wasting so much gpu
I am mildly not awake enough to structure an argument here
fair enough
it doesn't slam bright lights of a certain color into white it just normalizes them or some shit

I think we might be arguing slightly different points though. changing the colours of lights in a very specific situation where they're making stuff look wrong is probably valid. changing every single light in the scene is a slippy slope
my only worry is messing with lighting could have unintuitive effects but also in my head the math unfortunately doesn't seem to suggest that

if you want to add a color correction shader you're free to do so, its just a lot easier to avoid the vulkan hastle of impleemtning that in a seperate pass
we do disagree
on what
and so i dont see value on implemenitng it
ok so basically i have this rendering right
but then i'm like eh could be better
in this case i'm thinking like, it's boring and not what i wanted
i want it to be more vibrant
ooh motion blur
but otherwise i like the lighting (!!!)
oaky...
i do this
blue?
i don't fuckijng remember what i did this is from 3-4 years agio
i did color correction
is teh point
its a way to change the light colour without re-rendering it
ye but the colour of the scene is directly related to the colour of the light
nuh uh
so it does the same thing
you may want the light to be for example purple, but then you don't like how much it kills the green grass
so you boost the greens specifically
in a simple renderer like in your game engine, sure. in more complex render engines stuff gets a bit more complex
so
what you mean
instead of boosting the green channel
I guess it mostly depends if your render pipeline is nonlinear in any way
you boost only the green colours without boosting colours thast use the green channel's green?
like you boost green without boosting yellow because of it containign green
if you just do g *= 1.2 everything has a green tint
the point is grading is convenient because it allows you to surgically modify the colors exactly how you want to without touching anything lower level
i agree
did i say anything that complicated 
precisely tweak
idk what lower level is supposed to mean in this context
like you're grading. just grading. not going in recoloring the textures and lights
like you could give someone who's never touched vulkan some standard colour grading tools and they'd be able to make something have a specific look
ye
give them a screenshot, they send you a lut, you apply it
or footage
you get the idea (hopefully)
uh
i get this one
or in the case of engines like unity, they can grade directly in engine
ye you can
Sounds like a nice way to modularise a process so that someone who isn't super knowledgeable tech wise can do their job 
everything you said after the green tint thing you lost me




the new one









