Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
36 user(s) are online (16 user(s) are browsing Forums)

Members: 0
Guests: 36

more...

Support us!

Recent OS4 Files
OS4Depot.net

Report message:*
 

Re: GL4ES: another OpenGL over OpenGLES2 emulation - some tech. info and porting progress

Subject: Re: GL4ES: another OpenGL over OpenGLES2 emulation - some tech. info and porting progress
by kas1e on 2019/3/11 14:10:38

@Hans, Daniel

Another game, another issue :)

Its LugaruHD (we have some old minigl port):

https://osslugaru.gitlab.io/
https://github.com/osslugaru/lugaru/

Take a look at that video:

https://youtu.be/4j0f60e-OJ4

Starting from 30 seconds, you can see how textures of the sky start to mirror+copy all the other world's data, and sometime you can see bounds of textures of sky. Also issue is very visibly on the level 2, starting from 1:25 seconds on video.

I also tried some older version of the sources (original ones released in 2010) : same issue.

Then tested it over MiniGL : no issue. Then asking ptitSeb to test it on Pandora : no issue.

The the code for the skybox is pretty small, and all in Source/Environment/Skybox.cpp there:

https://github.com/osslugaru/lugaru/bl ... ce/Environment/Skybox.cpp


What says PtitSeb is that:

---
The skybox is wrong. The faces are not the right ones, and some are not shown at all.

My guess is that the math used to calculated the coordinates of the skybox vertices get wrong at some points, like with negative values getting discarded or wrapping to positive?
---

And as can be seen in the Skybox.cpp, there is lots of "-size", which may cause on ogles2 or on w3dnova that effect.

And as i do not know what it ogles2 or warp3dnova, i dunno where to report it.

Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project