Search found 1013 matches

by greenya
Fri Jul 18, 2014 9:53 am
Forum: Beginners Help
Topic: How to dynamic draw road(trace) with real time data?
Replies: 8
Views: 1028

Re: How to dynamic draw road(trace) with read time data?

If you have say 10-20 lines, you can store them in any form you like and draw them separately using driver->draw2DLine() call. If you have much more and want them to be drawn as fast as possible, you need to deal with VertexBuffer, IndexBuffer and draw2DVertexPrimitiveList(). Here is an example whic...
by greenya
Sun Jul 13, 2014 6:58 pm
Forum: Project Announcements
Topic: Irrlicht Lime is a .NET wrapper for Irrlicht Engine
Replies: 422
Views: 175827

Re: Irrlicht Lime is a .NET wrapper for Irrlicht Engine

Hi Domenus, all the changes between releases of Irrlicht Lime you can find in changes.txt file. Wrapper doesn't support all the Irrlicht functionality, but it has a lot necessary things, you can get what is possible to make from the examples. The very latest version of the wrapper is in the SVN trun...
by greenya
Mon Jun 16, 2014 1:44 pm
Forum: Advanced Help
Topic: gravity
Replies: 2
Views: 563

Re: gravity

This is look like Irrlicht Lime. But i'm, afraid I don't understand the question. P.S.: there is L04.ParticleEmitterViewer example, it has "gravity", you can see it in action and its source. Also please note, Irrlicht has basic animators including gravity and collision, but if you need des...
by greenya
Tue Jun 10, 2014 11:01 am
Forum: Project Announcements
Topic: Irrlicht Lime is a .NET wrapper for Irrlicht Engine
Replies: 422
Views: 175827

Re: Irrlicht Lime is a .NET wrapper for Irrlicht Engine

1. It's more efficient to realize S3DVertex in C# or managed C++ and just put the pointer to DrawVertexPrimitiveList than operate with often created/destroied classes with Vertex3D & memory copies. It is faster to reimplement them of cause. But i choose wrapping because its easier to further su...
by greenya
Wed Apr 09, 2014 12:44 am
Forum: Project Announcements
Topic: Irrlicht Lime is a .NET wrapper for Irrlicht Engine
Replies: 422
Views: 175827

Re: Irrlicht Lime is a .NET wrapper for Irrlicht Engine

Building application works fine, but when application is started FileNotFoundException occures. FileName is IrrlichtLime.dll. I have all three files (Irrlicht.dll, IrrlichtLime.dll, IrrlichtLime.xml) in my project bin directory with EXE file. Can you start your app outside Visual Studio, simply by ...
by greenya
Wed Feb 26, 2014 6:57 pm
Forum: Project Announcements
Topic: Irrlicht Lime is a .NET wrapper for Irrlicht Engine
Replies: 422
Views: 175827

Re: Irrlicht Lime is a .NET wrapper for Irrlicht Engine

I haven't check your code. But you can check example L09.SimpleLOD, there when you enable drawing labels (by pressing L) it draws labels to all near and visible planets. To do that it uses exactly what you need -- it translates 3d world coordinates to 2d screen coordinates.             if (LabelPosi...
by greenya
Sun Feb 09, 2014 2:25 am
Forum: Project Announcements
Topic: Irrlicht Lime is a .NET wrapper for Irrlicht Engine
Replies: 422
Views: 175827

Re: Irrlicht Lime is a .NET wrapper for Irrlicht Engine

I would add such change in Lime with no doubts if there wasn't one big problem with that approach. This scenario shows how this will memleak: - suppose Irrlicht has method witch takes IReadFile*, it written correctly, it do grabbing and dropping properly; - we created out managed ReadFile object, we...
by greenya
Sun Feb 09, 2014 2:04 am
Forum: Project Announcements
Topic: Irrlicht Lime is a .NET wrapper for Irrlicht Engine
Replies: 422
Views: 175827

Re: Irrlicht Lime is a .NET wrapper for Irrlicht Engine

If I would accept solutions with changing Irrlicht native code for Lime needs, than yeah, that code would get some other implementation for sure. But Lime doesn't change the source of the Irricht. I mean you literally compile Lime with original Irrlicht source (IrrCompileConfig.h is the only file ge...
by greenya
Sat Feb 08, 2014 9:04 pm
Forum: Project Announcements
Topic: Irrlicht Lime is a .NET wrapper for Irrlicht Engine
Replies: 422
Views: 175827

Re: Irrlicht Lime is a .NET wrapper for Irrlicht Engine

Hello. I don't see any problem with next code:   ReadFile f = device.FileSystem.CreateMemoryReadFile("screenTexture", c); Texture t = device.VideoDriver.GetTexture(f); f.Drop();   We created object, we used it, we destroyed it explicitly (memory deallocated exactly at point where we expect...
by greenya
Tue Jan 14, 2014 6:23 pm
Forum: Project Announcements
Topic: Irrlicht Lime is a .NET wrapper for Irrlicht Engine
Replies: 422
Views: 175827

Re: Irrlicht Lime is a .NET wrapper for Irrlicht Engine

Hello. Well, there are next ways to make object look better: - play with colors (as you do) - use texturing - use shaders If you use only "color", i don't think you can achieve good result. When you see in 3dmax simple colored object indeed its not only colored, its per-pixel-lighted, whic...
by greenya
Fri Dec 27, 2013 3:43 pm
Forum: Beginners Help
Topic: Determining Operating System at Runtime
Replies: 6
Views: 696

Re: Determining Operating System at Runtime

Look in /include/IrrCompileConfig.h
by greenya
Tue Dec 24, 2013 8:39 am
Forum: Beginners Help
Topic: Determining Operating System at Runtime
Replies: 6
Views: 696

Re: Determining Operating System at Runtime

As far as i know same binary will not be used on different systems. Your app will be compiled for each one if its possible and then resulting binary will be used. Which means you can make all checks using Irrlicht's macro #define s. For example if you want to use some code only when DirectX 8 render...
by greenya
Fri Dec 13, 2013 8:50 am
Forum: Project Announcements
Topic: Irrlicht Lime is a .NET wrapper for Irrlicht Engine
Replies: 422
Views: 175827

Re: Irrlicht Lime is a .NET wrapper for Irrlicht Engine

This is behavior of the Irrlicht Engine, not special case of the wrapper. As for me, i agree, this is a problem, for instance in the example with small room, dwarf, water, flying light and real-time shadows. If you don't see the dwarf, its animation is also doesn't plays, you can see his freezing sh...
by greenya
Thu Dec 12, 2013 8:38 am
Forum: Project Announcements
Topic: Irrlicht Lime is a .NET wrapper for Irrlicht Engine
Replies: 422
Views: 175827

Re: Irrlicht Lime is a .NET wrapper for Irrlicht Engine

Driver.GPUProgrammingServices returns wrapped pointer on native video::IGPUProgrammingServices. It will return always a new object (new wrapped object GPUProgrammingServices). So in first case, you don't save it in any variable, so garbage collector destroys it any time soon. In the second case, you...
by greenya
Fri Nov 15, 2013 4:54 pm
Forum: Project Announcements
Topic: Irrlicht Lime is a .NET wrapper for Irrlicht Engine
Replies: 422
Views: 175827

Re: Irrlicht Lime is a .NET wrapper for Irrlicht Engine

You cannot inherit MeshLoader.
You have to load custom formats by yourself. Please see the examples to see how you can create a mesh.