« first day (735 days earlier)      last day (4213 days later) » 

12:00 AM
i didn't know, the editor in visual studio 2012 (at least the premium edition) is apparently totally "made by idiots for idiots". it doesn't get the width of a hyphen correct so gets cursor in wrong position, the more hyphens the worse offset. and it fucking doesn't let me write "#ifndef" followed by tab or space keypress without fucking it fucking up! I'm ANNOYED. I'm FRUSTRATED! AAAAARRGH!
 
Have never had this problem.
 
I could not render voxels that are covered by other voxels.
 
@Cheersandhth.-Alf bet you can just change the font
 
jeez it's made by morons
 
12:01 AM
@daknøk voxels are points, they can't cover anything in theory
 
@MooingDuck yeah but this is default everything
 
@MooingDuck I render them as cubes.
 
@daknøk k
 
I could hide the cubes that are covered by other cubes.
If there is a decent algorithm for that.
And I might turn on back-face culling.
 
@daknøk if they're small enough you should try to render them as squares
 
12:04 AM
monobin.com/1510 <- do I (conventionally) need to free "name" here? IIRC I don't right?
 
@MooingDuck they are all equally big and you can really see they are cubes.
 
@Alxandr depends on sp_album_name.
 
Say, 12x12 pixels per cube when projected in 2D.
 
It's not made by me
It's part of libspotify
 
@daknøk stop calling them voxels :P
 
12:05 AM
Okay. :P
 
I'm wondering.
 
@Alxandr thats fine, it still depends on sp_album_name. Does the docs tell you to free/delete the return value?
 
I'm just thinking since I didn't allocate it, I shouldn't delete it (cause I don't even know if it uses malloc or new)
 
https://developer.spotify.com/technologies/libspotify/docs/11.1.60/group__album.html#ga0e828c991a8184d60026513f944e19ad
"Returned string is valid as long as the album object stays allocated and no longer than the next call to sp_session_process_events()"
 
@DeadMG, you worked with DirectX before. Is it possible to specify the vertex data from a stream fo Vertices in a separate order than is seen in the compiled Shader?
 
12:06 AM
I just found that too :)
 
Wait. Since the camera is always facing the same direction, I could hide two sides of the cubes anyway.
 
Been too long since I did coding with pointers (o.o)
 
As in, the signature for a certain HLSL function is ( Position, Color ) and your vertex stream is ( Color, Position ) ?
 
Though, what can one do when [DllImport] isn't calling the right method -.-
 
static double const vertices[] = {
    -1.0, -1.0, -1.0,
    +1.0, -1.0, -1.0,
    +1.0, +1.0, -1.0,
    -1.0, +1.0, -1.0,
    -1.0, -1.0, +1.0,
    +1.0, -1.0, +1.0,
    +1.0, +1.0, +1.0,
    -1.0, +1.0, +1.0,
};
All I need. :D
 
12:11 AM
@daknøk The hell are you working on?
 
@Borgleader video game.
 
@daknøk Cool cool. What kind?
 
@Borgleader endless RPG.
 
@Borgleader vapor
 
:P
 
12:14 AM
Arrrrggghhhhhhhhh
 
@MooingDuck Vapor is my kind of game
 
The new enumeration visualizer si so annoying in Visual Studio @___@
 
@Collin I'm not certain you caught my meaning
 
@ThePhD enumeration visualizer?
 
I almost have it set up so that it displays almost exactly like a Vertex Input declarationn in a shader, but that stuck those annoying numbers at the end of teh enum values aghaghaghaghghagh.
 
12:15 AM
@MooingDuck You meant he was making vaporware, right?
 
@Borgleader Yeah, for the debugger. It's nice, except when it's not nice.
 
@Collin alright, you got it
 
I think there won’t be a problem with the cubes.
 
Apparently there's a flash game company called Vapor
 
Cubes are all monochrome and no anti-aliasing is done at all.
 
12:16 AM
or at least, loose association of teenagers cranking out stupid games called Vapor
 
@ThePhD D3D11 has something called shader class linkage...or something. maybe you can use that to link a vertex declaration at runtime...or something? (as long as it has at least the components the function needs)
 
@daknøk once you get it rendering, render them as camera-facing squares as an experiment and see how it looks :D Make the squares just big enough that there's no gaps.
 
@MooingDuck Problem is perspective.
Squares have no depth.
 
If I make a class named Lock (that obviously locks, and releases on destruction) and I do this:

// code
{
Lock lock;
// code 2
}
// code 3

will only code-2 be locked?
 
@daknøk camera facing squares
 
12:21 AM
ohh
 
@Alxandr yes
 
That would be completely pointless.
 
@daknøk That's such a square thing to say. Think outside the box (square)!
 
@MooingDuck hmm, GL_POINT, maybe not that pointless at all.
 
Well, if you are outside the square, you can still be inside the box....
 
12:21 AM
@Borgleader See what I mean?
WOO I GOT THE LINKING RIGHT THE FIRST TIME AROUND.
Taking a drink for that.
 
@daknøk well, they'd overlap in interesting ways, I was just thinking it might look cool. Or not. I dunno.
 
@ThePhD Huh... I did not know that existed
 
@Borgleader You don't get those annoying numbers at the end of your enums?
 
^ In other news. Try something different once. Worth it
 
12:23 AM
@ThePhD I rarely use enums tbh.
 
@Borgleader Ah. Well then.
Back to work.
 
@ThePhD why do you want your stream to have a different layout from your compiled shader's input layout
 
@daknøk also maybe render faster
 
render harder
 
@MooingDuck yeah but I wouldn’t care if it renders faster if it looks like crap.
 
12:26 AM
@melak47 I want them just to be able to map in a different order, not be different data. That, and I also want to be able to have a Vector3 position but have a Vector4 input on the Shader. I'm also doing runtime-switching and cross-matching of Shaders, so I'm trying to make it work out as nicely as possible even if Just the order is different.
 
@daknøk it might look interesting maybe
 
@sehe render...stronger?
 
Does this look ok? monobin.com/1511
 
don't stop
 
@Alxandr what is internal?
 
12:27 AM
@ThePhD the last part might work. I don't know about the first part.
 
public within the ... linking maybe xD
 
@MooingDuck Accessible only from within the same assembly.
 
@Alxandr you probably want to forbid copies on the locks
 
@melak47 Well, it worked with XNA, and that was using DX9. I'd have to imagine there's just some special trick I'm missing.
 
internal means it's public to anything that lives within the same compilation/linking process
 
12:27 AM
oh noes CLI
ref class?
 
slopoak :)
 
How do I do that @MooingDuck
 
private:
    SPLock(const SPLock& nocopy);
    SPLock^operator=(const SPLock& nocopy);
 
Wait, the lock object is static?
 
12:29 AM
Yes, ofc
 
@melak47 I can't talk there. I think I have 31 rep as far as StackOverflow goes, but my StackExchange total is like, 2.
 
@MooingDuck Well, it's a GC'd pointer, it'd be ok to copy the wrapping object
 
@ThePhD heh. if you sign in there, shouldn't you get a 100 link bonus thing on there though? :)
 
@Collin doesn't look like a wrapping object to me
 
@melak47 ... For realsies? Checks it out.
 
12:31 AM
@MooingDuck that didn't compile
 
@MooingDuck SPLock is just calling lock on a static mutex
 
@ThePhD I'm not sure where the 100 rep bonus goes, but you should get it somewhere
 
ooooh
 
@Collin so you want the same number of locks as unlock calls.
 
I completely read that wrong, yeah, no copying would be good
 
12:31 AM
@Alxandr er, SPLock& operator=(blah blah). I missed.
 
No, well, it don't like the &
 
Well, I have 1 Gamedev rep instead of 0.
I'm well on my way!
 
@Alxandr the point is it makes copies impossible. It makes that function uncallable.
 
"an ordinary reference to a ref class is not allowed"
 
@Alxandr oh
 
12:32 AM
@ThePhD haha
 
stupid CLI
 
SPLock(const SPLock^ nocopy);
Works, but I don't know if it does the same
 
@Alxandr I don't know either
 
lol xD
 
@ThePhD what D3D version are you on anyway?
 
12:33 AM
I wish I knew easier ways to get rep.
 
@ThePhD answer questions
 
@melak47 D3D11 right now. Used to be using OpenGL.
 
How much does a polar bear weigh? Roughly 1,150 pounds if it's a fully grown male.
 
@MooingDuck I get beat to the punch and I get 0 upvotes for trying. In fact, last time I got owned by 2 rep for answering that last question. D:
 
SPLock lock; SPLock l2(lock); <- does not compile, does that mean it's ok with regards to copying?
 
12:34 AM
@ThePhD do you just need the vertex layout to work in different order, or do you need this to work between vertex and pixel shader as well?
 
@ThePhD you have three answers. That's barely enough to learn how SO works.
@Alxandr sounds good to me
@ThePhD and two of them are little more than links to a blog.
 
Dude, is there any way I can give you SO points for this?
I mean; you've helped me so much :)
You're one of the most helpfull guys I've met at help-chat before (here and IRC)
 
@MooingDuck Yeah, that's the point. The questions I can answer, I get beaten to it, so I don't post. The questions I can answer, it's usually because of fringe specialty knowledge, like those two links to XNAML.
 
Wow. Well now that the Poulenc is over, I'm heading to bed. Night all
 
@ThePhD post them anyway. I've been beaten many times. Sometimes I get more votes anyway.
 
12:37 AM
@MooingDuck Well, alright. I'll go for it. NOO FEEEAAAR. Or, uh. Something.
 
Yeah, I was about to post the property-question
 
@Alxandr eh, theoretically you could find a few questions/answers of mine and upvote them, but its frowned upon, and if you do too many, they're automatically undone.
 
And I also have some answers some peoples seem to like
 
@melak47 I'm usually only sending data to the Vertex Shader. I don't even think I can send data directly to a pixel shader, and if I can I haven't had a use for it.
 
@Alxandr post it anyway
and since I don't know the answer: post the answer too
 
12:38 AM
Even though I got the answer? So that other can find it right?
But I don't know how to formulate the question
(main reason I went to chat)
I don't know the name of what's not inlining
Like for instance; class Test { Test() { /* inline */ } }
How would I ask for .... the other variant?
 
If I understand your question right, 'defining out of line' works. Or are you not just looking for the terms?
 
@Alxandr external definition?
 
'Not declaring/defining inline' works too tbh.
@MooingDuck Ambiguous with respect to linkage.
 
@LucDanton oops
@LucDanton you're good at this talking/thinking thing.
 
wut
 
12:43 AM
So basically: "How do you define non-inline properties in C++/CLI"?
 
@Alxandr basically
 
Oh, C++/CLI still. Can't help with that.
 
"The question you're asking appears subjective and is likely to be closed" (according to SO xD)
And @LucDanton I already figured it out, just thought I'd share my knowledge on SO
I did the same a while a go with how to link together [C#,C++/CLI,C++(non-cli)] into a single assembly
 
@ThePhD I'm really not sure you can do what you want. I mean, you have to specify an input layout that works with the compiled shader or it won't even let you use the shader, right? so, your input layout has to fit the shader...you can of course lie and still have the data in different order, but how do you expect it to sort that out when you're telling it "no it's in the right order", and the semantics are attached to the wrong elements?
 
@melak47 That's what it seems like, but when I specify things in C# in backwards or mixed order (but with the right semantics), it renders properly under XNA. So what I'm trying to do - in my engine - is to make sure it has the same behavior. I can put the vertices in any order and it'll reach the shader 'the right way' based on semantics and such, but right now it's kind of just vomiting weird lines and sometimes a really wrongly colored triangle on my screen.
 
12:53 AM
@ThePhD sounds about right. have you tried feeding it an input layout that actually describes your vertex buffer? (on the off chance that it will accept it as a valid layout for the shader and figure out the order?)
 
@melak47 I have, and it came out looking like a line drawn off through the bottom of the window, when it's supposed to be a small triangle in the middle of the screen, haah.
 
heh
you could try decompiling/-assembling/reflecting/??? the C# code and see how it achieves that :)
 
I could. I don't think I've ever done anything like that though. Usually I just keep taking my best shot at it until I get it right.
It's guaranteed to work. ... Eventually. Sometimes.
One of these days.
BAM just answered a question.
Now I'm gonna answer like 4 more
 
:)
 
... After I eat smoething.
 
12:59 AM
smoething. sounds delicious
 
monobin.com/1512 <- would this be valid (as in, does it (probably) do what I think it does; which is to generate a hex-string)
 
haha, wow. They were trying to dig up radioactive waste storage chamber #7 at the Asse II former salt mine....but they can't find it.
 
1:21 AM
user image
4
 
@Borgleader haha, yeah, you'd think so...
 
I'm just waiting for them to find out that it never existed in the first place, and that the waste has been dumped in the ocean all along :)
 
@Cheersandhth.-Alf lol at that en passant remark.
 
1:39 AM
hm i don't play chess yet
i think when i get even older, i'll challenge someone to learn chess with me
 
@melak47 Shoulda stuck an 'r' in there. Woulda sounded even more delicious.
 
i never understood that "smørgåsbord".
"smør" -> butter
 
anybody here willing to comment and give feedback on my app?
 
"gås" -> a duck-like fowl
"bord" -> table
@JoeSmith it sucks?
 
you should tell me : apptivate.ms/apps/93/dabble
there is the link
you can login using stackoverflow account
 
1:43 AM
@Cheersandhth.-Alf Buttered fowl doesn't sound too bad. If so, why not a whole table of it?
Okay now I'm hungry.
 
I am still building it but love to get some support and feedback
 
@JoeSmith don't have windows 8 :)
 
Me neither. Sorry, bromang.
 
for now just see the screenshots and support my clicking like button
 
1:44 AM
okay, there's still a piece of grilled chicken in the fridge. i'll have it on a slice of bread
 
With some butter!
 
Gås (fleirtal gjæser) er det norske namnet for eit stort tal av fuglar i den biologiske familien Anatidae. Denne familien inkluderer òg svaner, som for det meste er større enn gjæser, og ender, som er mindre. Gjæser er monogame og lever i par gjennom heile året, men i motsetnad til dei fleste andre monogame dyr er dei territoriale berre i hekketida. Gjæser med make er meir dominante og tar meir føde enn andre, det medverkar til større ungeproduksjon. Verkelege gjæser Dette er dei biologiske slektene som er rekna som gjæser: * Anser - Grågjæser, inkluderer grågås, kortnebbgås, t...
 
@JoeSmith personally, I don't like the background color. just make it whiteboard app #6147 and give it a white background :)
 
ah, geese and goose!
Geese are waterfowl belonging to the tribe Anserini of the family Anatidae. This tribe comprises the genera Anser (the grey geese), Branta (the black geese) and Chen (the white geese). A number of other birds, mostly related to the shelducks, have "goose" as part of their name. More distantly related members of the Anatidae family are swans, most of which are larger than true geese, and ducks, which are smaller. Etymology The word goose is a direct descendant of Proto-Indo-European root, *ghans-. In Germanic languages, the root gave Old English gōs with the plural gēs and gandres (be...
 
Same root I would wager.
 
1:47 AM
what is #6147?
thanks for the feedback @melak47. Do you mind leaving the feedback there so I cna have all the feedback in one place for specification?
also @melak47 please encourage me by liking the app
 
@JoeSmith funny you should ask...
6174 is known as Kaprekar's constant after the Indian mathematician D. R. Kaprekar. This number is notable for the following property: #Take any four-digit number, using at least two different digits. (Leading zeros are allowed.) #Arrange the digits in ascending and then in descending order to get two four-digit numbers, adding leading zeros if necessary. #Subtract the smaller number from the bigger number. #Go back to step 2. The above process, known as Kaprekar's routine, will always reach its fixed point, 6174, in at most 7 iterations. Once 6174 is reached, the process will continue...
 
it's the second time the last 24 hours that i see that. strange
 
not really :)
saw it here, and figured I'd post it here as well because why not :p
ok...I'm abort to import 127 GB worth of photos into adobe lightroom's catalog...fingers crossed...
 
any other feedback?
 
@JoeSmith maybe look into adding some smoothing to what is scribbled, through splines, averaging, or something
 
1:54 AM
that is interesting @melak47 can you like my app as well?
 
How do I tell my code that there exist TypeA and TypeB (externally) and that TypeB is a subclass of TypeA?
Cause I know I can do:
class TypeA;
class TypeB;

but I don't know how I can tell that they are in an inheritance chain
 
include the headers
 
Can't. You can declare a function that takes TypeB& and returns TypeA& which will be defined in a spot where the types are defined and that simply does an upcast though.
 
I don't have any. They're managed types -.-
That's what's makes it a bit tricky
 
i think it's maybe wrong to think that one likes grunge music just because one likes nirvana (say). maybe nirvana just happened to be a grunge band because that's what was going on then and there. maybe one would also have liked nirvana if they had formed in some other setting with some other orientation
maybe kurt cobain is still alive and driving around with elvis
 
2:07 AM
@Cheersandhth.-Alf ...ohkay
 
What's a good library alternative for SDL that isn't SFML or Allegro?
 
||[ ]| |https:/ |http:/ |ftp:/=[ {{#if:|| }}]|#default=[http:// {{#if:|| }}]}}}}|}} }} Simple DirectMedia Layer (SDL) is a cross-platform, free and open source multimedia library written in C that presents a simple interface to various platforms' graphics, sound, and input devices. SDL has the word "layer" in its title because it is actually a wrapper around operating-system-specific functions. The main purpose of SDL is to provide a common framework for accessing these functions. For further functionality beyond this goal, many libraries have been created to ...
 
@Rapptz D3D :p
 
^ That's clickable u now
 
@Cheersandhth.-Alf are you a bot or something? :p
 
2:09 AM
yep
 
So nothing.
Great ._.
 
@Rapptz r u dumb? did u click?
 
No, I clicked.
 
Oh, god damn; it's 4 am (o.o)
Anyways; thanks for all the help.
Later.
 
@Rapptz then you must have missed pygame :D
@Alxandr you from Germany, too? :)
 
2:11 AM
No, norway
 
PyGame is okay. I meant for C++, hence why both my examples (allegro, SFML) were C++ based.
 
And it's friggin cold up here too!
0deg Celcius
(and 30 inside, my computer is a monster -.-)
Anyways; as said; later
Work tomorow -.-
 
@Rapptz SDL is pretty good, but kind of hides a lot of shit from you and doesn't really help you with doing 3D stuff. You can stack libraries on top of SDL to get really good results.
 
SDL is the worst piece of garbage I've ever seen.
 
Oh, it's not so bad. It's what I used when I first started out and really it gave me all the OpenGL Context and etc. I needed.
 
2:12 AM
Then you haven't seen my c++/CLI code xD
 
It's horrible.
 
G'night
 
@Rapptz What would be better?
 
@Borgleader Rolling your own.
 
I would have stuck with SFML because it's simple and neat.
The only issue is I can't get it to build properly and after a good 2 months of trying I give up
 
2:14 AM
If you're going to go with C++ you may as well just roll your own. There's like a MILLION examples of how to use things so it works out in the end, in my humble opinion.
 
I'm not going to reinvent the wheel. It isn't worth my effort
 
You can literally copy-paste your way into a Window, the first drawing routines, and even some basic functionality.
Well, you can't call most things garbage and then not see a need for reinventing it to suit your needs. Or at least, that's what I think anyways.
 
SDL is garbage because using it made me want to die on the inside.
 
D3D is all cuddly an fluffy :3
 
It is.
 
2:16 AM
Other media libraries aren't even that bad. Of the ones I used I liked Love2D and SFML.
 
except it shouts at you a lot.
 
I've never used D3D though.
 
Oh, so you're building 2D mostly?
 
Yes
 
Visual studio integrated D3D debugging is nice.
 
2:17 AM
You actually might get a shitload of mileage using raw D3D.
 
3D modeling isn't my type of thing.
 
aw
 
Using D3D and doing all the drawing's backend in 3D while providing a simple 2D API is actually extremely powerful. I was able to smoke Spritebatch's Sprite performance from Xna just by rolling my own and using my own 3D rendering backend.
But, the drawback is, 3D math is a biiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii‌​iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii
g ugly hag.
 
it's not so bad
 
Not really.
 
2:20 AM
It's so bad. :c Doing math in 2D is like WEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE. Doing 3D math is like Blurrrrrrrrrrrrrghghghghhhhhhhhh.
 
I take it you never took vector calculus?
 
I took all the way through Multivariable Calculus, which included Vector calculus.
I can derive all that shit. But it's still an asshole.
 
you don't even need to derive crap, unless you are doing some really fancy shading
 
Or doing a physics engine.
Q_Q, I hate you, COllision Detection.
Die in a hole.
 
make a game with ghosts. no collisions. problem solved!
 
2:22 AM
NoClip all the time?
 
So you took math classes but still find 3D math annoying to do?
What
 
2:42 AM
Yeah. It's always annoying.
Just because I learn something doesn't mean it makes it less of an ass.
 
3:12 AM
Is anyone else here alive?
I need some help figuring out where I went wrong in this pipeline, and was wondering if anyone has some Matrix Generation code on hand they can run and give me a dump for an Orthographic Projection Matrix in D3D
 
orthographic projection matrix?
1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1
...does that help? :p
 
That's an identity matrix, but thanks for trying.
 
...exactly
an unrotated orthographic projection matrix...does nothing
 
.....
Maybe I'm thinking of this wrong, but....
 
any particular reason why you can't use the D3DMath or DXmath or whatever its name is now?
 
3:17 AM
D3DX* is deprecated now
It's not in the regular Windows SDK, which is what I'm developing against
 
yes
but the math lib still exists
 
Arf?
 
it just has a different name, again
 
My intellisense is showing nothing. Maybe because I don't have the right includes.
 
"The D3DX utility library (D3DX 9, D3DX 10, and D3DX 11) is deprecated for Windows 8, so we highly recommended that you migrate to DirectXMath rather than using D3DXMath."
 
3:18 AM
DirectXMath... better go find the includes.
 
try #include <D3DXMath.h> :p
 
Shiny, it's SSE2 compatible as well.
 
now grab a XMMatrixOrthographic* to your liking :)
 
Awww, this means
all my work on matrix and such is useless. D:
 
all that self inflicted pain :)
you just aren't lazy enough.
 
3:25 AM
.... Unless.
.... union :3c
 
watch out for alignment issues or stuff :S
idk.
 
Well, 4x4 floats line up perfectly with the registers required for SSE2, right?
 
I suppose so
 
Oh wow, they actually qualify their stuff in DIrectXMath with a namespace.
Not into polluting the global namespace anymore, Microsoft?
 
it probably gets turned off by an #ifndef _DEBUG or something, just to trick you :p
 
3:31 AM
OMG
MY PROJECTION MATRICES COME OUT EXACTLY THE SAME
I'm so good at this
 
:)
 
So I know it's not my projection matrices that are the problem then...
 
what is the problem?
 
The problem I'm facing right now is that my shaders I'm using to try and render some basic triangles to see if I got everything right are coming out like poop.
 
are you taking the transpose of your matrix before multiplying in the vertex shader?
 
3:37 AM
No.
Is... that
really the problem?
 
You have to do that. Or reverse the order of multiplication to what you are used to from dx9/xna
 
Is there a name for functions that input a list and output another list?
 
... So wait. DirectX is finally, like. OpenGL style?
@Pubby CreateListX Or something? I dunno.
 
@ThePhD afaik you could always do it both ways
 
@ThePhD I mean a general term.
 
3:39 AM
@Pubby Umm...I don't know. I don't kno what that function is doing to said list.
I mean, DeleteList and RandomizeList both take lists and return lists but do completely different things...
 
@ThePhD I need a general term that could apply to either
The type is [a] -> [b]
 
@Pubby What he said.
 
@Pubby "map" ?
 
Neither sound right
Nevermind I guess
 
if the list doesn't change length...map or transform are pretty much it
 
3:42 AM
Okay, so transposing my matrix does nothing, probably because the relevant projection parts are in different places...
Hm. Maybe transposition is going wrong.
 
?
 
Checking.
 
transpose...can't really go wrong
are you doing the transpose of the entire world*view*projection matrix?
 
Okay, so somehow I was murdering transposition.
 
3:54 AM
....okay
how do you get projection right but not that :D
 
It was a silly mistake on my part. D:
I was assuming that m[ index ] was returning a T& I could use for a Swap
Turns out I needed to be more explicit than that, so I just directly accessed m12 -> m21, etc.
So I have a white square with the right attributes in the right place.
Let's see if the COLOR0 sticks now.
 
...you know, you could've just transposed in the shader
 
Where would I transpose it, though?
It's a global variable.
 
vertex shader
 
It'll only call the Transpose once?
 
3:58 AM
nah, it'll call it for EVERY vertex :)
 
:c
You're doing this to me on purpose.
 
but, as I said, you can also just flip the multiplication order
 
q_q
Well, if I do that
than world * view * projection
 
instead of world*view*projection*vertex.pos, do vertex.pos*projection*view*world...I think.
 
Yeah, that
 
3:59 AM
no extra work except shuffling the code around once
 
That's kind've backwards. And why I hate openGL sometimes.
 

« first day (735 days earlier)      last day (4213 days later) »