Search found 50 matches

by pippy
Sat Dec 10, 2011 8:55 am
Forum: Off-topic
Topic: FXAA
Replies: 6
Views: 1827

FXAA

Would't it be great if irrlicht had this on by default?

http://www.codinghorror.com/blog/2011/1 ... -fxaa.html
by pippy
Sun Dec 04, 2011 1:04 am
Forum: Off-topic
Topic: Windows 8
Replies: 43
Views: 11678

Re: Windows 8

Windows is gambling its future with Windows 8. It likely will fail, and MS will become the next IBM while Google & Apple take the crown:


their HTML5 & JS apps are written in nonstandard formats. It's a repeat of DHTML
they're disowning .NET & executables by doing so, leaving thousands of loyal ...
by pippy
Sat Feb 09, 2008 12:48 am
Forum: Beginners Help
Topic: String corrupts after function return
Replies: 9
Views: 591

I thought that wide characters needed to be printed out using std::wcout
by pippy
Fri Feb 08, 2008 1:04 pm
Forum: Beginners Help
Topic: beginner in irrlich and need help :)
Replies: 8
Views: 710

The best way to make your first game is to edit someone elses until you understand what is happening

If it's your first time programing in C#(I'd hate to say it) but you might find it easier to use XNA. Your games will be Microsoft's bitch for the rest of their lives but you'd actually get the ...
by pippy
Fri Feb 08, 2008 12:57 pm
Forum: Beginners Help
Topic: C++ arrays in classes... strange bug...
Replies: 11
Views: 608

Object.h:
----------

#define W 12
#define H 10

class Object {
private:
pvert_type pvertArr[W*H];
unsigned int intArr[W*H*6];

};

gfx.h:
------
struct pvert_type {
float x,y,z;
};

make sure that Object #includes "gfx.h". A good idea would be to use the same namespace uses similar features ...
by pippy
Fri Feb 08, 2008 12:48 pm
Forum: Beginners Help
Topic: Problem starting off...
Replies: 5
Views: 421

Start with Microsoft's visual studio express edition.

I started with Microsoft's visual 6.0 but found that gcc creates better executable files, but the newer visual studios are free and are easier to code with their code hints

The alternative is gcc, but it's best for ensuring multi-platform ...
by pippy
Fri Feb 08, 2008 9:56 am
Forum: Beginners Help
Topic: Spherical coordinates
Replies: 7
Views: 811

poop, cheers vitek! that works perfectly!


I can't thank you enough, I've been working on this problem for the past 4 days. I have been using converting a circle into 3d space above where I want to look at and it looked really tacky, but now the camera movement is smooth and looks great :D

Here's ...
by pippy
Fri Feb 08, 2008 8:21 am
Forum: Beginners Help
Topic: Spherical coordinates
Replies: 7
Views: 811

What I'm trying to do looks like a slerp

Such a weird name, all I'm trying to do is project a rotation to a 3d position.
Wiki has an article about slerp here . One way to solve my problem is to convert my rotation to a quaternion and then slerp it. Spherical linear interpolation sounds much more ...
by pippy
Fri Feb 08, 2008 8:07 am
Forum: Beginners Help
Topic: Spherical coordinates
Replies: 7
Views: 811

vitek: thats what I'm trying to do, convert rotation to a position given a radius.

// to show positon of where you are looking
core::vector3df sphareToPosition(core::vector3df rot, const core::vector3df &pos, u32 radius){
core::vector3df lambdaPos;
lambdaPos = rot.normalize ();
lambdaPos ...
by pippy
Thu Feb 07, 2008 10:01 am
Forum: Beginners Help
Topic: Spherical coordinates
Replies: 7
Views: 811

"Where it faces" I mean the vector3df returned by mesh->getRotation();

Code: Select all

normalized lookat vector, multiply it by your radius, and add it to the cam's position. 
I'll try this with my scene node (then your other method)

thanks for the help =D
by pippy
Wed Feb 06, 2008 7:48 am
Forum: Beginners Help
Topic: Spherical coordinates
Replies: 7
Views: 811

Spherical coordinates

I'm trying to get an objects position to extrude from another objects rotation.

The meshes position should be where it faces plus a radius. The only Cartesian coordinate based spherical code on the internet I can find presumes that there are two values (phi and lowercase phi) used to get the point ...
by pippy
Sat Dec 22, 2007 1:27 am
Forum: Beginners Help
Topic: string< T > Assignment operator
Replies: 11
Views: 869

Thanks, vitek your a life saver =D. It works in both MSVS 8 and gcc

I like to use structs so reading in files becomes easier, but to be on the safe side usually I read in one value a time anyway
by pippy
Fri Dec 21, 2007 4:27 am
Forum: Beginners Help
Topic: string< T > Assignment operator
Replies: 11
Views: 869

Vitek: so my struct would look like this?

#pragma pack (push, 3)
struct MAPMATRIX{
unsigned int width;
unsigned int height;
unsigned short cellsize;
};
#pragma pack (pop)
by pippy
Fri Dec 21, 2007 4:11 am
Forum: Beginners Help
Topic: line/plane intersection
Replies: 7
Views: 1385

Here's my 1337 code:


// Calculates where the line intersects the ground plane
core::vector3d< f32 > IntersectPlane(core::line3d< f32 > myLine){
core::vector3d< f32 >intersection(0, 0, 0);

// plane, first position, second normal.
// You can of course replace it with your own plane
core ...
by pippy
Fri Dec 21, 2007 3:53 am
Forum: Beginners Help
Topic: line/plane intersection
Replies: 7
Views: 1385

rogerborg: Thanks for your reply, any help is great, it improves my coding style (I've been coding c++ for only half a year)

Here's my function as of now:
// User over units
void DragFrom(scene::ICameraSceneNode* camera,
core::position2d<s32> from){

if(selector == NULL){
selector = new ...