Search found 5 matches

by Albandil
Fri Jun 20, 2008 6:08 pm
Forum: Beginners Help
Topic: Which physic engine choose for irrlicht for beginner.
Replies: 7
Views: 673

I use ODE and am quite satisfied with it. You can choose between C++ and C interface (the latter is recommended by the author) and there is a large (though not completely complete) users guide. I believe that once you read through, ODE is comprehendable and easy to use.
by Albandil
Thu Jun 19, 2008 10:11 am
Forum: Beginners Help
Topic: Projecting a point onto a plane
Replies: 1
Views: 232

As for what you have written is should work: if you substitute normal n=(0,1,0) into your matrix, you get T = diag(1,0,1,1), which is perfectly what you need (projection onto the x-z i.e. y = 0) plane. What you may miss is the translation - the plane discussed in linked article is considered to inte...
by Albandil
Thu Jun 19, 2008 9:58 am
Forum: Beginners Help
Topic: Declaring Irrlicht devices in a separate .cpp
Replies: 3
Views: 450

Not sure if I understood your problem, but if all you need is to access global variable (let's say irr::IrrlichtDevice* device) declared in some source file (let's say Device.cpp) in some other source file (say Main.cpp), then all you need to do is just to write somewhere at the beginning of Main.cp...
by Albandil
Thu Jun 12, 2008 8:12 pm
Forum: Beginners Help
Topic: Disabling point attenuation
Replies: 2
Views: 103

Thanks, hybrid, for a reply. I was afraid of this answer - but you are right, in fact I cannot find another case except for the stars, where turning off point attenuation would be useful. And the same for IVideoDriver::drawRawPoints or whatever it would be. I'll use plain OpenGL here. Thanks again.
by Albandil
Thu Jun 12, 2008 5:38 pm
Forum: Beginners Help
Topic: Disabling point attenuation
Replies: 2
Views: 103

Disabling point attenuation

Hi! I have been searching for a while, but found nothing - is there a way how to disable 3D-point attenuation (apparently defaultly set when using function "drawVertexPrimitiveList"), that is, to be able to scale even a very distant points (starry sky etc.) just by setting theirSMaterial::...