Archive 17/01/2023.

Incorrect camera transforms 1.7-1 example projects

Sleepy

Hi, I’ve installed the latest release of Urho3D but when I run any of the bundled examples, or the example here, the Camera transforms are all incorrect. (see attached)
I think this may be due to the OpenGL version on my machine (4.6.0) - but I couldn’t find where the gl version is sepecified in the CMake files for the projects. If it helps, I’m currently running Linux using the propriatary Nvidia drivers.ss
Any help would be greatly appreciated

jmiller

Hello,
Welcome to the Urho community forum! :confetti_ball:

(It seems to me) the GL version used for desktop is specified here:

This probably does not shed much light (I could not find in issues yet), but I think others are likely to.

Modanung

@Sleepy Could you try…

The deformations seem suspiciously similar to those @NinjaPangolin was experiencing.
And indeed, welcome! :confetti_ball: :slight_smile:

Sleepy

Thanks for the swift responses! Clearly my OpenGL is more than a bit rusty :smile:. I tried removing the -ffast-math flag and re-building but that didn’t seem to help. Since I’m on GCC 8.2.1, I’ll try switching to clang when I get off work and report back.

Modanung

Did you clean the build folder before rebuilding? Just to be sure.

Sleepy

Hi @Modanung, I did clean the build folder before rebuilding but without any luck

weitjong

Why not just bite the bullet to try out the master branch?

Sleepy

I was able to rebuild with clang over lunch, which ended up fixing the deformations!

@weitjong - A mix of caution and laziness, I’m hesitant to use the master branches of any of the libraries I generally use, and as a result I didn’t even consider using the master branch for Urho3D. Plus, having the latest release in the AUR is really convenient.

Thanks for all your help everyone :slight_smile:

weitjong

The last version was released over a year ago and many things have changed under the hood since then. Although I totally understand your concern, it is a chicken and egg issue. If less people trying the master then it would also mean less people finding bugs in the current master and fixing them by submitting PR, so the master branch remains untested at large. We do not have anyone leading this project at the moment, but I personally think may be we can draft a release out and call it 1.8-RC or something so more people are willing to check it out.

Modanung

@weitjong This also helps to signal some activity since the latest release date is one of the first things people run into that one will judge a project’s activity by.