[code-reflection] Integrated: added Emanuel Peter's normal mapping demo - not hatified yet

Gary Frost gfrost at openjdk.org
Wed Sep 17 08:36:48 UTC 2025


This is a copy of Emanuel Peters 2005 JVMLS Normal Mapping example. 

I made a few changes to accommodate our build structure.  It has been added to hat.java and to maven. 

We should be able tio create a HAT variant of this code. Both to demo GPU perf als this will be a good reference if/when we get around to a VectorAPI backend. 


java -cp hat/job.jar  hat.java bld 
java -cp hat/job.jar hat.java run ffi-opencl normmap

-------------

Commit messages:
 - added Emanuel Peter's normal mapping demo - not hatified yet

Changes: https://git.openjdk.org/babylon/pull/572/files
  Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=572&range=00
  Stats: 550 lines in 8 files changed: 548 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/babylon/pull/572.diff
  Fetch: git fetch https://git.openjdk.org/babylon.git pull/572/head:pull/572

PR: https://git.openjdk.org/babylon/pull/572


More information about the babylon-dev mailing list