New Update 12022006

Lioric

12-02-2006 19:04:15

New Features

Render System is configurable
Updated Viewport Settings panel for the new option
Default parameters for shader programs
Animation system updates animation-set length automatically

Fixes

Re-export of some specific scenes had an issue that prevented the process - fixed
Mouse wheel is not compilant to the max standard - fixed
Mouse wheel delta in orthographic views is different from the perspective views - fixed
Animations dont preservs its position when the animation range is bigger - fixed

Get it from the downloads page, this updated version is requiered as it fixes some important issues

Lioric

IFASS

12-02-2006 21:41:35

nice work lioric!

I'll update the viewer to 1.0.7 this week aswell, along with maybe some new features (otherwise i'll look into the features a week later)

nikki

13-02-2006 16:01:15

I've got an exception with your updated version. I uninstalled the older version before installing the new one. Here's the exception:-



The previous version worked for me. Previously, I had installed the older version and installed a smaller file you had provided on top of it. I am using 3ds max 7, and have ocopus installed too.

Lioric

13-02-2006 16:08:23

You can test if changing the display system corrects the issue

Open Max
Before activating the oFusion Viewport, open the oFusion Viewport Settings panel (menu oFusion/Viewport)
Set the display system to Direct3D9
Close the settings panel
Re-open the settings panel to see if the changes were validated
Activate oFusion Viewport

In any case, send me the "ogre.log" file that is generated in the max root folder when the error dialog showed

nikki

13-02-2006 18:28:29

Here's the exception in the log:-
-----------------------------------
Details:
-----------------------------------
Error #: 6
Function: ResourceManager::add
Description: Resource with the name SpecularBump_vs already exists..
File: C:\ogre3d\OgreMain\src\OgreResourceManager.cpp
Line: 89
Stack unwinding: <<beginning of stack>>
18:44:21: Error at line 16 of SpecularBump_vs.program: Could not create GPU program 'SpecularBump_vs', error reported was: An exception has been thrown!


EDIT: Ok, fixed it. Changing to Direct3D from OpenGL did the trick. I have a problem running Ogre apps on OpenGL, so thats why it didn't work. Thanks for the help! :)

Lioric

13-02-2006 19:23:50

In the "ogre_azathoth" directory of your max root, there is a "media/shaders" folder where the shaders programs are, see if you have a duplicate definition of the SpecularBump_vs, or look if you have this file copied or installed on any other place in your max directory structure

Or open the "SpecularBump_vs.program" and delete the commented HLSL definition of the SpecularBump_vs shader, so the only the CG definition is left in the file

pixl

14-02-2006 12:33:35

For some reason when i try to create a shader based material and go to ps/vs setting in the pass dialog, it sais "Shader system not active!". How do I activate the shader system?

Lioric

14-02-2006 15:06:40

From the "Working with Gpu Shaders" chapter of the user's guide

"For working with gpu shaders, the Ogre Viewport needs to be active, if not the gpu program parameters of the pass materials will be disabled. This is because access to the underlaying render system is needed in order to process vertex and fragment programs and to set up their parameters."

pixl

14-02-2006 18:20:32

From the "Working with Gpu Shaders" chapter of the user's guide

"For working with gpu shaders, the Ogre Viewport needs to be active, if not the gpu program parameters of the pass materials will be disabled. This is because access to the underlaying render system is needed in order to process vertex and fragment programs and to set up their parameters."


Yeah i figured that out myself :p thnx anyway...

EDIT:
One cool thing about oFusion vs scripted plugin is that its fast and can export large meshes. The scripted octopus plugin would crash when trying to export meshes with 5000+ polys :D