Search found 10 matches

by maddog39
Sat Aug 30, 2008 6:28 am
Forum: Beginners Help
Topic: third person camera + keyboard
Replies: 7
Views: 481

I created a topic sometime last week about modernizing an old third person camera code snippet which you might find helpful. Although its in C++ and not C# but you might be able to read it enough to make a port.

http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=30035
by maddog39
Wed Aug 27, 2008 1:43 am
Forum: Beginners Help
Topic: Modified third person camera troubles
Replies: 13
Views: 1303

rogerborg, I tried compiling your example today and quickly discovered that it wasnt compiling. Apparently because vector3df does not have a function rotationToDirection() and I even checked the docs to confirm this. [maddog39@desktop ThirdPersonCamera]$ make g++ main.cpp -O3 -march=core2 -I/usr/inc...
by maddog39
Mon Aug 25, 2008 10:04 pm
Forum: Beginners Help
Topic: Modified third person camera troubles
Replies: 13
Views: 1303

It appears to assume that ICameraSceneNode provides a full camera implementation. That's no longer correct (was it ever?). If you want to do that now, you'll either have to base your camera on CCameraSceneNode, or encapsulate one. Yes I was assuming when I tried to write my implementation that it w...
by maddog39
Mon Aug 25, 2008 10:23 am
Forum: Beginners Help
Topic: Modified third person camera troubles
Replies: 13
Views: 1303

I'm still not quite clear on what your suggesting. I attempt this:

Code: Select all

void ThirdPersonCamera::setTarget(const vector3df &pos)
{
	ICameraSceneNode::setTarget(pos);
}
But that didnt solve the problem.
by maddog39
Mon Aug 25, 2008 10:01 am
Forum: Beginners Help
Topic: Modified third person camera troubles
Replies: 13
Views: 1303

I got that, was already solved as I dont need to extend IEventReceiver anymore, thats the only code modification I had to make. I was talking about setTarget() which is required by the code but cant be called and does not allow the class to link.
by maddog39
Mon Aug 25, 2008 2:47 am
Forum: Beginners Help
Topic: Modified third person camera troubles
Replies: 13
Views: 1303

So I suppose I should have to reimplement that function; and I didnt realize ICameraSceneNode was already doing multiple-inheritance with IEventReceiver, so it should be safe to just overload OnEvent. [Edit] I have no idea how I would ago about rewriting that function and frustrated by the fact that...
by maddog39
Sun Aug 24, 2008 4:38 am
Forum: Beginners Help
Topic: Modified third person camera troubles
Replies: 13
Views: 1303

Modified third person camera troubles

Hey everyone, I recently wanted a third person camera and attempted an update version of keless' camera based on ICameraSceneNode and IEventReceiver. However for the life of me I cannot get this thing to link. I keep getting undefined reference to ICameraSceneNode::setTarget() errors. Any ideas? Sou...
by maddog39
Sun Aug 24, 2008 4:33 am
Forum: Beginners Help
Topic: Long load times and model rendering problems
Replies: 2
Views: 150

I got the model off of a free 3D resource site and it was somewhere in the range of a meg. The person who originally made the model probably didnt do something properly (as you stated) and I have since dumped it. Other models seem to be working as expected.
by maddog39
Sat Aug 23, 2008 5:09 am
Forum: Project Announcements
Topic: Realistic water scene node
Replies: 255
Views: 278636

I am developing on/for linux and am dying to use this. Any word on when the OpenGL shaders will be finished/released? Assuming there aren't any as none were included in the archive linked to in the first post. Although OGL support was mentioned later in the thread.
by maddog39
Sat Aug 23, 2008 2:44 am
Forum: Beginners Help
Topic: Long load times and model rendering problems
Replies: 2
Views: 150

Long load times and model rendering problems

Hey everyone, I've been playing around with irrlicht lately and keep running into this problem with loading models where the particular side in which the camera is looking at will disappear and the model then doesnt look whole and solid. Screenshot: http://www.dximages.uni.cc/files/1/screenshots/mad...