Faculty of Engineering and Mathematical Sciences 
Not logged in (login)

help3003


This forum is provided to promote discussion amongst students enrolled in Graphics and Animation (CITS3003).
 
Options:
RSS cloud
Jump to:

Part B - Texture Scale

4 of 306 articles shown, currently no other people reading this forum.
photo
From: ANONYMOUS
Date: Tue 28th Apr 2020, 2:28pm
Actions: 
        Login-to-reply

 

Hi,

As the sample solution shown, dragging middle mouse button vertically should change the 
texture scale on the object.

The Part B suggested to modify drawMesh() function - specifically for rotating the object.

I was wondering if scaling the texture on the object can be worked within the drawMesh() 
function?

Part B - Texture Scale

photo
From: Mohammad J.
Date: Tue 28th Apr 2020, 11:27pm
Actions: 
        Login-to-reply

 

Hi,

Hint: Can you check where texture in processed in the code? Main code or any shader?

Regards,
Asim

Part B - Texture Scale

photo
From: ANONYMOUS
Date: Fri 1st May 2020, 7:10pm
Actions: 
        Login-to-reply

 

Hi,

I am having troubles with the texture scale. After implementing it, instead of 
changing the texture as shown in the video, my object enlarges or shrinks instead..

I can't show my code here due to the rules but does anyone have any idea why is it 
happening?

Thanks.

Part B - Texture Scale

photo
From: Mohammad J.
Date: Sun 3rd May 2020, 10:26am
Actions: 
        Login-to-reply

 

ANONYMOUS wrote:

> Hi,
> 
> I am having troubles with the texture scale. After implementing it, instead of 
> changing the texture as shown in the video, my object enlarges or shrinks instead..
> 
> I can't show my code here due to the rules but does anyone have any idea why is it 
> happening?
> 
> Thanks.

Hi,

Please join the online lab session and we can debug it there. 

Regards,
Asim
This Page


Program written by: [email protected]
Feedback welcome
Last modified: 11:27am Sep 21 2020