Search found 122 matches

by Yustme
Wed Aug 20, 2008 5:43 pm
Forum: Beginners Help
Topic: Dev-Cpp "Access violation"!? Why?
Replies: 10
Views: 907

Re: Dev-Cpp "Access violation"!? Why?

Hi,

You are using "device" right at the beginning (somewhere) in your main() function.

It isn't initialized. You initialize it under the while(xml && xml->read()).

You can fix it by putting (at least) the device initialization right above the xml code block like this:



int main ...
by Yustme
Tue Aug 19, 2008 5:42 pm
Forum: Beginners Help
Topic: EventReceiver problems
Replies: 5
Views: 466

Hi,

Try this:

Code: Select all

CEventReceiver* Receiver = new CEventReceiver();

this->device = createDevice(video::EDT_OPENGL,dimension2d<s32>(1024,768),32,false,true,true, Receiver); 
by Yustme
Fri Aug 15, 2008 9:33 pm
Forum: Open Discussion and Dev Announcements
Topic: SF maintenance, problems ahead around August 18th
Replies: 16
Views: 3957

lol hybrid
by Yustme
Fri Aug 15, 2008 10:08 am
Forum: Code Snippets
Topic: Newton Pyramid Stack
Replies: 0
Views: 1348

Newton Pyramid Stack

Hi,

I created another newton && irrlicht && irrKlang demo. With this demo you can create multiple pyramid's and blow it into peaces with a shot of a sphere using the left mouse button.

I used for this demo:

Newton version 2.0 beta 17;
Irrlicht version svn (don't remember which svn trunk ...
by Yustme
Fri Aug 15, 2008 9:30 am
Forum: Code Snippets
Topic: test
Replies: 0
Views: 818

test

test
by Yustme
Fri Aug 15, 2008 8:26 am
Forum: Code Snippets
Topic: Newton Pyramid Stack
Replies: 0
Views: 679

Newton Pyramid Stack

Hi,

I created another newton && irrlicht && irrKlang demo. With this demo you can create a pyramid and blow it into peaces with a shot of a sphere using the left mouse button.

I used for this demo:

Newton version 2.0 beta 17;
Irrlicht version svn (don't remember which svn trunk);
IrrKlang ...
by Yustme
Fri Aug 15, 2008 8:22 am
Forum: Code Snippets
Topic: Newton Pyramid Stack
Replies: 0
Views: 628

Newton Pyramid Stack

Hi,

I created another newton && irrlicht && irrKlang demo. With this demo you can create a pyramid and blow it into peaces with a shot of a sphere using the left mouse button.

I used for this demo:

Newton version 2.0 beta 17;
Irrlicht version svn (don't remember which svn trunk);
IrrKlang ...
by Yustme
Thu Aug 14, 2008 10:51 pm
Forum: Code Snippets
Topic: test
Replies: 0
Views: 797

test

test
by Yustme
Thu Aug 14, 2008 10:39 pm
Forum: Code Snippets
Topic: Newton Pyramid Stack
Replies: 0
Views: 729

Newton Pyramid Stack

Hi,

I created another newton && irrlicht && irrKlang demo. With this demo you can create a pyramid and blow it into peaces with a shot of a sphere.

I used for this demo:

Newton version 2.0 beta 17;
Irrlicht version svn (don't remember which svn trunk);
IrrKlang version 1.1.0;

A few ...
by Yustme
Thu Aug 14, 2008 5:00 pm
Forum: Off-topic
Topic: War (((
Replies: 6
Views: 1110

LMFAO JP!

I laughed for 15 minutes and my belly muscles are trained for at least 1 week!
by Yustme
Mon Aug 11, 2008 9:16 am
Forum: Beginners Help
Topic: Newton physics help (objects goes through each others)
Replies: 1
Views: 363

Hi,

You need a callback function to check for collisions.

Put this line above your main() function:


static void PhysicsSetTransform(const NewtonBody* body);



When you create the scene nodes, you need to register the callback function for that scene node like you did for the ...
by Yustme
Sat Aug 09, 2008 2:19 pm
Forum: Beginners Help
Topic: Rotate camera based on player's target
Replies: 0
Views: 456

Rotate camera based on player's target

Hi,

How can I rotate the camera based on the direction the player is looking at from a constant distance?

This is the code i got so far:


void rotate(vector3df rot, ISceneNode* box)
{
matrix4 m;
m.setRotationDegrees(box->getRotation());
matrix4 n;
n.setRotationDegrees(rot);
m *= n;
box ...
by Yustme
Fri Aug 08, 2008 4:29 pm
Forum: Beginners Help
Topic: rotate node based on mouse pos
Replies: 2
Views: 893

Hi squisher,

Thank you very much for the code snippet.

Works like a charm!
by Yustme
Thu Aug 07, 2008 10:07 pm
Forum: Beginners Help
Topic: rotate node based on mouse pos
Replies: 2
Views: 893

rotate node based on mouse pos

Hi,

How can I rotate a node around it's Y-axis based on the position of the mouse?

For example, if I mouse the mouse to the left, I want the node rotate on it's Y-axis to the right.

Thanks in advance!
by Yustme
Mon Aug 04, 2008 12:01 pm
Forum: Code Snippets
Topic: Irrlicht & Newton & IrrKlang (updated 07-08-2008)
Replies: 0
Views: 1500

Irrlicht & Newton & IrrKlang (updated 07-08-2008)

Hi,

I made a small demo with irrlicht and newton. For irrlicht i used the latest svn version which is 1.5. For newton i used version 2 beta 16, which you can get if you pm Julio at newtondynamics.com.

Here is the project:

http://yustme.g0dsoft.com/Projects/Irrlicht&Newton/NewtonIrrlicht.rar ...