Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 1 (2 points) To select a specific texture to use, you need to use which of the following OpenGL commands? Select one. glActiveTexture glGetTexture

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

Question 1 (2 points) To select a specific texture to use, you need to use which of the following OpenGL commands? Select one. glActiveTexture glGetTexture glEnableVertexAttribArray glVertexAttribPointer Question 2 (2 points) The "stb_image.h library can load which of the following? Select one. JPG images only PNG images only JPG and PNG images only JPG, PNG, BMP, PSD, and GIF images, and more Question 3 (2 points) What is GL_REPEAT used for? Select one. To have a texture repeat in a direction To determine the length of the texture when rendering To repeat the last instruction in OpenGL To enable buffering Question 4 (2 points) What function approximates a color between texels by taking an interpolated value from the texture coordinate's neighboring texels? Select one. GL_BLUR GL_MAGNIFY GL_LINEAR GL_NEAREST Question 5 (2 points) What filtering method in OpenGL linearly interpolates between the two closest mipmaps and samples the interpolated level via linear interpolation? Select one. GL_NEAREST_MIPMAP_NEAREST GL_LINEAR_MIPMAP_NEAREST GL_LINEAR_MIPMAP_LINEAR GL_NEAREST_MIPMAP_LINEAR Question 6 (2 points) Which texture filtering option allows you to clearly see the pixels of a texture? Select one. GL_BLUR GL_MAGNIFY GL_LINEAR GL_NEAREST Question 7 (2 points) What is the correct function used to apply texture wrapping? Select one. g|TexParameterio) glWrapping Parameteri() glTextureParameteri() glTexWrap Parameteri() Question 8 (2 points) Which function is used manually to set a uniform sampler to the proper texture unit? Select one. glUniform glUniform1i g|TextureView glUnitTex Question 9 (2 points) Which function is used to set a uniform sampler with the shader class? Select one. setUTC) setint Ousel) set() Question 10 (2 points) Texture coordinates range between what numbers on the x and y axes? Select one. 0-1 to 1 0-1 to -1 O to 1 01 to 2

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases On The Web Designing And Programming For Network Access

Authors: Patricia Ju

1st Edition

1558515100, 978-1558515109

More Books

Students also viewed these Databases questions

Question

LO3.1 Characterize and give examples of markets.

Answered: 1 week ago