As per the definition in 1, make a small Processing sketch and try to put textures on a inside of a 3D cube or sphere centered on a moveable 3D camera.
If you can't figure it out:
Post to this thread, explaining your problem. Do you have a texture already, or do you need to make one? Do you want cubic or spherical? What kind of game is this for -- shooter, driving/ flying? How can the camera move? Have you written the rest of the game?
Share your short sketch with the problem. When you ask for help, explain what you want to happen, and what is happening instead.
_2. ... make a small Processing sketch and try to put textures on a inside of a 3D cube...
_3. If you can't figure it out: ...
_5. Share your short sketch with the problem.
Answers
Read about what a skybox is
As per the definition in 1, make a small Processing sketch and try to put textures on a inside of a 3D cube or sphere centered on a moveable 3D camera.
If you can't figure it out:
Post to this thread, explaining your problem. Do you have a texture already, or do you need to make one? Do you want cubic or spherical? What kind of game is this for -- shooter, driving/ flying? How can the camera move? Have you written the rest of the game?
Share your short sketch with the problem. When you ask for help, explain what you want to happen, and what is happening instead.
i build a solar system model(rotating spheres)
i want cubic
how to put textures on a inside of a 3D cube?
thanks))
Getting started:
I believe that you want texture(), which only works on shape vertices -- not on box().
One approach (from the outside) is shown in Processing Examles: Texture Cube....
Also, search "processing skybox" for older examples:
See also a current related thread: