« first day (654 days earlier)      last day (4293 days later) » 

2:00 AM
WinAPI is a load of horse barf
 
Well, at least we have C# and .NET, VS designers
to actually concentrate on applications rather than evading a stick up our arse from WinAPI
 
yea I guess
 
but I still work with native C++ and torture myself manually
 
I should really go to bed
 
wrote my own little GUI helpers and shit.
 
2:01 AM
it's 3 am here
 
4am here
 
you're not working tomo?
 
Took a week off :D
 
oh cool
 
Being the founder has its benefits. :D
 
2:01 AM
:)
 
Sleep tight! :D
 
meh
I don't have a reason to get up in the morning
 
Can't sleep? :D
 
so no reason to go to bed either
but I always feel like I should
meh
 
Hah, data in Haskell, if you give the "fields" proper names and types, the name of the field is actually a generated "accessor function" but not quite because variables are immutable.
and if you have a ray and some variable like direction, you'd get the vector by typing direction ray
modifying just one "field" creates a new "data structure"
 
2:06 AM
what is ray tracing actually?
 
Literally, it's tracing rays to geometry and measuring the influx of light at a given point, then bouncing off (or refracting) and collecting further color information recursively from other objects
 
fucking hell
what's a font collection, a font face, a font family?
what's wrong with just a font.
 
What if you want to italicize?
Bold?
 
lol
I wonder, does anyone actually ever sleep in this Lounge?
 
that's not part of the font
 
2:09 AM
@TonyTheLion Probably not. :D
 
the font face is the face of the font, the font family is the family of the font (siblings, etc) and the font collection is the collection of fonts
just simple really :P
 
Font
Face<Font> FontFace
Collection<Face<Font>> FontFamily
...I don't know either
 
Because a font can't embedded italics, bold and other shit.
 
@TonyTheLion I do occasionally.
 
It could all be described by a goddamn font.
 
2:11 AM
In HTML and XHTML, a font face or font family is the typeface that will be applied by a web browser to some text. The font is relevant for the display of text on the screen, on a printer or another device. A font family and other presentational attributes of a font may be applied in HTML code in either cascading style sheets (CSS) or the deprecated HTML font element. .text { font-family: times, serif; font-size:14pt; font-style:italic; } Sample text formatted with CSS in a separate stylesheet. Sample text formatted with inline CSS. Sample text formatted with the deprecated FONT ...
 
And font families? Everyone knows there's no love between fonts.
 
well, there's like, six interfaces for dealing with fonts in DirectWrite.
 
I think sans serif is like a family of fonts
 
sans serif stands for "without the curly shit"
serif stands for "with the curly shit"
 
2:12 AM
the things to create a text layout don't even take a fucking Font object
 
@DomagojPandža And rather than redefine a preexisting concept, a super concept was built.
 
sans serif stands for boring
 
they only take a FontCollection and a family name.
 
@DeadMG You're in for a treat with DirectWrite :P
 
playing with Qt are you?
 
2:13 AM
@DeadMG Ok, I think you just convinced me to use bitmapped fonts whenever I get around to doing text in my D3D renderer..
 
oh MS bullocks
 
@melak47 Be sure to spend some time on it, a custom text renderer can drag performance.
 
text renderer?
I'm talking taking the letters directly from bitmaps, no text rendering involved at all :p
 
@melak47 Oh, sorry, missed you there.
Treating text with fearful respect is the best approach for a programmer.
@LucDanton We're just trollin', Luc. :Đ
 
you want a fancy font in my rendering engine? make it yourself
 
2:16 AM
@DomagojPandža No.
 
else std::cout << "Sensor type not recognized" << std::endl; exit(1);
Is this valid, or do I need braces?
 
well, it appears that I would have to implement a COM lazy loading range of fonts from files.
that's the fucking suck.
 
@Drise It's valid, but you don't seem to be sure as to what it does/means.
 
@Drise Valid, but consider spacing it out. Readability wins.
 
@DomagojPandža I don't want to put braces....
 
2:20 AM
"(This does not work the way that most radiosity programs do, but it accomplishes
* the diffuse interreflection integral the hard way and produces similar results. It
* is called radiosity here to avoid confusion with ambient and diffuse, which
* already have well established meanings within POV)."
No.
#define USING_POV_BASE_NAMESPACE using namespace pov_base;
 
#define notabrace {
#define stillnotabrace }
 
Because typing using namespace pov_base; is too mainstream.
 
@DomagojPandža lolwotthefuck
 
@DeadMG POV-Ray, a famed raytracer.
Looks like a clusterfuck of C compiled with a C++ compiler.
Funny enough, doesn't suck dick:
 
I'll stick to mental ray
 
2:23 AM
"/*****************************************************************************
* Local variables
******************************************************************************/


long ra_reuse_count = 0; // GLOBAL VARIABLE
long ra_gather_count = 0; // GLOBAL VARIABLE"
AHAHAHAHAHAHAHAH.
Intense.
@melak47 Ah, the guys from Berlin, it was bought by Nvidia in '07, right?
 
yeah :/
 
@DomagojPandža Damn, that image is CGI?
 
I'm from berlin, so they get bonus points in my book :)
 
@DeadMG Yeah, and not very impressive. :Đ
Let me get you something better.
 
lol
 
2:25 AM
 
this is CGI, I kid you not!!
 
This is the Maxwell renderer
 
naw, the other one was more impressive.
so anyways, now I'm kinda irritated.
 
WTF am I gonna do?
 
2:27 AM
can you believe this is not a photo?
 
This one is V-Ray, also an unbiased solution based on a physical system camera with a programmable aperture.
 
@DeadMG what are you gonna do about what
 
user interface
 
@DeadMG static int ra_average_near(OT_BLOCK *block, void *void_info)
That image was brought to you by that. :Đ
 
@melak47 Yea, floating balls and shit? Plus the gray is all f'd up
 
2:29 AM
rofl, ewwww
 
@Drise obligatory utah teapot
 
guys
that's really enough image spam.
 
WT_AVG *info = (WT_AVG *) void_info;
So much great codez!
 
@DeadMG your words hurt :(
 
@melak47 It's definitely still polygon based.
 
2:30 AM
calling my renders spam :(
 
I can't stand that guys voice
 
That shit sucks hard dick.
It has absolutely zero future, zero possibility of animation.
 
agree
I'll be impressed, maybe, when they're showing something more dynamic
 
Our current lowly triangle based techniques are lightyears ahead of it. And even if they show something dynamic and actually less useless, who is going to propose this to Autodesk?
 
2:33 AM
man
maybe I should just use Singletonfest CEGUI or something
 
Singletonfest™ - In a desperate programmer near you.
 
lol
 
speaking of autodesk
whatever were they thinking with the .max file format
 
@DomagojPandža How do they store all that crap?
 
@R.MartinhoFernandes The unlimited detail one?
 
2:36 AM
@R.MartinhoFernandes just point clouds AFAIK
 
Those gazillion "tiny little atoms".
 
They don't store anything, they fake it, point clouds exists only when in the view frustum.
There is only one thing that matters when 3D rendering is concerned - animation.
If you can't do animation - dead.
Everything else is a wankfest, like trying to divide by three without * / + -
 
I'd say there's a lot of things you need to be able to do, but yes animation is sort of nice for games and shit
 
Surely they can't render those things with extra detail from the same polygon data.
Unless it's just generated. Then I don't understand what the big deal is.
 
Animation is crucial, advertising, movies, fullblown CGI movies, games. That's what sells Autodesk.
 
2:39 AM
@R.MartinhoFernandes I think they 3D scan things for crap.
 
didn't you scurry off to bed a while ago?
 
@R.MartinhoFernandes They capture the volume of objects in a very crappy format and then just fill it up.
And everything in the demo is procedurally generated, content generation is another thing it'll suck dick at.
 
@DomagojPandža so then, it really has no perks over polygons if they just have a surface composed of points and a filled volume...
 
It's a failure, it's nice to see people trying different things, but I don't like when they try to sell it as unlimited detail.
 
2:40 AM
Also, why does everything look like the same crap repeated everywhere.
 
@R.MartinhoFernandes Well, that's the repercussion of one object they managed to scan
 
because instancing is cheap
 
and then just shoved it everywhere else.
Instancing, yup.
 
we scanned this rock here
 
@R.MartinhoFernandes It's called the "internet"
 
2:41 AM
@DomagojPandža That doesn't lend them credibility.
 
Besides, unlimited detail is irrelevant. Detail to the point of being indistinguishable to the human eye is what matters.
Tessellation is the step in the right direction.
Moar triangles, moar triangles, moar triangles.
Oh, those triangles turned to points. Wow.
 
also moar coars
 
Everytime I see unlimited, the most amazing etc.
Dislike, auto dislike.
 
Also, what's this "real world" they speak of.
 
also, what's with everyone always freaking out "ohh yeah voxels baby" when anything with remotely voxel like characteristics is used anywhere..
 
2:45 AM
The only place where I used voxels was shoving out caves in my engine.
and for volumetric clouds, with a twist
These are just meager triangles. That's the real world. Really doesn't get better. Just more precise.
 
Stop making up words.
 
Ahahah, yeah, it can get overwhelming. :D
 
lighting is where the real visual improvements come from
 
UE4 uses a voxel like sparse octree for a GI/FG and reflection step in their lighting...and everyone is like OHH YEAH ITS A VOXEL ENGINE when all it does is rasterize the scene into the octree...
 
Precisely. The more we can tackle the lighting equation, the better stochastic solutions we offer... The better.
Unreal Engine is a piece of shit, codewise.
But it's a famous piece of shit, like PHP.
 
2:48 AM
@melak47 But buzzwords.
 
VOXXEL
 
If you were going to make something happen every 1 and 5 seconds how would you do that? Like how would you time that in C++?
 
x%5?
wait, what
 
depends completely on the context.
 
2:50 AM
While loops can't be the solution
 
Why is the XP character map under "system tools". As in, I thought I'd do some system maintenance, you know, defrag my hard drive, make some umlauts...the usual.
 
every 1 second? so...every second? so why do you need to to also happen every 5th second
 
@melak47 lol, my thought exactly :D
 
@melak47 1 second refreshes the data, 5 displays it. It's a stupid requirement.
 
@Drise Depends on the context, as I said.
not unusual if you have something like a game engine, you can simply do while(true) { TickOver(); IfTimeThenDoX(); }
 
2:51 AM
Well, the only term you need to impose is the 5th second and make the refresher sleep for a second
 
@DeadMG That's greatly helpful. I'm just going to go implement "depends on the context". Be back in a few.
 
while(1) { refresh(); if (! (time%5)) display();}
 
@Drise Not my fault you weren't sufficiently explicit about the necessary information.
 
@DeadMG I need to do A every second and A and B every 5 seconds. How do I implement this in C++?
I don't know how to be more explicit.
 
You'll need two variables, one that tracks the refresher's time delta, the second that tracks the display delta.
 
2:53 AM
my palm, it hits my face.
what else are you doing?
what's your threading situation?
 
A and (A and B)
 
what platform are you on?
 
Action a;
a = () => { Something(); 5.SecondsFrom(Now).Do(a) };
5.SecondsFrom(Now).Do(a);
 
how accurate do you need to be?
 
@DeadMG Single threaded, cross platform
 
2:54 AM
I have a weird deja-vu feeling..
 
@R.MartinhoFernandes Is that part of Wheels™?
 
@DeadMG Not really.
 
@KeithLayne lol, no. That's pseudo-C#.
 
if you're single threaded, then the only choice is a while loop.
 
@Drise, do you have a game loop, or a tick function, or...what are you working on?!
 
2:54 AM
well, you could also yield, I guess.
 
I was just looking for an excuse to use something from the charmap. Carry on.
 
but you'd have to write your own cross-platform timer event abstraction to wait on.
 
> After all objects have been created the simulation should then enter a loop and at intervals of exactly 5.0 seconds have each display device print out data on all the sensors it is monitoring.
 
What's wrong with the while loop.
 
2:55 AM
@R.MartinhoFernandes Idk, burns clock cycles.
 
@Drise So actually, you are also ticking over the simulation at the same time?
 
@DeadMG I suppose. It is assumed that A and B are atomic.
 
then while(true) { DoSimTick(); IfTimeThenPrintOutput(); }
 
@DeadMG DoSimTick's details are what I need.
 
why so concise when you could be doing while(true){ tick(); tick(); tick(); tick(); print();}
 
2:57 AM
well, I dunno, it's your simulation, you tell me.
 
err, make that 5 ticks
 
@melak47 You assume that each tick takes 1 second to complete.
 
What is Tick? <--- That's what I'm asking for!
 
how should I know
 
@melak47 Then why did you even suggest it?
 
2:58 AM
you haven't told us what A is
 
it's a function that progresses time measurements.
 
@Drise Well, that's a very different question to what you originally asked.
 
@melak47 Generate some random numbers.
 
What a mess.
 
@DeadMG It's a subset, now that we've narrowed it down.
 
2:59 AM
but a simulation tick measures the elapsed time and progresses the state of the simulation to represent the passage of that time.
 

« first day (654 days earlier)      last day (4293 days later) »