Distorted geometry

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Distorted geometry

basti
Hello Forum,

I tested a few of my programs on a new hp laptop running windows 11
and found out that the geometry looks distorted. Everything seems to
be centered around the world origin (0,0,0).

Consider this sscce showing 3 boxes next to each other.

Code: TestWith3Boxes.java
Output: output.jpg
Log: log_windows11_java21.txt

What I tried:
- Setting different values for monoscopic view policy
- Setting stereo mode to: UNNECESSARY, REQUIRED, PREFERRED
- Changing field of view
- Setting different values for projection policy

Setup:
  JogAmp 2.5-b967-20230818, Java3D 1.7.2 (2023-09-05)

compiled with: jdk 21.0.2+13-LTS-58

Tested with:
  Java(TM) SE Runtime Environment (build 1.8.0_401-b10)
  Java(TM) SE Runtime Environment (build 21.0.2+13-LTS-58)

Graphics card:
  AMD Radeon Graphics
  driver: 10/25/2022, v31.0.12044.3
  Which is the latest according to windows.

I hope you can help me :)

Thanks,
basti
Reply | Threaded
Open this post in threaded view
|

Re: Distorted geometry

gouessej
Administrator
Hello

Please indicate how you run your example, i.e the command line. I advise you to test with an early version of Java3D 1.7 in order to find the culprit.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Distorted geometry

basti
Hello Julien,

thanks for your reply.
I tested it with Java3D 1.7.0 (log) and 1.7.1 (log) but still get the same result.

I run it via a batch script:

:: to run it with jre1.8.0_401, which is installed on the os
@echo off
java -Djava.library.path=lib -Dnativewindow.debug=all -Djogl.debug=all -Dnewt.debug=all -jar testwith3cubes.jar
pause
exit

:: to run it with jdk-21.0.2, which i have on a flash drive
@echo off
set dir=D:\testWith3Cubes\v171\
cd "D:\testWith3Cubes\jdk-21.0.2\bin\"
java -version
java --add-opens=java.desktop/sun.awt=ALL-UNNAMED -Djava.library.path=lib -Dnativewindow.debug=all -Djogl.debug=all -Dnewt.debug=all -jar %dir%testwith3cubes.jar
pause
exit
Reply | Threaded
Open this post in threaded view
|

Re: Distorted geometry

gouessej
Administrator
Maybe Phil has an idea about this.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Distorted geometry

philjord
Thanks for the bump, I'm just waiting to get some time on the only windows11 machine I have, but it's a work machine so it didn't come home for a couple of days.


currently on windows 10 with JDK 21 I get an NPE on awtConfig, so I've got somethign to work on, but not the bug

win10 on jdk11 works nicely though.