Author Topic: sphere model texture  (Read 3082 times)

Offline srymurphy

  • byte
  • *
  • Posts: 1
    • View Profile
sphere model texture
« on: December 29, 2023, 05:28:23 am »
I used the JPCT framework to implement a 360 degree video player based on a sphere model, and I found that the texture I pasted is on the outside of the sphere. What interface should I use to paste the texture inside the sphere? Threejs can use sphere. geometry. scale (1, 1, -1) to change the direction of z, so how should JPCT achieve the same effect.

Offline AeroShark333

  • float
  • ****
  • Posts: 320
    • View Profile
Re: sphere model texture
« Reply #1 on: December 29, 2023, 07:07:09 am »
Personally, I use:
Code: [Select]

Alternatively, it is possible to use:
I don't think there is much of a difference...