Home Tutorials Download Beta Store Forum Documentation KnowledgeBase Wiki Blog

ShiVa3D

Return to Microsoft Windows

Web Player Plays Differently

Windows DX9/OpenGL 2 Standalone Apps

Web Player Plays Differently

Postby makkar » 18 Jan 2009, 16:12

Hello,

With this latest web-player update, there is a difference. The web player seems not to show bloom PRE. And everything is on Application Default in the Options Panel.

Just compare the two pictures.
Image
User avatar
makkar
Platinum Boarder
Platinum Boarder
 
Posts: 1511

Re:Web Player Plays Differently

Postby makkar » 18 Jan 2009, 16:13

And this is how it should look like, as in the standalone player.

Image
User avatar
makkar
Platinum Boarder
Platinum Boarder
 
Posts: 1511

Re:Web Player Plays Differently

Postby makkar » 18 Jan 2009, 16:15

If not Bloom, than it could be dynamic lighting, but I am more sure about Bloom.

Makkar
User avatar
makkar
Platinum Boarder
Platinum Boarder
 
Posts: 1511

Re:Web Player Plays Differently

Postby NiCoX » 18 Jan 2009, 17:16

Hi,

How is lit the ground ? Vertex color, lightmap (16 or 24 bpp), or dynamic light (with or without normal map) ?
User avatar
NiCoX
Platinum Boarder
Platinum Boarder
 
Posts: 5642
Location: France

Re:Web Player Plays Differently

Postby makkar » 18 Jan 2009, 17:45

The ground is a complete baked texture + a texture of snow with Shiva generated UV for fine detail in modulate mode.

There is no lightmap done in Shiva.

A dynamic sphere light is there above the tree which lightens the ground around.
User avatar
makkar
Platinum Boarder
Platinum Boarder
 
Posts: 1511

Re:Web Player Plays Differently

Postby NiCoX » 18 Jan 2009, 17:54

Hmmm I found that there is actually a bug in the Direct3D codepath, about Saturation and Levels post rendering effects. Could you confirm this is the same problem (so remove the post render effects and retry) ?

(and I suppose your WebPlayer is using Direct3D (render mode 1), and your Standalone is using OpenGL (render mode 2))
User avatar
NiCoX
Platinum Boarder
Platinum Boarder
 
Posts: 5642
Location: France

Re:Web Player Plays Differently

Postby makkar » 18 Jan 2009, 18:14

I don't exactly understand how I should confirm this. Should I disable post render effects in Shiva and export it again?

These numbers aren't the same as in Scene Viewer/Render Settings, right?

But as I can see, the snowman does have bloom.

I have to add, that a second terrain mesh layer is also there just above the visible one, and that has the snow specular effect.
User avatar
makkar
Platinum Boarder
Platinum Boarder
 
Posts: 1511

Re:Web Player Plays Differently

Postby NiCoX » 18 Jan 2009, 18:50

Sorry, if you could do that :

In ShiVa, verify if you use Saturation and/or Levels post rendering effects (in the AmbienceEditor). If it is the case, remove them, export, and test.

You can also change the rendering mode inside ShiVa and restart it (1=Direct3D, and 2=OpenGL).

:)
User avatar
NiCoX
Platinum Boarder
Platinum Boarder
 
Posts: 5642
Location: France

Re:Web Player Plays Differently

Postby makkar » 18 Jan 2009, 21:56

Inside Shiva, using hardware mode 1 gives me the same bad appearance as the web player. In mode 2 everything is all right.

I removed Levels, exported it, nothing changed in the web-player.


In the past, the two players showed the same image.
User avatar
makkar
Platinum Boarder
Platinum Boarder
 
Posts: 1511

Re:Web Player Plays Differently

Postby NiCoX » 18 Jan 2009, 22:29

Is it possible to get a scene with only some objects that are bad rendered in mode 1 ?
User avatar
NiCoX
Platinum Boarder
Platinum Boarder
 
Posts: 5642
Location: France

Re:Web Player Plays Differently

Postby makkar » 19 Jan 2009, 22:19

Yes, I uploaded it with the "Submit Content" section.
User avatar
makkar
Platinum Boarder
Platinum Boarder
 
Posts: 1511

Re:Web Player Plays Differently

Postby NiCoX » 19 Jan 2009, 22:46

Thanks, problem fixed. Will be available in the next WebPlayer update and ShiVa 1.7.

:)
User avatar
NiCoX
Platinum Boarder
Platinum Boarder
 
Posts: 5642
Location: France

Re:Web Player Plays Differently

Postby makkar » 20 Jan 2009, 01:57

Ok, thanks.

I just don't understand why you have in Shiva
1: medium quality
2: high quality.

So DirectX can't be as good as OpenGL?

In 3dsmax viewport performance is much better in DirectX mode on any system I have tried so far. Not that I would favor DirectX....
User avatar
makkar
Platinum Boarder
Platinum Boarder
 
Posts: 1511

Re:Web Player Plays Differently

Postby NiCoX » 20 Jan 2009, 02:18

Hi,

In reality, "our Direct3D codepath" currently does exists only for compatibility reasons, and do not use shaders. So some effects are not showing in this mode. But we plan to improve it :)

PS : The WebPlayer update including the fix will be available in some minutes ;)
User avatar
NiCoX
Platinum Boarder
Platinum Boarder
 
Posts: 5642
Location: France

Re:Web Player Plays Differently

Postby broozar » 20 Jan 2009, 04:46

i always wondered why you ship a DX compatibility backend, since Ston3D aims to be cross-platform and DX is a windows-only technology. Plus, DirectX needs to be updated manually in most cases (since there are many IE6 out there, one must assume that those folks are using a standard XP installation with DX 8 at best, if not win2000 or NT) and OpenGL is part of the video driver, which means that it's guaranteed to be on the machine already.
CM ShiVa Technologies SAS
User avatar
broozar
Platinum Boarder
Platinum Boarder
 
Posts: 3472
Location: Berlin - Germany

Next

Return to Microsoft Windows