Jump to content

  • Log In with Google      Sign In   
  • Create Account


Transforms, and Draw Primitive.


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
3 replies to this topic

#1 Esap1   Members   -  Reputation: 122

Like
Likes
Like

Posted 21 February 2000 - 04:47 PM

Are the points you send to DrawPrimitive Transformed when you send them to it?, also, does it light the vertices when you do the right SetRenderState, and is there D3DTLVERTEX, just if you want to do the Lighting and the Transformations yourself. Thanks alot, jus trying to get clear on the concept

Sponsor:

#2 Esap1   Members   -  Reputation: 122

Like
Likes
Like

Posted 21 February 2000 - 06:28 PM

PLEASE HELP!!

#3 mhkrause   Members   -  Reputation: 122

Like
Likes
Like

Posted 22 February 2000 - 02:01 AM

If you send untransformed vertices, they will be transformed within DrawPrimitive.

Lighting always occurs (even on lit vertices) unless the D3DRENDERSTATE_LIGHTING render state is set to FALSE.

You can find more information on this topic in the SDK help under Direct3D/Essentials/Vertex Formats and Direct3D/Essentials/Lighting and Materials/Enabling and Disabling the Lighting Engine.

#4 nes8bit   Members   -  Reputation: 275

Like
Likes
Like

Posted 22 February 2000 - 04:39 PM

When you send a D3DTLVERTEX or simmilar structure, they should be transformed already. They do not have to be transformed and do not have to be used for 3d. If you send a structure without lighting information then DX will light them by default. (Given that you did not set D3DRENDERSTATE_LIGHTING to false)




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS