Search found 28 matches

by Kriolyth
Mon May 05, 2008 10:10 pm
Forum: Beginners Help
Topic: Texture to hardware limits
Replies: 7
Views: 502

(<name> has joined #directx) +1 to rogerborg and long live RAID0 :D Another choice could be DDS textures with DXT n compression (note hybrid saying about patch). These both take less space on disk and in VRAM/RAM, have little impact on performance, but may produce some compression artifacts similar ...
by Kriolyth
Thu May 01, 2008 10:02 pm
Forum: Beginners Help
Topic: Beam scenenode Help!
Replies: 13
Views: 663

Have you forgotten a "using namespace irr;" line?
by Kriolyth
Mon Apr 28, 2008 6:43 pm
Forum: Advanced Help
Topic: Vista..vista..
Replies: 7
Views: 704

Re: Vista..vista..

<...>my question is, why does it run smooth on other machines while it crashes on mine? So how does the guy who is coding the sound engine on XP suppose to know that his code will not run under vista? Or do we basically have to test the code in both platforms and make sure it runs ok? Also, if it r...
by Kriolyth
Thu Apr 24, 2008 1:41 pm
Forum: Advanced Help
Topic: Optimizing the display of texture with alpha
Replies: 14
Views: 1088

I had a look at the Alpha-to-Covreage example from NVidia SDK (AtoC also available for ATI cards), what it does is like anti-aliasing for transparent textures. I'm just not sure, whether this can be implemented in Irrlicht without updating the engine itself.
by Kriolyth
Sat Apr 19, 2008 12:42 am
Forum: Beginners Help
Topic: timed string
Replies: 23
Views: 890

Let me guess... sprintf? :)
by Kriolyth
Sat Apr 19, 2008 12:37 am
Forum: Beginners Help
Topic: How to make a gradient on the background color
Replies: 16
Views: 909

Draw a full-screen quad with vertex colors you need and lighting disabled. Turn off Z-buffer as well.
by Kriolyth
Sat Apr 19, 2008 12:27 am
Forum: Beginners Help
Topic: How to draw cylinder, again?
Replies: 2
Views: 474

Re: How to draw cylinder, again?

driver->drawVertexPrimitiveList(vertex.const_pointer(),vertex.size(), index.const_pointer(), index.size(),video::EVT_STANDARD,scene::EPT_TRIANGLE_STRIP); TriangleCount is two less than index.size() in tri-strips, mind that. Will I get different results using // T1 T2 T3 T4 IndexBuffer = 0, 1, 5, 4,...
by Kriolyth
Thu Apr 17, 2008 6:53 pm
Forum: Everything 2d/3d Graphics
Topic: my3d exporter for 3d studio max 2008/3d studio max 9?
Replies: 4
Views: 2014

Re: my3d exporter for 3d studio max 2008/3d studio max 9?

- It has something to do with windows vista 64-bit. If you are running a 64bit version of Max (and you, most probably, are) then it is the problem. Max Plugin is basically a DLL, and you cannot load a 32bit DLL into a 64bit process. So you have to recompile the plugin with Max 9 SDK and targeting a...
by Kriolyth
Thu Apr 17, 2008 6:24 pm
Forum: Beginners Help
Topic: Make env on the objects ?
Replies: 10
Views: 432

Yes, it is possible. If you have a static camera, but you want to rotate the car, you can use a sphere map. You take 1 texture of the environment to be reflected and warp it (I'm quite sure there are plenty programs that do the warp for you). Then you set environment texture as a second texture for ...
by Kriolyth
Mon Apr 14, 2008 9:15 pm
Forum: Beginners Help
Topic: Transparent background ?
Replies: 4
Views: 484

I guess to show the desktop, you'd have to take a snapshot of the underlying screen without the window, then draw that as an image/texture in the Irrlicht window background each frame. It'd be pretty much platform specific. A clean way to do it in Windows is calling SetWindowRgn et al., but it is t...
by Kriolyth
Tue Apr 08, 2008 7:26 pm
Forum: Beginners Help
Topic: Measurement system
Replies: 22
Views: 973

Model a simple ruler in MAX or Blender that has some definite size (for instance, 1 Quatloon :P ). You will have a scene anyway, where you can scale models to fit the dimensions needed. BTW, 3DS has a special tag for defining unit scale and anotehr tag for object matrix that can also have a scaling ...
by Kriolyth
Tue Apr 08, 2008 2:14 pm
Forum: Beginners Help
Topic: Lighting problem
Replies: 6
Views: 412

Try also tesselating tunnel walls. Usually all lighting is per-vertex and then lightness values are interpolated over whole triangle. If a triangle is too stretched, lighting will never be correct.
by Kriolyth
Mon Apr 07, 2008 2:17 pm
Forum: Beginners Help
Topic: [fixed] Revision 1309 doesn't compile with MinGW - Win32
Replies: 19
Views: 1089

Click on the icon in the top left corner of console window ("system menu") -> Edit -> Mark, select a region to copy, press Enter.
by Kriolyth
Sat Apr 05, 2008 1:09 pm
Forum: Beginners Help
Topic: switch versus if [C++]
Replies: 15
Views: 517

"switch" under most compilers will generate a jump-table, so after evaluation it will take only one CPU instruction to get to the needed branch.
"if" is hardly optimized at all, so there is a huge chance that every if-condition will be tested.
(actually repeating hybrid)
by Kriolyth
Fri Apr 04, 2008 9:03 pm
Forum: Beginners Help
Topic: C++ Class Question
Replies: 4
Views: 181

But this means that the Class1 pointer, even that it points to a data of Class2 it will have the interface of Class1 so if for example Class2 has methodZ and Class1 has methodA your pointer would be able to call only methodA of Class1 or better saying that your pointer will Not be able to call any ...