Click here to Skip to main content
15,924,452 members
Home / Discussions / Graphics
   

Graphics

 
GeneralRe: Smart Tee Preview not working properly for MPEG1 Pin
Kuldeep Bhatnagar29-Jul-08 0:58
Kuldeep Bhatnagar29-Jul-08 0:58 
QuestionHELPP please. Pin
chasoknight23-Jul-08 23:34
chasoknight23-Jul-08 23:34 
AnswerRe: HELPP please. Pin
Tim Craig24-Jul-08 14:46
Tim Craig24-Jul-08 14:46 
GeneralRe: HELPP please. Pin
chasoknight24-Jul-08 15:00
chasoknight24-Jul-08 15:00 
GeneralRe: HELPP please. Pin
Tim Craig24-Jul-08 15:31
Tim Craig24-Jul-08 15:31 
AnswerRe: HELPP please. Pin
Mark Salsbery25-Jul-08 6:59
Mark Salsbery25-Jul-08 6:59 
AnswerRe: HELPP please. Pin
Paul Conrad26-Jul-08 18:06
professionalPaul Conrad26-Jul-08 18:06 
QuestionRay Tracing question Pin
Member 433828023-Jul-08 11:14
Member 433828023-Jul-08 11:14 
Hi there ,

I'm trying to develop a ray tracing software in c++ by the help of "Ray Tracing from ground up" book by Kevin Suffern.

Here is a sample of the program :

World::render_scene(void)  {
			RGBColor pixel_color;
			Ray ray;
			double zw = 100.0;
			double x,y;

			open_window(vp.hres,vp.vres);
			ray.d = Vector3D(0,0,-1);
  
                        for ( int r = 0;r< vp.vres;r++)
			  for (int c = 0;c<=vp.hres;c++){
			    x = vp.s * (c - 0.5 * (vp.hres - 1.0));
			    y = vp.s * (r - 0.5 * (vp.vres - 1.0));
                            ray.o = Point3D(x,y,zw) ;
                            pixel_color = tracer_ptr->trace_ray(ray);
			    display_pixel(r,c,pixel_color);
                        }
                        
}


My question is what to write inside open_window body and also display_pixel in order to create a window that contain an image .

Regards ,

Ahmad
QuestionWorking with 2D in DirectX using C# (Newest version as of 07/22/2008) ??? Pin
Thrash50522-Jul-08 16:00
Thrash50522-Jul-08 16:00 
AnswerRe: Working with 2D in DirectX using C# (Newest version as of 07/22/2008) ??? Pin
Thrash50523-Jul-08 20:26
Thrash50523-Jul-08 20:26 
GeneralRe: Working with 2D in DirectX using C# (Newest version as of 07/22/2008) ??? Pin
Thrash50525-Sep-08 11:56
Thrash50525-Sep-08 11:56 
QuestionBitmap from a Graphics object ? Pin
david davies21-Jul-08 2:06
david davies21-Jul-08 2:06 
AnswerRe: Bitmap from a Graphics object ? Pin
Luc Pattyn21-Jul-08 3:00
sitebuilderLuc Pattyn21-Jul-08 3:00 
QuestionDirectX installation. Pin
Ranger4919-Jul-08 17:22
Ranger4919-Jul-08 17:22 
AnswerRe: DirectX installation. Pin
Ranger4919-Jul-08 22:56
Ranger4919-Jul-08 22:56 
GeneralGraphics Help Plz -Urgent! [modified] Pin
Brady Kelly17-Jul-08 22:58
Brady Kelly17-Jul-08 22:58 
GeneralRe: Graphics Help Plz -Urgent! Pin
Graham Bradshaw17-Jul-08 23:02
Graham Bradshaw17-Jul-08 23:02 
GeneralRe: Graphics Help Plz -Urgent! Pin
Brady Kelly17-Jul-08 23:17
Brady Kelly17-Jul-08 23:17 
GeneralRe: Graphics Help Plz -Urgent! Pin
Simon P Stevens17-Jul-08 23:26
Simon P Stevens17-Jul-08 23:26 
GeneralRe: Graphics Help Plz -Urgent! Pin
peterchen17-Jul-08 23:40
peterchen17-Jul-08 23:40 
GeneralRe: Graphics Help Plz -Urgent! Pin
TommyTomToms18-Jul-08 0:07
TommyTomToms18-Jul-08 0:07 
QuestionMap Projection Pin
aadilali17-Jul-08 19:18
aadilali17-Jul-08 19:18 
AnswerRe: Map Projection Pin
El Corazon18-Jul-08 9:17
El Corazon18-Jul-08 9:17 
GeneralRe: Map Projection Pin
aadilali19-Jul-08 0:58
aadilali19-Jul-08 0:58 
GeneralRe: Map Projection Pin
El Corazon19-Jul-08 5:53
El Corazon19-Jul-08 5:53 

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.