irrShowMesh

Announce new projects or updates of Irrlicht Engine related tools, games, and applications.
Also check the Wiki

irrShowMesh

Postby lug » Sun Oct 08, 2006 1:25 am

lug here. I've been working on a mesh viewer for irrlicht (yes, I know there's like a gazillion different one).

But I'm focusing this one more on ease of use. The meshviewer example that comes with irrlicht annoys me. So, I'm rollin' my own version.

pic:

Image

features:

- based on meshviewer example
- uses windows forms (vc++ .net) for GUI (requires .net 2.0 runtime)
- uses irrlicht .net (duh!)
- drag-and-drop mesh load
- coded in managed c++
- uses multiple threads (one for GUI and one for irrlicht)
- planned x64 (64-bit) native version as well as 32-bit
- planned to add OpenMP for multi-core support

Okay, it's an excuse to try out window forms/x64/multi-core programming...are you happy now? :P

More pics (sourceforge was down at the time):

Image

Image

Image

Image
Last edited by lug on Mon Oct 09, 2006 9:26 pm, edited 1 time in total.
lug
 
Posts: 79
Joined: Tue May 02, 2006 5:15 am

Postby TheGameMaker » Mon Oct 09, 2006 8:52 am

nice... it seams like you can load more than one mesh??
is it posiible, to have one mesh with one shader and another with a second shader??
TheGameMaker
 
Posts: 275
Joined: Fri May 12, 2006 6:37 pm
Location: Germany

Postby lug » Mon Oct 09, 2006 9:27 pm

[quote="TheGameMaker"]nice... it seams like you can load more than one mesh??
is it posiible, to have one mesh with one shader and another with a second shader??[/quote]

Hmmm...hadn't thought about that. I'll keep that in mind.
lug
 
Posts: 79
Joined: Tue May 02, 2006 5:15 am

Postby lug » Wed Oct 11, 2006 12:20 am

new pics:

Image

Image

Image

Image
lug
 
Posts: 79
Joined: Tue May 02, 2006 5:15 am

Postby lug » Thu Oct 12, 2006 2:06 am

new video of irrShowMesh in action!

flash version (too small for my taste):

Image

or download full version from rapidshare (6193 KB):

http://rapidshare.de/files/36414222/irr ... o.wmv.html
lug
 
Posts: 79
Joined: Tue May 02, 2006 5:15 am

Postby lug » Tue Oct 17, 2006 6:12 pm

Added sleep to irrlicht thread to allow user to adjust the performance of the irrlicht thread. It defaults to 65 ms. That seems to be the optimal number. Without sleep, the irrlicht thread would eat up 20-40% of the cpu time. When set to 65 ms, it only took up 2-4 % of cpu time with acceptable slowdown.

Image

Code: Select all
   [System::Runtime::InteropServices::DllImport("kernel32.dll")]
   extern "C" void Sleep(long dwMilliseconds);

...

          while(device->Run() && !bgwIrrlichtThread->CancellationPending)
          {
...
             // sleep (win32 unmanaged call)
                Sleep(Convert::ToInt64(nudSleep->Text));

}


Update:

I've just uploaded the x64 version for everyone to download and play with (it uses 64-bit irrlicht and 64-bit irrlicht .NET dlls):

http://www.megaupload.com/?d=Z61T3V27

Nothing new since last post, I'm in a 64-bit craze at the moment so I just had to update irrShowMesh to x64 version. :)

Update 2:

Okay, looks like irrShowMesh is going to be the guinea pig to test out irrPreSettings. I have it setup to run irrPreSettings first. Once the user exits irrPreSettings, irrShowMesh will run and read in the xml file that irrPreSettings wrote.

irrShowMesh uses this to setup it's irrlicht device. Although, it doesn't use all of the items in the irrPreSetting xml file, it's useful nonetheless.

irrShowMesh has it's own configuration xml file for everything else like mesh settings (wireframe, initial position, etc.) that it saves so that the next time you run irrShowMesh it remembers the previous settings.

I couldn't figure out how to use the irrlicht's IXMLReader/Writer under irrlicht .NET. So, I used MS's xml api. It's quite similar to irrlicht's xml api in useage.

Anyway, I'll see if I can get a version ready for you guys to try out with the above mentioned additions. :)

Update 3:

Download here (still x64 version):

http://www.megaupload.com/?d=XHPW27A0
lug
 
Posts: 79
Joined: Tue May 02, 2006 5:15 am

Postby spidEY-CRO » Sat Feb 24, 2007 10:46 pm

lug, can you please upload it again.

The link has expired.
spidEY-CRO
 
Posts: 1
Joined: Sat Feb 24, 2007 10:10 pm

Postby white tiger » Sun Feb 25, 2007 11:59 am

i can't download it
white tiger
 
Posts: 269
Joined: Tue Oct 31, 2006 3:24 pm

Postby IrrWHAT?! » Sat Nov 08, 2008 4:14 pm

OMG, you are using a windows-style file loading dialogue in Irrlicht. That is amazing! I didn't think that was possible, but I'm glad to see it can be done (I absolutely hate the irrlicht file loading dialogue) :)
IrrWHAT?!
 
Posts: 33
Joined: Tue May 20, 2008 9:18 am
Location: Australia

Postby JP » Mon Nov 10, 2008 8:33 am

Well if you're app works on Windows then you can use the Windows API to open up a Windows file dialog pretty easily, Irrlicht doesn't stop that at all.

Good little project lug, doesn't matter if there's loads of other similar projects out there, if they don't do what you want then you either need to edit theirs or make your own!
Image Image Image
User avatar
JP
 
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK

Postby Halan » Mon Nov 10, 2008 6:22 pm

If it is written with irrlicht.net does it work with mono too? Or wait you need Irrlicht CP for that...
Halan
 
Posts: 447
Joined: Tue Oct 04, 2005 8:17 pm
Location: Germany, Freak City

Postby sio2 » Tue Nov 11, 2008 10:27 pm

Can you handle meshes that have more than one material?
sio2
Competition winner
 
Posts: 1003
Joined: Thu Sep 21, 2006 5:33 pm
Location: UK

Postby Eigen » Wed Nov 12, 2008 8:18 am

I don't think the author is still working on it. This project is from 2006. Not sure why IrrWHAT?! dug it up ..
User avatar
Eigen
Competition winner
 
Posts: 375
Joined: Fri Jan 27, 2006 2:01 pm
Location: Estonia

Postby GameDude » Sun Nov 16, 2008 4:21 am

That's pretty cool looking
GameDude
 
Posts: 488
Joined: Thu May 24, 2007 12:24 am


Return to Project Announcements

Who is online

Users browsing this forum: No registered users and 1 guest