Click here to Skip to main content
16,005,178 members
Home / Discussions / Graphics
   

Graphics

 
GeneralRe: Creating an Emboss/Bevelled effect for Circles and Rectangles Pin
Tim Craig8-Jun-09 19:09
Tim Craig8-Jun-09 19:09 
GeneralRe: Creating an Emboss/Bevelled effect for Circles and Rectangles Pin
Leslie Sanford8-Jun-09 19:52
Leslie Sanford8-Jun-09 19:52 
GeneralRe: Creating an Emboss/Bevelled effect for Circles and Rectangles Pin
Tim Craig9-Jun-09 15:05
Tim Craig9-Jun-09 15:05 
QuestionGLX rendering context problem Pin
sheeri manik2-Jun-09 15:08
sheeri manik2-Jun-09 15:08 
QuestionDxText for Offline VideoWatermarking Pin
anki12326-May-09 21:24
anki12326-May-09 21:24 
QuestionObject transform problem! Pin
Avion8525-May-09 13:30
Avion8525-May-09 13:30 
AnswerRe: Object transform problem! Pin
Baltoro4-Jun-09 7:44
Baltoro4-Jun-09 7:44 
Question3D Model seems to be all... 2Dish [Solved] Pin
Anthony Mushrow24-May-09 16:24
professionalAnthony Mushrow24-May-09 16:24 
It's quite late now, and I have no idea why when I try to render this model it comes out rather flat. Using DirectX 9. Here's a couple of pictures so you see what I mean:

http://img36.imageshack.us/img36/6811/yawnm.jpg[^]
http://img36.imageshack.us/img36/8588/ugho.jpg[^]

The model is read out of a .3ds file and then I create a static buffer out of it, problem is that it always comes out like this. If I swap the y and z co-ords around I get a nice top down view of the model but with the same 2 dimensional qualities.

I know the 3ds file is fine and I'm sure its something simple that I'm missing. I just can't see it.
I've made and rendered static buffers before, and I'm pretty sure I never had this problem.

You can guarantee that I'll kick myself when I find out what the problem is.


Well, as it turns out the vertex data I was sending over to create the buffer had an extra 4 bytes for each vertex. This somehow managed to have the effect of making all of the X values 0. I knew it would be something stupid.

My current favourite word is: Delicious!
-SK Genius

Game Programming articles start -here[^]-

modified on Monday, May 25, 2009 5:45 PM

AnswerRe: 3D Model seems to be all... 2Dish Pin
Tim Craig24-May-09 17:50
Tim Craig24-May-09 17:50 
QuestionDrawing a Sphere in 3D Pin
Avion8520-May-09 9:36
Avion8520-May-09 9:36 
AnswerRe: Drawing a Sphere in 3D Pin
Baltoro20-May-09 15:09
Baltoro20-May-09 15:09 
GeneralRe: Drawing a Sphere in 3D Pin
Avion8521-May-09 2:42
Avion8521-May-09 2:42 
GeneralRe: Drawing a Sphere in 3D Pin
Baltoro23-May-09 9:15
Baltoro23-May-09 9:15 
GeneralRe: Drawing a Sphere in 3D Pin
Avion8523-May-09 10:15
Avion8523-May-09 10:15 
GeneralRe: Drawing a Sphere in 3D Pin
Avion8524-May-09 13:14
Avion8524-May-09 13:14 
GeneralRe: Drawing a Sphere in 3D Pin
weightloss3-Jun-09 6:00
weightloss3-Jun-09 6:00 
GeneralRe: Drawing a Sphere in 3D Pin
Avion854-Jun-09 10:04
Avion854-Jun-09 10:04 
GeneralRe: Drawing a Sphere in 3D Pin
yoghurt14-Jun-09 22:27
yoghurt14-Jun-09 22:27 
GeneralRe: Drawing a Sphere in 3D Pin
Avion855-Jun-09 2:52
Avion855-Jun-09 2:52 
Questionhelp in building a color lookup table Pin
mesho17-May-09 23:41
mesho17-May-09 23:41 
AnswerRe: help in building a color lookup table Pin
Tim Craig18-May-09 18:27
Tim Craig18-May-09 18:27 
GeneralRe: help in building a color lookup table Pin
mesho19-May-09 12:23
mesho19-May-09 12:23 
GeneralRe: help in building a color lookup table Pin
Tim Craig19-May-09 12:51
Tim Craig19-May-09 12:51 
GeneralRe: help in building a color lookup table Pin
mesho20-May-09 14:00
mesho20-May-09 14:00 
GeneralRe: help in building a color lookup table Pin
Tim Craig20-May-09 14:44
Tim Craig20-May-09 14:44 

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.