Re: VertexDeclaration format into VS, dx9

Tech-Archive recommends: Fix windows errors by optimizing your registry



[Please do not mail me a copy of your followup]

"gd" <gedebook2009@xxxxxxxxx> spake the secret code
<D6052123-B1CF-45C0-9369-B5715B775D6A@xxxxxxxxxxxxx> thusly:

I see, what do you recommend? Which D3DDECL_TYPE I should use?

I think what people usually do is declare it as FLOAT1, but interpret
it as a float in the shader.
--
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
<http://legalizeadulthood.wordpress.com/the-direct3d-graphics-pipeline/>

Legalize Adulthood! <http://legalizeadulthood.wordpress.com>
.



Relevant Pages

  • Re: sound synthesis
    ... > the declarations and using short float helped, ... (defun mix (target-samples source-samples start sample-rate) ... (declare (float sample-rate seconds) ... (defun fm-gong (time freq) ...
    (comp.lang.lisp)
  • Re: Extending T-SQL with COM
    ... Using Excel for this is an extremely heavy weight way of performing what ... declare @rate float ... > GRANT EXECUTE ON dbo.sp_hexadecimal TO Public ...
    (microsoft.public.sqlserver.programming)
  • Re: fgets problem
    ... float f; ... Your array "f" is used only inside main, so there's no reason to ... declare it at file scope. ... can invoke undefined behavior in some cases. ...
    (comp.lang.c)
  • Re: Zip code radius search
    ... Here is an example showing the formula for the distance between two ... declare @lat1 as float ... declare @lat2 as float ...
    (microsoft.public.sqlserver.programming)
  • Re: Problem with OPENXML
    ... Use of included script samples are subject to the terms specified at ... EXEC sp_xml_preparedocument @idoc OUTPUT, @doc, '<gpx ... WITH (lat float, lon float, ele float) ... DECLARE @doc varchar ...
    (microsoft.public.sqlserver.xml)