Squamster-Mesh viewer/painter - v0.4 *New Version: 7-04-09
- mcaden
- Goblin
- Posts: 206
- Joined: Wed Jul 02, 2008 9:29 am
- Location: Texas, USA
- Contact:
Re: Squamster - Mesh viewer/painter - v0.2
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.
- 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
Due to a family emergency I've gone ahead and made the new release. The releases are at the usual place on google code.
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!
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!
- 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
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.
- 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
Awesome! I'll play around with it now.
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?
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?
- 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
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
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.
- 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
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.)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.
- 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
The DLLs and such between 0.2 and 0.3 didn't change. I didn't change the .NET version or recompile the DLLs.
- 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
So what you're saying is...?
- 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
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.
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.
- 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
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:
This same code works in XP, but doesn't work in Vista? This makes no sense.
"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);
- 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
Hmm, very strange.
- 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
Found a fix yet?
- 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
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.
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.
- 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
When're ya getting back home?
Sorry if I'm acting a bit impatient. :3
Sorry if I'm acting a bit impatient. :3
- 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
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.
- 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
Alrighty, good luck~
- KungFooMasta
- 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
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!
- 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
I'll try that then.
EDIT: Wtf is OgreForm and why does it keep throwing exceptions? D:
EDIT: Wtf is OgreForm and why does it keep throwing exceptions? D:
- 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
which exception?
- 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
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:
- 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
It couldn't find Mogre.dll for some reason.InnerException: System.IO.FileNotFoundException
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.
- jacmoe
- 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
I agree fully.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.
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.
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
- 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
Alright, got it working. Yeah, it was the dlls being in the wrong place.
Also, I found the bug. I changed this line
to this line
and then it worked fine. :3
Also, I found the bug. I changed this line
Code: Select all
const string brushPath = "media/brushes/";
Code: Select all
const string brushPath = "../../media/brushes/";
Oh c'mon, is my name really that hard to spell? :Djacmoe wrote:It's a bit tiring (and boring) hearing about Pytries problems
- jacmoe
- 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
Late at night it is..Pyritie wrote:Oh c'mon, is my name really that hard to spell? :D
Sorry.
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
- 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
'Ts okay, I've heard much worse D:jacmoe wrote:Late at night it is..Pyritie wrote:Oh c'mon, is my name really that hard to spell? :D
Sorry.
(like Ptrytrie or something :O )