Click here to Skip to main content
12,818,508 members (33,789 online)
   

Graphics

 
Questionhelp on 3d game development Pin
Emile the code master20-May-12 19:54
memberEmile the code master20-May-12 19:54 
AnswerRe: help on 3d game development Pin
Amarnath S3-Jun-12 22:50
groupAmarnath S3-Jun-12 22:50 
GeneralRe: help on 3d game development Pin
Emile the code master3-Jun-12 23:24
memberEmile the code master3-Jun-12 23:24 
Questionthe bellow code contains some logical errors.in this code food(),poison food() functions will only work at once after execution . .please help me to correct this. Pin
Deepak97121-Apr-12 7:14
memberDeepak97121-Apr-12 7:14 
AnswerRe: the bellow code contains some logical errors.in this code food(),poison food() functions will only work at once after execution . .please help me to correct this. Pin
Richard MacCutchan21-Apr-12 8:49
mvpRichard MacCutchan21-Apr-12 8:49 
AnswerRe: the bellow code contains some logical errors.in this code food(),poison food() functions will only work at once after execution . .please help me to correct this. Pin
Wes Aday21-Apr-12 9:44
memberWes Aday21-Apr-12 9:44 
AnswerRe: the bellow code contains some logical errors.in this code food(),poison food() functions will only work at once after execution . .please help me to correct this. Pin
iPick1226-May-12 6:18
memberiPick1226-May-12 6:18 
QuestionClamp Texture Address Mode Pin
Seeker200221-Feb-12 11:45
memberSeeker200221-Feb-12 11:45 
Microsoft DirectX 9.0 / C++ Question about Setting Sampler State / Clamp Texture Address Mode.

How can I get a SetSamplerState to effect a specific custom vertex and not the whole entire scene?

For instance, I created a scene with 3D objects and stuff completely surrounded by a Skybox cube.

I'm trying to get the following code to effect my skybox cube face textures only, and not the rest of the scene. Confused | :confused:

// Clamp Texture Address Mode.
g_pD3DDevice->SetSamplerState( 0, D3DSAMP_ADDRESSU, D3DTADDRESS_CLAMP );
g_pD3DDevice->SetSamplerState( 0, D3DSAMP_ADDRESSV, D3DTADDRESS_CLAMP );

The code works great as far as getting rid of those noticeable seams in the skybox, but it also messes up the rest of the stuff.

Any help would be greatly appreciated.. Thanks! Thumbs Up | :thumbsup:
QuestionResize Canvas on bitmap Pin
pablogvivo30-Jan-12 22:20
memberpablogvivo30-Jan-12 22:20 
Question3d Pin
born to create23-Jan-12 17:44
memberborn to create23-Jan-12 17:44 
AnswerRe: 3d Pin
Richard MacCutchan24-Jan-12 0:29
mvpRichard MacCutchan24-Jan-12 0:29 
GeneralRe: 3d Pin
CDP180224-Jan-12 0:47
memberCDP180224-Jan-12 0:47 
GeneralRe: 3d Pin
Richard MacCutchan24-Jan-12 0:58
mvpRichard MacCutchan24-Jan-12 0:58 
GeneralRe: 3d Pin
CDP180224-Jan-12 1:07
memberCDP180224-Jan-12 1:07 
GeneralRe: 3d Pin
Richard MacCutchan24-Jan-12 1:30
mvpRichard MacCutchan24-Jan-12 1:30 
AnswerRe: 3d Pin
CDP180224-Jan-12 0:57
memberCDP180224-Jan-12 0:57 
AnswerRe: 3d Pin
Hermaine18-Apr-12 22:55
memberHermaine18-Apr-12 22:55 
QuestionAnimation in borderless window Pin
Aleonis23-Oct-11 2:14
memberAleonis23-Oct-11 2:14 
AnswerRe: Animation in borderless window Pin
Richard MacCutchan23-Oct-11 3:21
mvpRichard MacCutchan23-Oct-11 3:21 
GeneralRe: Animation in borderless window Pin
Aleonis23-Oct-11 3:32
memberAleonis23-Oct-11 3:32 
GeneralRe: Animation in borderless window Pin
Richard MacCutchan23-Oct-11 3:44
mvpRichard MacCutchan23-Oct-11 3:44 
GeneralRe: Animation in borderless window Pin
Aleonis23-Oct-11 4:32
memberAleonis23-Oct-11 4:32 
AnswerRe: Animation in borderless window Pin
Alisaunder23-Oct-11 6:07
memberAlisaunder23-Oct-11 6:07 
GeneralRe: Animation in borderless window Pin
Aleonis23-Oct-11 8:14
memberAleonis23-Oct-11 8:14 
QuestionXna object Transformation. Pin
AghaKhan22-Oct-11 21:56
memberAghaKhan22-Oct-11 21:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.170308.1 | Last Updated 3 Mar 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid