Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Cameras
scaleDown command
black out solved
Aircraft Tutorial
Mathematical XYZ ?
Its done This vs That
Its done first week
recommendations for screen video captures?
3DExplorer "Oddity "
New Director
ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Texturing
Big Break Contest Videos
New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Plasma?
Looking for Inspiration
Weird EMail Q
It 's done first week ?
Cherry not cranberry
New game
Camera Animation Problem
Particle plugins?
 
RT Shader writing problem

RT Shader writing problem

2004-06-23       - By André Adam

 Back
Reply:     1     2     3     4     5     6  

Hi!

One of our programmers encountered some problems while rewriting our
inhouse Realtime Shaders to match the new RTS2 structure. Perhaps
someone on the list can shed some light here?

   -Andr�

-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------

Hi,

we have a problem with the realtimeshaders.
How is the order of the elements in the "property page
parameters"-structure
defined?

First we thought the order must be the same as the order the parameters are
defined in the SPDL-File. But we encountered errors.
Then we had a look at the examples (again). And now we have no clue
how the order is defined.


Have a look at "OGLTexture.cpp" and "OGLT2D.spdl".
(Both can be found in XSI_4.0\XSISDK\examples\realtimeshader\OpenGL\src)

In "OGLTexture.cpp" you will find this structure the "in_pParams" will
be casted to.

typedef struct tagOGLT2DPPG
{
 LONG            enable;
 LONG            projection;
 LONG            modulation;
 LONG            refmap;
 LONG            wrapS;
 LONG            wrapT;
 LONG            magnification;
 LONG            minification;
 XSI_RTS_Texture    header;
} OGLT2DPPG;

But you won't find this kind of order in the SDPL-File.
The example compiles and works.

The SDK-Docs won't help either. Will you?


---
Unsubscribe? Mail Majordomo@(protected) with the following text in body:
unsubscribe xsi