Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

3 Dimensional Chat / (basic) Trouble with texture scale

Author
Message
basicFanatic
6
Years of Service
User Offline
Joined: 7th Jun 2017
Location:
Posted: 25th Jul 2017 10:36
I tried playing around with AGKVR Demo 2 - Castle Advanced, and suddenly, the repeated floor texture became insanely oversized, with each (blured) pixel visible. But I never changed the code for the floor:



That code is exactly the same as the original. So obviously I messed with some other code which caused a change in texture scale. So I wonder, which commands can influences the scale of a texture?

(This is offtopic, but do you think there is reason for SetImageWrapU() and SetImageWrapV() to be repeated in the code?)
basicFanatic
6
Years of Service
User Offline
Joined: 7th Jun 2017
Location:
Posted: 26th Jul 2017 10:41
I'll just start over, then. Thanks for giving it a look!

Still -- does anyone know if there is a command to change the scale of a texture?
basicFanatic
6
Years of Service
User Offline
Joined: 7th Jun 2017
Location:
Posted: 26th Jul 2017 21:14
I found the error! For whatever reason, the floor must be created *before* the VR stuff. Otherwise, the texture screws up.

It displeased me that the floor was added to the scene before the basic VR was initiated, but turned out there was a reason.


Login to post a reply

Server time is: 2024-03-28 22:02:56
Your offset time is: 2024-03-28 22:02:56