Search found 85 matches

by Rebornxeno
Sat Mar 16, 2013 9:29 am
Forum: Game Development
Topic: Head Tracking VR Just Seems Off...
Replies: 9
Views: 6674

Re: Head Tracking VR Just Seems Off...

Maybe it looks weird because you were only strafing while keeping your eye on a fixed point? And it looked like it was only rotating about 2 axis?
by Rebornxeno
Sun Mar 10, 2013 6:51 pm
Forum: Programming Discussion
Topic: Web Browser from scratch
Replies: 22
Views: 9073

Re: Web Browser from scratch

I would offer my help if I could only make out what you are trying to ask.
which only uses pixel coordinates, but the problem is that OpenGL only uses vertex float values
Could you explain a little bit more about why this is a problem?
by Rebornxeno
Sat Mar 09, 2013 5:20 pm
Forum: Programming Discussion
Topic: Server Side Practice
Replies: 20
Views: 7918

Re: Server Side Practice

This might really be siding on off topic, but I want to ask, could a router be bypassed in some way? As in, even if he is using a router, is there some way when he uses XAMPP that security could still be a risk?
by Rebornxeno
Fri Mar 08, 2013 11:35 pm
Forum: Programming Discussion
Topic: Server Side Practice
Replies: 20
Views: 7918

Re: Server Side Practice

That's a really interesting question that I hope someone answers. Here is my answer: Pretend you have a server! You can write up a server-simulator that acts like a server, but really isn't, and do your pcp on that.
by Rebornxeno
Thu Mar 07, 2013 3:51 pm
Forum: Programming Discussion
Topic: Web Browser from scratch
Replies: 22
Views: 9073

Re: Web Browser from scratch

I was dabbling in this a bit when I started learning winsock, but I became really turned off when I had to start parsing html. Not that it was hard, but it wasn't very fun for me, and with other things I had wanted to do I dropped it. I don't think it's too ambitious, I think it's something any prog...
by Rebornxeno
Tue Jan 22, 2013 6:37 pm
Forum: Programming Discussion
Topic: C vs C++ style of interface for hardware abstraction layer
Replies: 17
Views: 10501

Re: C vs C++ style of interface for hardware abstraction lay

Falco Girgis wrote:These are going to introduce a good amount of overhead by nature of temporary variable creation.
Why does this happen and is this done by compilers? What is causing the variables to be created?
by Rebornxeno
Sun Oct 28, 2012 7:31 pm
Forum: Programming Discussion
Topic: ohhh myyy gawd c++ issues!!!
Replies: 2
Views: 1635

Re: ohhh myyy gawd c++ issues!!!

blue2 is type int! I knew it had something to do with the different types, but couldn't figure out what! You hit the nail right on the head dude! I changed blue2 to float and when I needed it, just type-casted it back to int and voila! Thank you kind sir!
by Rebornxeno
Sat Oct 27, 2012 11:08 pm
Forum: Programming Discussion
Topic: ohhh myyy gawd c++ issues!!!
Replies: 2
Views: 1635

ohhh myyy gawd c++ issues!!!

I have one int array and one float array, both of size 9. I multiply them by each other. I have two ways of doing it that I thought were equal, but give different results! for (int a = 0; a < 9; a++) { blue2 += ((pixels[a] &blue) * kernel[a]); } blue2 = (((pixels[0] &blue) * kernel[0]) + ((p...
by Rebornxeno
Wed Jul 25, 2012 1:51 pm
Forum: Programming Discussion
Topic: MSVCR90.dll isn't found {was:[Solved] C++ File Inclusion :(}
Replies: 26
Views: 9193

Re: C++ File Inclusion :(

I'm really confused.. I can't think of any reason a subsystem of your engine would need access to the engine for? Can you explain for me please?
by Rebornxeno
Tue Jul 24, 2012 10:13 am
Forum: Programming Discussion
Topic: OH NOOOOOOOOOOOOOO
Replies: 8
Views: 3227

Re: OH NOOOOOOOOOOOOOO

The empty constructor in the first post i made doesn't set the pointer, but in the other post where the constuctor is

Code: Select all

SomeClassConstrctor():somepointer(0){}
it does set it to 0 as intended
by Rebornxeno
Mon Jul 23, 2012 5:07 pm
Forum: Programming Discussion
Topic: OH NOOOOOOOOOOOOOO
Replies: 8
Views: 3227

Re: OH NOOOOOOOOOOOOOO

Hahaahahahaha!!! I did that exact same thing on the empty constructor, thinking it would work the exact same, but it didn't, as doing that solved the issue. So why doesn't it work with the empty constructor? Here's a piece of implementation to show what I'm asking. struct IndexBuffer { ID3D11IndexBu...
by Rebornxeno
Mon Jul 23, 2012 12:06 pm
Forum: Programming Discussion
Topic: Template Class Syntax Errors :(
Replies: 7
Views: 2566

Re: Template Class Syntax Errors :(

The problem you are having is that you are putting <type> where it shouldn't go. When you define a member function outside of the class, you need to put the class name after the return type and right before the name of the function. type class::function(type t) { return t; } This is what you are doi...
by Rebornxeno
Mon Jul 23, 2012 11:54 am
Forum: Programming Discussion
Topic: OH NOOOOOOOOOOOOOO
Replies: 8
Views: 3227

Re: OH NOOOOOOOOOOOOOO

I tried initializing more ID3DDeviceContext but that didnt help my problem at all
by Rebornxeno
Mon Jul 23, 2012 11:18 am
Forum: Programming Discussion
Topic: Struct Examples?
Replies: 4
Views: 2428

Re: Struct Examples?

A struct is a data-type! One of the key aspects of any programming language is the ability to construct new data-types from other data-types. Now, imagine you have a function that will return to you a pointer to some data. In your program, if it's not a pointer to a data-type you have, it'll just be...
by Rebornxeno
Mon Jul 23, 2012 10:34 am
Forum: Programming Discussion
Topic: OH NOOOOOOOOOOOOOO
Replies: 8
Views: 3227

OH NOOOOOOOOOOOOOO

Hey guys, I got a problem! I know a solution, but I'm really hoping and believe there is a way around this. struct IndexBuffer { ID3D11Buffer* index; UINT size; IndexBuffer(){} ~IndexBuffer() { if(index) index->Release(); } IndexBuffer(ID3D11Buffer* i, UINT s) { index = i; size = s; } IndexBuffer(UI...