Click here to Skip to main content
15,889,867 members
Home / Discussions / Graphics
   

Graphics

 
QuestionIDirectDrawSurface::IsLost() never returns Pin
Code-o-mat20-Oct-09 4:25
Code-o-mat20-Oct-09 4:25 
QuestionReading an image Pin
xoxoxoxoxoxox16-Oct-09 8:02
xoxoxoxoxoxox16-Oct-09 8:02 
AnswerRe: Reading an image Pin
ely_bob27-Oct-09 6:01
professionalely_bob27-Oct-09 6:01 
QuestionHow to convert bmp 32bpp image Pin
FrederikL616-Oct-09 2:24
FrederikL616-Oct-09 2:24 
AnswerRe: How to convert bmp 32bpp image Pin
enhzflep20-Oct-09 19:28
enhzflep20-Oct-09 19:28 
Questionbackground in OpenGL Pin
Ben_King14-Oct-09 22:43
Ben_King14-Oct-09 22:43 
AnswerRe: background in OpenGL Pin
Tim Craig15-Oct-09 8:46
Tim Craig15-Oct-09 8:46 
Questionhow to get a Condition force in Direct X Pin
Bruce Coa11-Oct-09 21:25
Bruce Coa11-Oct-09 21:25 
Hi,i wanna get a Condition force feedback ,such as Friction ,Spring etc.,but i don'tknow why i can not feel it.I set the structure DICONTION and DIEFFECT as following :

DWORD       dwAxes[1] = { DIJOFS_X } ;
LONG        lDirection[1] = { 1 } ;
DICONDITION diCondtion;
DIEFFECT    diEffect ;

diCondtion.dwNegativeSaturation=10000;
diCondtion.dwPositiveSaturation=10000;
diCondtion.lNegativeCoefficient=-10000;
diCondtion.lPositiveCoefficient=10000;
diCondtion.lOffset=0;
diCondtion.lDeadBand=2000;

diEffect.dwSize = sizeof(DIEFFECT) ;
diEffect.dwFlags = DIEFF_CARTESIAN | DIEFF_OBJECTOFFSETS ;
diEffect.dwDuration =  DI_SECONDS/10 ;
diEffect.dwSamplePeriod = 0 ;
diEffect.dwGain = DI_FFNOMINALMAX ;
diEffect.dwTriggerButton = DIEB_NOTRIGGER ;
diEffect.dwTriggerRepeatInterval = 0 ;
diEffect.cAxes = 1 ;
diEffect.rgdwAxes = dwAxes ;
diEffect.rglDirection = lDirection ;
diEffect.lpEnvelope = NULL ;
diEffect.cbTypeSpecificParams = sizeof(diCondtion) ;
diEffect.lpvTypeSpecificParams = &diCondtion ;


hr = g_lpDIDeviceJoystick->CreateEffect(GUID_Spring,&diEffect,
                                         &g_lpdi,NULL) ;

is any wrong with what i do ? If replace DICONDITION with DICONSTANTFORCE ,DIRAMPFORCE or DIPERIODIC ,accordingly i can get Constantforce ,RampForce ,PeriodicForce.but when it comes to DICONDITION
i can not get any force. who can tell me why ? any adivice is approciated ! oh ,i almost forget one thing !the joystick i used is MicroSoft sidewinder force feedback 2.
QuestionDewarping a fisheye image to rectilinear Pin
Shmulik286-Oct-09 3:36
Shmulik286-Oct-09 3:36 
AnswerRe: Dewarping a fisheye image to rectilinear Pin
Tim Craig6-Oct-09 11:43
Tim Craig6-Oct-09 11:43 
Generalhigh important request Pin
aboyaser2-Oct-09 4:05
aboyaser2-Oct-09 4:05 
GeneralRe: low important response Pin
Tim Craig2-Oct-09 18:07
Tim Craig2-Oct-09 18:07 
GeneralRe: low important response Pin
aboyaser3-Oct-09 23:27
aboyaser3-Oct-09 23:27 
GeneralRe: low important response Pin
Tim Craig4-Oct-09 8:03
Tim Craig4-Oct-09 8:03 
QuestionWM ASF Writer Audio Recording problem Pin
Subhash Madhukar30-Sep-09 16:03
Subhash Madhukar30-Sep-09 16:03 
Questionhow can load and transform (with annotations or equivalent ) an tiff file and save it again? with visual basic 2005 or C# Pin
xabalb29-Sep-09 5:52
xabalb29-Sep-09 5:52 
AnswerRe: how can load and transform (with annotations or equivalent ) an tiff file and save it again? with visual basic 2005 or C# Pin
Richard MacCutchan29-Sep-09 22:29
mveRichard MacCutchan29-Sep-09 22:29 
Questionimage processing Pin
rizwana rashid28-Sep-09 10:20
rizwana rashid28-Sep-09 10:20 
AnswerRe: image processing Pin
Henry Minute28-Sep-09 10:37
Henry Minute28-Sep-09 10:37 
AnswerRe: image processing Pin
Tim Craig29-Sep-09 18:32
Tim Craig29-Sep-09 18:32 
GeneralLink to download photoshop cs4 [modified] Pin
Mekong River30-Aug-09 17:12
Mekong River30-Aug-09 17:12 
QuestionDirectx pls Pin
nirishere30-Aug-09 11:55
nirishere30-Aug-09 11:55 
QuestionFinding a polygon that encloses a set of points Pin
gantww28-Aug-09 7:06
gantww28-Aug-09 7:06 
AnswerRe: Finding a polygon that encloses a set of points Pin
Luc Pattyn28-Aug-09 7:45
sitebuilderLuc Pattyn28-Aug-09 7:45 
Questionde-captcha project Pin Pin
Sepirothftw27-Aug-09 21:31
Sepirothftw27-Aug-09 21:31 

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.