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 ...
Search found 122 matches
- Wed Aug 20, 2008 5:43 pm
- Forum: Beginners Help
- Topic: Dev-Cpp "Access violation"!? Why?
- Replies: 10
- Views: 907
- Tue Aug 19, 2008 5:42 pm
- Forum: Beginners Help
- Topic: EventReceiver problems
- Replies: 5
- Views: 466
Hi,
Try this:
Try this:
Code: Select all
CEventReceiver* Receiver = new CEventReceiver();
this->device = createDevice(video::EDT_OPENGL,dimension2d<s32>(1024,768),32,false,true,true, Receiver);
- 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
- 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 ...
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 ...
- Fri Aug 15, 2008 9:30 am
- Forum: Code Snippets
- Topic: test
- Replies: 0
- Views: 818
test
test
- 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 ...
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 ...
- 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 ...
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 ...
- Thu Aug 14, 2008 10:51 pm
- Forum: Code Snippets
- Topic: test
- Replies: 0
- Views: 797
test
test
- 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 ...
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 ...
- Mon Aug 11, 2008 9:16 am
- Forum: Beginners Help
- Topic: Newton physics help (objects goes through each others)
- Replies: 1
- Views: 363
- 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 ...
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 ...
- Fri Aug 08, 2008 4:29 pm
- Forum: Beginners Help
- Topic: rotate node based on mouse pos
- Replies: 2
- Views: 893
- 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!
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!
- 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 ...
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 ...