Search found 17 matches

by whisp
Sun Feb 06, 2011 10:25 am
Forum: Beginners Help
Topic: [solved] C++ direct access a class mber variable vs getValue
Replies: 6
Views: 1000

Thanks. This makes the decission to implement a public getValue() method instead a public value variable for own classes an easier one, also for values that are needed very often.
by whisp
Sat Feb 05, 2011 7:35 pm
Forum: Beginners Help
Topic: Creating the Sun, emit light, use light source?
Replies: 7
Views: 1503

I'm not the Irrlicht Pro, so i'm sure others can give you better answers. Personally i would make the sun a very light color, almost white, and i would make it unaffected by lights and ensure it to be unshaded. Could be even a billboard with a circle. So no matter how dark your scene is, your sun ...
by whisp
Sat Feb 05, 2011 7:13 pm
Forum: Beginners Help
Topic: [solved] C++ direct access a class mber variable vs getValue
Replies: 6
Views: 1000

Thanks CuteAlien. That's good to know, even though the "usually" makes me a bit wary. Depending on the compiler? Or are there some special situations where no compiler would translate that method to direct access? I guess i have to read a bit about compilers some time.
by whisp
Sat Feb 05, 2011 1:23 pm
Forum: Beginners Help
Topic: [solved] C++ direct access a class mber variable vs getValue
Replies: 6
Views: 1000

[solved] C++ direct access a class mber variable vs getValue

Is there a difference in speed when accessing a classes member variable directly, compared to getting the value of the variable via a getValue method (that does nothing else than return value )?

If it would be an interpreted language i would say yes, due to the additional lines that had to be ...
by whisp
Sat Feb 05, 2011 7:38 am
Forum: Beginners Help
Topic: Opengl Line strip in irrlicht (equivalent)
Replies: 3
Views: 443

Used the class-list in the docu to find it. It's irr::scene::IGeometryCreator.
by whisp
Sat Feb 05, 2011 7:25 am
Forum: Beginners Help
Topic: [Solved] C++ and abstract classes in irrlicht: Confusion
Replies: 4
Views: 885

Thanks for the detailled info, Mel!

I already knew the second part of your explanation (about the base class insect with a run method that works different for ants and spiders) but i wasn't aware about the CD3D9VideoDriver, COpenGLDriver, CNullDriver child-classes you mentioned. I even checked the ...
by whisp
Fri Feb 04, 2011 10:48 pm
Forum: Beginners Help
Topic: [Solved] C++ and abstract classes in irrlicht: Confusion
Replies: 4
Views: 885

Thanks for your answer. I do however still not understand why a method that could not be defined, due to the virtual ... =0, still does something. How i understood it is, that a method like this is just declared to ensure, that it will be implemented in a inherited class. But i see driver ...
by whisp
Fri Feb 04, 2011 10:06 pm
Forum: Beginners Help
Topic: [Solved] C++ and abstract classes in irrlicht: Confusion
Replies: 4
Views: 885

[Solved] C++ and abstract classes in irrlicht: Confusion

I have serious problems in understanding the abstract classes used in C++ respectively implemented in Irrlicht.

I understand the usage and usefulness of interfaces, but i am confused about the explanations of abstract classes in miscellaneous C++ tutorials but their to those explanations ...
by whisp
Thu May 27, 2010 1:16 pm
Forum: Bug reports
Topic: 1.7.1 GUI-Editor: No scrollbar in toolwindow
Replies: 5
Views: 2027

1.7.1 GUI-Editor: No scrollbar in toolwindow

The bug is related to the GUI-Editor provided in the Irrlicht 1.7.1 package.

There's no vertical scrollbar in the toolwindow of the GUI-Editor. Thus it's not possible to edit all properties of a selected element. Beside the Element-Register it's also relevant for the Env-Register.
by whisp
Sat Jan 30, 2010 7:30 pm
Forum: Beginners Help
Topic: Texture doesn't show (right)
Replies: 4
Views: 564

Thanks, hybrid!
by whisp
Sat Jan 30, 2010 4:38 pm
Forum: Beginners Help
Topic: Texture doesn't show (right)
Replies: 4
Views: 564

That was all. I used the same UV coordinates for every single vertex. Now it works. :oops: Thanks!

In that moment another question is coming up tho:

My trianglelist is representing a square that is set up by lots of small squares (50*50). Each of this small squares shall only use a small, specific ...
by whisp
Sat Jan 30, 2010 3:03 pm
Forum: Beginners Help
Topic: Texture doesn't show (right)
Replies: 4
Views: 564

Texture doesn't show (right)

I'm desperately trying to have my very first own 3d object textured, but the texture doesn't show up.

It's a quadratic arranged trianglelist. 50*50 squares, respectively 5000 Triangles.

I started with the CustomSceneNode Tutorial and did some changes in it. The Render-Method looks the following ...
by whisp
Wed Jan 27, 2010 6:46 pm
Forum: Beginners Help
Topic: One mesh, multiple materials
Replies: 6
Views: 677

By no means, it was not sarcasm. :) I'm a newbie, so i might seem to be inappropriatly happy with things that are obvious to others. This hint to multiple layers is exactly what i needed.
by whisp
Wed Jan 27, 2010 6:18 pm
Forum: Beginners Help
Topic: One mesh, multiple materials
Replies: 6
Views: 677

Thanks, Murloc, your answer helped a lot.
by whisp
Wed Jan 27, 2010 5:53 pm
Forum: Beginners Help
Topic: One mesh, multiple materials
Replies: 6
Views: 677

One mesh, multiple materials

Hi all

Is there a way to have multiple materials for one mesh? If no: Eg in Eve Online there are models that use textures of rusty metal, while the metal reflects the light, the rust doesn't. How can this be done?

If i have to to split up a mesh to asign multiple materials, is there a way to have ...