Squamster-Mesh viewer/painter - v0.4 *New Version: 7-04-09

A place to show off your latest screenshots and for people to comment on them. Only start a new thread here if you have some nice images to show off!
User avatar
mcaden
Goblin
Posts: 206
Joined: Wed Jul 02, 2008 9:29 am
Location: Texas, USA
Contact:

Re: Squamster - Mesh viewer/painter - v0.2

Post by mcaden »

With special thanks to o0hamish0o I have a working undo/redo system functional. I'm going to implement a couple minor features and I plan on making a SVN commit and a new release within the next 24 hours.
Katalyst Studios indie game dev project
Squamster - open source mesh viewer/painter
User avatar
mcaden
Goblin
Posts: 206
Joined: Wed Jul 02, 2008 9:29 am
Location: Texas, USA
Contact:

Re: Squamster - Mesh viewer/painter - v0.3 *New Version: 3-11-09

Post by mcaden »

Due to a family emergency I've gone ahead and made the new release. The releases are at the usual place on google code.

Image

I must go out of town. Documentation is NOT updated. I will do so within the next 24 hours. Since I'll be out of town I went ahead and committed/released the updates but due to time I'll not be able to update the wiki/forum posts until later. Enjoy!
Katalyst Studios indie game dev project
Squamster - open source mesh viewer/painter
User avatar
mcaden
Goblin
Posts: 206
Joined: Wed Jul 02, 2008 9:29 am
Location: Texas, USA
Contact:

Re: Squamster - Mesh viewer/painter - v0.3 *New Version: 3-11-09

Post by mcaden »

I'm starting on the documentation update now that I've finished traveling. I do want to mention that I just realized there's a bug. Changing textures does not reset the undo stack. If you try to undo across textures it will let you. If the previous texture is smaller or the same size all you will do is overwrite the new texture with the previous one. If the previous texture is larger the program will crash and burn. I don't have my usual development software at my current location but I will try and code an update to this ASAP.
Katalyst Studios indie game dev project
Squamster - open source mesh viewer/painter
User avatar
Pyritie
Gnome
Posts: 363
Joined: Wed Feb 25, 2009 6:15 pm
Location: UK
x 8
Contact:

Re: Squamster - Mesh viewer/painter - v0.3 *New Version: 3-11-09

Post by Pyritie »

Awesome! I'll play around with it now. :D

EDIT: Hmm, the .exe crashes for me. The ogre.log doesn't seem to have any errors though.

Do I need to install C# or is that installed on vista (I know :P) by default?
I use Mogre, BulletSharp, LuaNetInterface, irrKlang, and Miyagi! | Ponykart (Showcase)
Image
User avatar
mcaden
Goblin
Posts: 206
Joined: Wed Jul 02, 2008 9:29 am
Location: Texas, USA
Contact:

Re: Squamster - Mesh viewer/painter - v0.3 *New Version: 3-11-09

Post by mcaden »

I haven't had access to a vista machine so I didn't realize there was a problem. I'm out of town and where I am does have Vista so I'm using it to try and track down the problem. Of dependencies I know Squamster needs the vcredist for 2008.


11:47:17: FBO PF_UNKNOWN depth/stencil support: D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8

Is the last entry in ogre.log. If I try and compile from SVN in debug Vista's event viewer is showing a "side-by-side configuration" error. In release all I get is
Faulting application Squamster.exe, version 0.2.0.0, time stamp 0x49b83887, faulting module unknown, version 0.0.0.0, time stamp 0x00000000, exception code 0xc0000005, fault offset 0x08d51980, process id 0x252c, application start time 0x01c9a33228189fbc.
Katalyst Studios indie game dev project
Squamster - open source mesh viewer/painter
User avatar
Pyritie
Gnome
Posts: 363
Joined: Wed Feb 25, 2009 6:15 pm
Location: UK
x 8
Contact:

Re: Squamster - Mesh viewer/painter - v0.3 *New Version: 3-11-09

Post by Pyritie »

mcaden wrote:I haven't had access to a vista machine so I didn't realize there was a problem. I'm out of town and where I am does have Vista so I'm using it to try and track down the problem. Of dependencies I know Squamster needs the vcredist for 2008.
I've got that installed, so that's not the problem. Your release version you had on the first post back when I first posted on this thread worked fine. (Mostly.)
I use Mogre, BulletSharp, LuaNetInterface, irrKlang, and Miyagi! | Ponykart (Showcase)
Image
User avatar
mcaden
Goblin
Posts: 206
Joined: Wed Jul 02, 2008 9:29 am
Location: Texas, USA
Contact:

Re: Squamster - Mesh viewer/painter - v0.3 *New Version: 3-11-09

Post by mcaden »

The DLLs and such between 0.2 and 0.3 didn't change. I didn't change the .NET version or recompile the DLLs.
Katalyst Studios indie game dev project
Squamster - open source mesh viewer/painter
User avatar
Pyritie
Gnome
Posts: 363
Joined: Wed Feb 25, 2009 6:15 pm
Location: UK
x 8
Contact:

Re: Squamster - Mesh viewer/painter - v0.3 *New Version: 3-11-09

Post by Pyritie »

So what you're saying is...?
I use Mogre, BulletSharp, LuaNetInterface, irrKlang, and Miyagi! | Ponykart (Showcase)
Image
User avatar
mcaden
Goblin
Posts: 206
Joined: Wed Jul 02, 2008 9:29 am
Location: Texas, USA
Contact:

Re: Squamster - Mesh viewer/painter - v0.3 *New Version: 3-11-09

Post by mcaden »

I don't know why it's not running on Vista - or if it's also not working on XP (of course it works on my home machine - XP).

EDIT: I tested on an old laptop running XP. It ran fine as long as I installed the directX runtime (dxwebsetup.exe) and the vc++ 2008 SP1 redist.
Katalyst Studios indie game dev project
Squamster - open source mesh viewer/painter
User avatar
mcaden
Goblin
Posts: 206
Joined: Wed Jul 02, 2008 9:29 am
Location: Texas, USA
Contact:

Re: Squamster - Mesh viewer/painter - v0.3 *New Version: 3-11-09

Post by mcaden »

For some reason installing the vcredist didn't put it where squamster could find it. I manually copied the dlls from the redist directory of visual studio into c:\windows\system32 and it found them but still crashed. After I loaded up the project and tried to debug I'm getting this:
"Attempted to read or write protected memory. This is often an indication that other memory is corrupt."

Code: Select all

mWindow = mRoot.CreateRenderWindow("Main RenderWindow", 800, 600, false, misc.ReadOnlyInstance);
This same code works in XP, but doesn't work in Vista? This makes no sense.
Katalyst Studios indie game dev project
Squamster - open source mesh viewer/painter
User avatar
Pyritie
Gnome
Posts: 363
Joined: Wed Feb 25, 2009 6:15 pm
Location: UK
x 8
Contact:

Re: Squamster - Mesh viewer/painter - v0.3 *New Version: 3-11-09

Post by Pyritie »

Hmm, very strange.
I use Mogre, BulletSharp, LuaNetInterface, irrKlang, and Miyagi! | Ponykart (Showcase)
Image
User avatar
Pyritie
Gnome
Posts: 363
Joined: Wed Feb 25, 2009 6:15 pm
Location: UK
x 8
Contact:

Re: Squamster - Mesh viewer/painter - v0.3 *New Version: 3-11-09

Post by Pyritie »

Found a fix yet?
I use Mogre, BulletSharp, LuaNetInterface, irrKlang, and Miyagi! | Ponykart (Showcase)
Image
User avatar
mcaden
Goblin
Posts: 206
Joined: Wed Jul 02, 2008 9:29 am
Location: Texas, USA
Contact:

Re: Squamster - Mesh viewer/painter - v0.3 *New Version: 3-11-09

Post by mcaden »

Unfortunately no.

I've been sick, had 2 job interviews (and apparently got the job) and a few family issues have come up. I've been looking but I honestly can't figure out any reason why this would be happening on vista, but be fine on XP.

I'm gonna try and recompile all the DLLs when I get back home.
Katalyst Studios indie game dev project
Squamster - open source mesh viewer/painter
User avatar
Pyritie
Gnome
Posts: 363
Joined: Wed Feb 25, 2009 6:15 pm
Location: UK
x 8
Contact:

Re: Squamster - Mesh viewer/painter - v0.3 *New Version: 3-11-09

Post by Pyritie »

When're ya getting back home?

Sorry if I'm acting a bit impatient. :3
I use Mogre, BulletSharp, LuaNetInterface, irrKlang, and Miyagi! | Ponykart (Showcase)
Image
User avatar
mcaden
Goblin
Posts: 206
Joined: Wed Jul 02, 2008 9:29 am
Location: Texas, USA
Contact:

Re: Squamster - Mesh viewer/painter - v0.3 *New Version: 3-11-09

Post by mcaden »

I got back a couple days ago but things are moving faster than I expected. It looks like I'll be moving along with my wife and child across the country in roughly a week and a half. I will try to get to this though.
Katalyst Studios indie game dev project
Squamster - open source mesh viewer/painter
User avatar
Pyritie
Gnome
Posts: 363
Joined: Wed Feb 25, 2009 6:15 pm
Location: UK
x 8
Contact:

Re: Squamster - Mesh viewer/painter - v0.3 *New Version: 3-11-09

Post by Pyritie »

Alrighty, good luck~
I use Mogre, BulletSharp, LuaNetInterface, irrKlang, and Miyagi! | Ponykart (Showcase)
Image
User avatar
KungFooMasta
OGRE Contributor
OGRE Contributor
Posts: 2087
Joined: Thu Mar 03, 2005 7:11 am
Location: WA, USA
x 16
Contact:

Re: Squamster - Mesh viewer/painter - v0.3 *New Version: 3-11-09

Post by KungFooMasta »

Sorry to jump on the thread after not reading everything. Pyritie, have you tried building this from source on your vista machine? It sounds like mcaden is very busy, and the time spent figuring out why the binaries won't execute on Vista could be better spent on other things, IMO.
Creator of QuickGUI!
User avatar
Pyritie
Gnome
Posts: 363
Joined: Wed Feb 25, 2009 6:15 pm
Location: UK
x 8
Contact:

Re: Squamster - Mesh viewer/painter - v0.3 *New Version: 3-11-09

Post by Pyritie »

I'll try that then.

EDIT: Wtf is OgreForm and why does it keep throwing exceptions? D:
I use Mogre, BulletSharp, LuaNetInterface, irrKlang, and Miyagi! | Ponykart (Showcase)
Image
User avatar
mcaden
Goblin
Posts: 206
Joined: Wed Jul 02, 2008 9:29 am
Location: Texas, USA
Contact:

Re: Squamster - Mesh viewer/painter - v0.3 *New Version: 3-11-09

Post by mcaden »

which exception?
Katalyst Studios indie game dev project
Squamster - open source mesh viewer/painter
User avatar
Pyritie
Gnome
Posts: 363
Joined: Wed Feb 25, 2009 6:15 pm
Location: UK
x 8
Contact:

Re: Squamster - Mesh viewer/painter - v0.3 *New Version: 3-11-09

Post by Pyritie »

Code: Select all

System.TypeInitializationException was unhandled
  Message="The type initializer for 'Squamster.OgreForm' threw an exception."
  Source="Squamster"
  TypeName="Squamster.OgreForm"
  StackTrace:
       at Squamster.OgreForm..ctor()
       at Squamster.Program.Main() in C:\Users\Pyritie\Documents\Computer Science\C++\Squamster\Squamster\Program.cs:line 36
       at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
  InnerException: System.IO.FileNotFoundException
       Message="Could not load file or assembly 'Mogre, Version=1.4.8.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified."
       Source="Squamster"
       FileName="Mogre, Version=1.4.8.0, Culture=neutral, PublicKeyToken=null"
       FusionLog="=== Pre-bind state information ===\r\nLOG: User = PYRITIE\\Pyritie\r\nLOG: DisplayName = Mogre, Version=1.4.8.0, Culture=neutral, PublicKeyToken=null\n (Fully-specified)\r\nLOG: Appbase = file:///C:/Users/Pyritie/Documents/Computer Science/C++/Squamster/Squamster/bin/Debug/\r\nLOG: Initial PrivatePath = NULL\r\nCalling assembly : Squamster, Version=0.2.3373.23247, Culture=neutral, PublicKeyToken=null.\r\n===\r\nLOG: This bind starts in default load context.\r\nLOG: Using application configuration file: C:\\Users\\Pyritie\\Documents\\Computer Science\\C++\\Squamster\\Squamster\\bin\\Debug\\Squamster.vshost.exe.config\r\nLOG: Using machine configuration file from C:\\Windows\\Microsoft.NET\\Framework\\v2.0.50727\\config\\machine.config.\r\nLOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).\r\nLOG: Attempting download of new URL file:///C:/Users/Pyritie/Documents/Computer Science/C++/Squamster/Squamster/bin/Debug/Mogre.DLL.\r\nLOG: Attempting download of new URL file:///C:/Users/Pyritie/Documents/Computer Science/C++/Squamster/Squamster/bin/Debug/Mogre/Mogre.DLL.\r\nLOG: Attempting download of new URL file:///C:/Users/Pyritie/Documents/Computer Science/C++/Squamster/Squamster/bin/Debug/Mogre.EXE.\r\nLOG: Attempting download of new URL file:///C:/Users/Pyritie/Documents/Computer Science/C++/Squamster/Squamster/bin/Debug/Mogre/Mogre.EXE.\r\n"
       StackTrace:
            at Squamster.OgreForm..cctor()
       InnerException: 
I'm pretty sure it's just me being a nub with mogre :P
I use Mogre, BulletSharp, LuaNetInterface, irrKlang, and Miyagi! | Ponykart (Showcase)
Image
User avatar
mcaden
Goblin
Posts: 206
Joined: Wed Jul 02, 2008 9:29 am
Location: Texas, USA
Contact:

Re: Squamster - Mesh viewer/painter - v0.3 *New Version: 3-11-09

Post by mcaden »

InnerException: System.IO.FileNotFoundException
It couldn't find Mogre.dll for some reason.

I think you may have to double check your reference directories and working directory. In the solution file they may be hardcoded to my directory on my computer.
Katalyst Studios indie game dev project
Squamster - open source mesh viewer/painter
User avatar
jacmoe
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
x 179
Contact:

Re: Squamster - Mesh viewer/painter - v0.3 *New Version: 3-11-09

Post by jacmoe »

KungFooMasta wrote:Sorry to jump on the thread after not reading everything. Pyritie, have you tried building this from source on your vista machine? It sounds like mcaden is very busy, and the time spent figuring out why the binaries won't execute on Vista could be better spent on other things, IMO.
I agree fully.
It's a bit tiring (and boring) hearing about Pytries problems ... in an otherwise exciting topic.
Having a 3D paint program in Ogre is just great. :)
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
User avatar
Pyritie
Gnome
Posts: 363
Joined: Wed Feb 25, 2009 6:15 pm
Location: UK
x 8
Contact:

Re: Squamster - Mesh viewer/painter - v0.3 *New Version: 3-11-09

Post by Pyritie »

Alright, got it working. Yeah, it was the dlls being in the wrong place.

Also, I found the bug. I changed this line

Code: Select all

const string brushPath = "media/brushes/";
to this line

Code: Select all

const string brushPath = "../../media/brushes/";
and then it worked fine. :3
jacmoe wrote:It's a bit tiring (and boring) hearing about Pytries problems
Oh c'mon, is my name really that hard to spell? :D
I use Mogre, BulletSharp, LuaNetInterface, irrKlang, and Miyagi! | Ponykart (Showcase)
Image
User avatar
jacmoe
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
x 179
Contact:

Re: Squamster - Mesh viewer/painter - v0.3 *New Version: 3-11-09

Post by jacmoe »

Pyritie wrote:Oh c'mon, is my name really that hard to spell? :D
Late at night it is.. :wink:
Sorry. :)
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
User avatar
Pyritie
Gnome
Posts: 363
Joined: Wed Feb 25, 2009 6:15 pm
Location: UK
x 8
Contact:

Re: Squamster - Mesh viewer/painter - v0.3 *New Version: 3-11-09

Post by Pyritie »

jacmoe wrote:
Pyritie wrote:Oh c'mon, is my name really that hard to spell? :D
Late at night it is.. :wink:
Sorry. :)
'Ts okay, I've heard much worse D:

(like Ptrytrie or something :O )
I use Mogre, BulletSharp, LuaNetInterface, irrKlang, and Miyagi! | Ponykart (Showcase)
Image
Post Reply