Scrub that...it was me...I was forgetting to use the .ogg extension internally...should be fine now.
Attaching new version..
For the Player size you can now tap a new size into the width and height boxes and press enter/return to alter it. It still also works with the dragging resize.
One further note: I added '+' buttons so you can note the present audio time to the notepad, this also has the effect of copying the time to your PC's clipboard, so after pressing the + button you can directly paste the time into any of the pads. I thought this would be most useful when using the Hap Pad.
If there are any more requests or comments I would be pleased to hear them, thanks to wgb for your input , it was just the kind of thing I was hoping for :)
****SEE TOP OF THREAD FOR LATEST VERSION****
***NEW VERSION***
I noticed the program wasn't accepting drag and drop files to the work surface. This has now been rectified. Please see the first post for the latest version.
Lol, well it's not an easy subject - here's my response. I am using CAPITALS just to emphasise what the differences are, I am not shouting at you!
You said : "2, I can, just did, drag a Light hap file in to change the lighting and I think this disagrees with your statement of " It's not possible to add lights to a scene once the scene is loaded ".
My reply : Like I said, it is NOT possible to ADD lights to a Haptek scene after that scene has loaded. All you are able to do is control the lights ALREADY in the scene and that's why the light haps work - because most models have a default set of lights which get loaded at run-time. The light haps are changing the properties of the lights ALREADY in the scene.
You said: "3, that Hap Explorer only adjust's the material's properties - like their reflective, ambient and diffuse qualities.
I'd add it controls ambient light and the Specullar Power of some lighting."
My reply : Hap Explorer does NOT control any LIGHTS, all it controls is the MATERIAL PROPERTIES (the exception is; you can adjust the light settings if you load a light-effecting Hap file to target the PRE-EXISTING lights). Hap Explorer can alter the Ambient and Specular Power of the MATERIALS but this is not the LIGHTS.
You said: "4, " That's why those light haps you mention work as they target the lights already in the scene." you seem to disagree with the statement in 2,"
My reply : It does not really disagree with 2, because I later said that it IS POSSIBLE to control lights ALREADY in the scene.
Key points :
MATERIALS = the surface of the models and the way they react to light. Controllable by Hap Explorer with the sliders.
LIGHTS = actual light sources in the scene. Not controllable by Hap Explorer directly APART from being able to load light-effecting Hap files. YES they can be ADJUSTED with a Hap file, but new or extra light sources cannot be added after the scene has fully loaded. To add more lights you need to do external work on your lighting file.
----------------------------------------------------------------
Then you went on to the fullbodylight.hap...
You said : "So we have the Ambient light and a directional light which must be Specular Power."
My reply : Not really sure what you mean there, the directional light is not Specular power, directional light is as it's name suggests...a light-source shining in a certain direction. My best understanding of Specular power is that it is a material's shininess or gloss.
That's about the limit of my understanding, I hope it makes some sense. I'm still learning here too and am only reporting back what I have found to be true with Haptek. I might be slightly off on my definitions, but from what I have learnt from working on Explorer and things this is the way it seems to work.
--------------------------------------------------------------
There's a good page at Haptek which says pretty much the same as what I have posted here. Here's a quick quote from it :
"Lights are initialized in a lighting file, which is loaded by the scene file as described above. An example lighting file is "StandardLight.hap", installed with the player. A lighting file is the only place to create a light. They cannot be added to the scene during runtime. Once a light exists in the scene, its properties such as Color, Type, Position, and Direction may be modified with the \SetLight command. At this time, only Point, Directional, and Ambient lights are supported. Spot lights and Slide Projector lights may be added in the future."
You can find that page here :
http://www.haptek.com/developers/HaptekGuide4/MakinContent/scene/
In the end we will get there ! Finally, thanks for saying 'thanks', I'm glad you have found the program useful. ;D
Yes, the figure is exactly 1000000000 (9 zeroes).
When I click on "details", I get the following:
System.ArgumentOutOfRangeException: Der Wert 1000000000 ist für Value ungültig. Value sollte zwischen 'minimum' und 'maximum' liegen.
Parametername: Value
bei System.Windows.Forms.ScrollBar.set_Value(Int32 value)
bei HapExplorer.ControlPanel.GetMaterialSettings()
bei HapExplorer.ControlPanel.PauseTimer_Tick(Object sender, EventArgs e)
bei System.Windows.Forms.Timer.OnTick(EventArgs e)
bei System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Yes, almost all European countries use the comma as the decimal point, including the German-speaking ones. Good one; I would never have considered that as a possible source of the problem. I think you're on the right track with that one.
I just tried the new version you uploaded, but it won't install. I get the following error (I translated it):
PLATFORM VERSION
Windows : 5.1.2600.131072 (Win32NT)
Common Language Runtime : 2.0.50727.1433
System.Deployment.dll : 2.0.50727.1433 (REDBITS.050727-1400)
mscorwks.dll : 2.0.50727.1433 (REDBITS.050727-1400)
dfdll.dll : 2.0.50727.1433 (REDBITS.050727-1400)
dfshim.dll : 2.0.50727.1433 (REDBITS.050727-1400)
SOURCES
URL : file:///D:/Dokumente%20und%20Einstellungen/Ilias/Desktop/HapExplorer_0_8_0_14/HapExplorer_0_8_0_14/HapExplorer.application
ERROR SUMMARY
* Activation of D:\Dokumente und Einstellungen\Ilias\Desktop\HapExplorer_0_8_0_14\HapExplorer_0_8_0_14\HapExplorer.application has lead to an exception. The following errors were discovered:
+ Exception at parsing the manifest of 'file:///D:/Dokumente%20und%20Einstellungen/Ilias/Desktop/HapExplorer_0_8_0_14/HapExplorer_0_8_0_14/HapExplorer.application': The Manifest is probably invalied, or the file could not be opened.
+ The XML signature of the manifests is invalid.
+ There was no signature in the application.
ERRIR DETAILS
* [30.04.2009 02:13:54] System.Deployment.Application.InvalidDeploymentException (ManifestParse)
- Exception at parsing the manifest of 'file:///D:/Dokumente%20und%20Einstellungen/Ilias/Desktop/HapExplorer_0_8_0_14/HapExplorer_0_8_0_14/HapExplorer.application': The manifest is probably invalid, or the file could not be opened.
- Source: System.Deployment
- Stapelüberwachung [I'M SORRY, I DON'T KNOW WHAT THAT WORD MEANS]:
at System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri)
at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestDirectBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options)
at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
--- Internal Exception ---
System.Deployment.Application.InvalidDeploymentException (SignatureValidation)
- The XML signature of the Manifests is invalid.
- Source: System.Deployment
- Stapelüberwachung [THAT WORD AGAIN, SORRY]:
at System.Deployment.Application.Manifest.AssemblyManifest.ValidateSignature(Stream s)
at System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri)
--- Internal Exception ---
System.Security.Cryptography.CryptographicException
- There was no signature in the application.
- Source: System.Deployment
- Stapelüberwachung [ONCE MORE, THAT ACCURSED WORD]:
at System.Deployment.Internal.CodeSigning.SignedCmiManifest.Verify(CmiManifestVerifyFlags verifyFlags)
at System.Deployment.Application.Manifest.AssemblyManifest.ValidateSignature(Stream s)
It could be that I have to uninstall the old version first, but I don't know how to do that.
Heh, it's me, once again. ;D
The application installs OK now, but the 1000000000 error persists. Here's the translated error report:
************** Exception **************
System.ArgumentOutOfRangeException: The value 1000000000 is invalid for Value. Value should range between 'minimum' and 'maximum'.
Parameter name: Value
at System.Windows.Forms.ScrollBar.set_Value(Int32 value)
at HapExplorer.ControlPanel.GetMaterialSettings()
at HapExplorer.ControlPanel.PauseTimer_Tick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.1433 (REDBITS.050727-1400).
CodeBase: file:///D:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll.
----------------------------------------
HapExplorer
Assembly-Version: 1.0.0.0.
Win32-Version: 1.0.0.0.
CodeBase: file:///D:/Dokumente%20und%20Einstellungen/Ilias/Lokale%20Einstellungen/Apps/2.0/4CMTJ5WH.BXM/QVZWCA3O.RGG/hape..tion_2509394a011cb8c3_0000.0008_8e11fef252923606/HapExplorer.exe.
----------------------------------------
Microsoft.VisualBasic
Assembly-Version: 8.0.0.0.
Win32-Version: 8.0.50727.1433 (REDBITS.050727-1400).
CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll.
----------------------------------------
System
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.1433 (REDBITS.050727-1400).
CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll.
----------------------------------------
System.Windows.Forms
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.1433 (REDBITS.050727-1400).
CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll.
----------------------------------------
System.Drawing
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.1433 (REDBITS.050727-1400).
CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.
----------------------------------------
System.Runtime.Remoting
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.1433 (REDBITS.050727-1400).
CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll.
----------------------------------------
AxInterop.ACTIVEHAPTEKXLib
Assembly-Version: 1.0.0.0.
Win32-Version: 1.0.0.0.
CodeBase: file:///D:/Dokumente%20und%20Einstellungen/Ilias/Lokale%20Einstellungen/Apps/2.0/4CMTJ5WH.BXM/QVZWCA3O.RGG/hape..tion_2509394a011cb8c3_0000.0008_8e11fef252923606/AxInterop.ACTIVEHAPTEKXLib.DLL.
----------------------------------------
System.Configuration
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.1433 (REDBITS.050727-1400).
CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll.
----------------------------------------
System.Xml
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.1433 (REDBITS.050727-1400).
CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll.
----------------------------------------
System.Windows.Forms.resources
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.1433 (REDBITS.050727-1400).
CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.
----------------------------------------
Interop.ACTIVEHAPTEKXLib
Assembly-Version: 1.0.0.0.
Win32-Version: 1.0.0.0.
CodeBase: file:///D:/Dokumente%20und%20Einstellungen/Ilias/Lokale%20Einstellungen/Apps/2.0/4CMTJ5WH.BXM/QVZWCA3O.RGG/hape..tion_2509394a011cb8c3_0000.0008_8e11fef252923606/Interop.ACTIVEHAPTEKXLib.DLL.
----------------------------------------
Accessibility
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.1433 (REDBITS.050727-1400).
CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll.
----------------------------------------
mscorlib.resources
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.1433 (REDBITS.050727-1400).
CodeBase: file:///D:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll.
----------------------------------------
A thousand thanks for all the work you're doing for us!