You are not logged in.

Read the FAQ and Knowledge Base before posting.
We won't make a 3DS/2DS emulator.



#1 2009-12-26 05:39:38

Franpa
Member
Registered: 2009-03-16
Posts: 60
Website

OpenGL renderer lacks fog and seems to have some layering issues.

(maybe 0.94) 0.95 and SVN 3227 x86

Hi, in Zelda Spirit Tracks the draw distance fog does not work with OpenGL. Also when Link gets frozen a speech bubble appears indicating that you need to rub the stylus side to side to free him. With OpenGL the animation appears behind the solid white speech bubble (can see the edges of the animation around the edges of the white bubble) while with Software Rendering it appears on top.

Last edited by Franpa (2020-08-30 15:17:31)


Computer specifications:
Windows 10 x64 | Ryzen 3700X | ASUS Crosshair Hero VIII (WiFI) Motherboard | 16GB 3600MHz RAM | Nvidia Geforce 1070Ti

Offline

#2 2009-12-26 12:44:26

lbalbalba
Member
Registered: 2009-03-13
Posts: 229

Re: OpenGL renderer lacks fog and seems to have some layering issues.

Franpa wrote:

(maybe 0.94) 0.95 and SVN 3227 x86

Hi, in Zelda Spirit Tracks the viewing distance fog does not work with OpenGL. Also when Link gets frozen a speech bubble appears indicating that you need to rub the stylus side to side to free him. With OpenGL the animation appears behind the solid white speech bubble (can see the edges of the animation around the edges of the white bubble) while with Software Rendering it appears on top.

If I understand correctly, then opengl is not capable of doing fog:

http://forums.desmume.org/viewtopic.php?pid=6517#p6517

Offline

#3 2009-12-26 16:28:22

zeromus
Radical Ninja
Registered: 2009-01-05
Posts: 6,260

Re: OpenGL renderer lacks fog and seems to have some layering issues.

Why do you think we made the software rasterizer? Use it instead.

Offline

#4 2009-12-27 05:58:24

Franpa
Member
Registered: 2009-03-16
Posts: 60
Website

Re: OpenGL renderer lacks fog and seems to have some layering issues.

If it is a bug in your implementation or the drivers I am using then say so, otherwise add an entry to the FAQ stating that the hardware accelerated rendering engine is not being updated/maintained anymore and that everyone should use the Software Rasterizer.

The link lbalbalba provided confirms the OpenGL renderer is not being maintained anymore so maybe add that piece of info to the FAQ?


Computer specifications:
Windows 10 x64 | Ryzen 3700X | ASUS Crosshair Hero VIII (WiFI) Motherboard | 16GB 3600MHz RAM | Nvidia Geforce 1070Ti

Offline

#5 2009-12-27 12:40:32

lbalbalba
Member
Registered: 2009-03-13
Posts: 229

Re: OpenGL renderer lacks fog and seems to have some layering issues.

Franpa wrote:

If it is a bug in your implementation or the drivers I am using then say so, otherwise add an entry to the FAQ stating that the hardware accelerated rendering engine is not being updated/maintained anymore and that everyone should use the Software Rasterizer.

The link lbalbalba provided confirms the OpenGL renderer is not being maintained anymore so maybe add that piece of info to the FAQ?

If I understand correctly, it is not a 'bug' in any implementation, it's just that the opengl standard spec does not allow for 'fog', period, nevermind the implementations.


As for the FAQ:
http://wiki.desmume.org/index.php?title … is_missing

Offline

#6 2009-12-27 17:05:35

zeromus
Radical Ninja
Registered: 2009-01-05
Posts: 6,260

Re: OpenGL renderer lacks fog and seems to have some layering issues.

lbalbalba, you understand incorrectly.
franpa, this isn't a frequently asked question.  Most people are satisfied with dogmatic proclamations to switch to software rasterizer.

Offline

#7 2009-12-27 19:31:39

lbalbalba
Member
Registered: 2009-03-13
Posts: 229

Re: OpenGL renderer lacks fog and seems to have some layering issues.

zeromus wrote:

lbalbalba, you understand incorrectly.

Ah ? So in theory, 'fog' could be implemented correctly in desmume using opengl as well ? (If you go through the trouble of correcting me, please let me know what facts I have got wrong and state the corrects ones please smile

Offline

#8 2009-12-27 22:23:54

zeromus
Radical Ninja
Registered: 2009-01-05
Posts: 6,260

Re: OpenGL renderer lacks fog and seems to have some layering issues.

opengl supports fog. it would be hard to wrestle it into submission to emulate the ds fog. opengl also supports pixel shaders which could probably be used to do more accurate fog with opengl.

Offline

Board footer

Powered by FluxBB